MCPcopy Create free account

hub / github.com/aleph-zero-foundation/AlephBFT / functions

Functions770 in github.com/aleph-zero-foundation/AlephBFT

↓ 2 callersMethodon_alert
(&mut self, forker: NodeIndex)
consensus/src/testing/dag.rs:160
↓ 2 callersMethodon_request
(&mut self, request: Request)
consensus/src/testing/dag.rs:101
↓ 2 callersMethodon_rmc_message
returns AlerterResponse::{AlertRequest, RmcMessage} or None (no error, can't fail)
consensus/src/alerts/handler.rs:224
↓ 2 callersMethodon_unit_received
( &mut self, unit: UncheckedSignedUnit<UFH::Hasher, UFH::Data, MK::Signature>, )
consensus/src/consensus/service.rs:107
↓ 2 callersMethodon_unit_received
(&mut self, su: SignedUnit<Hasher64, Data, Keychain>)
consensus/src/testing/byzantine.rs:141
↓ 2 callersMethodparent_hashes
(&self)
consensus/src/testing/dag.rs:55
↓ 2 callersFunctionparent_map
(parents: &Vec<U>)
consensus/src/units/testing.rs:138
↓ 2 callersMethodpre_validate
( &mut self, unit: UncheckedSignedUnit<H, D, MK::Signature>, store: &UnitStore<U>,
consensus/src/dag/validation.rs:108
↓ 2 callersFunctionpreunit_to_signed_unit
( pu: PreUnit, session_id: SessionId, keychain: &Keychain, )
consensus/src/units/testing.rs:85
↓ 2 callersFunctionpreunit_to_unchecked_signed_unit
( pu: PreUnit, session_id: SessionId, keychain: &Keychain, )
consensus/src/units/testing.rs:100
↓ 2 callersFunctionprocess_unit
Tries to process a single parent from given `incoming_parents` receiver. Returns error when `incoming_parents` channel is closed.
consensus/src/creation/mod.rs:60
↓ 2 callersMethodrandom_peers
(&self, n: usize)
consensus/src/dissemination/task.rs:205
↓ 2 callersMethodrecipients
All the recipients of this message.
consensus/src/dissemination/mod.rs:44
↓ 2 callersMethodreconstruct_parent
( self, parent_id: NodeIndex, parent_hash: HashFor<U>, parent_round: Round,
consensus/src/dag/reconstruction/parents.rs:40
↓ 2 callersMethodrmc_alert
Registers the RMC but does not actually send it; the returned hash must be passed to `start_rmc()` separately
consensus/src/alerts/handler.rs:161
↓ 2 callersFunctionroot_component
(mut terminator: Terminator, with_crash: bool)
consensus/src/terminator.rs:247
↓ 2 callersFunctionrun
A process responsible for creating new units. It receives all the units added locally to the Dag via the `incoming_parents` channel. It creates units
consensus/src/creation/mod.rs:111
↓ 2 callersFunctionrun_consensus_on_dag
( units: Vec<UnitWithParents>, forker_units: HashMap<NodeIndex, Vec<UnitWithParents>>, )
consensus/src/testing/dag.rs:232
↓ 2 callersMethodschedule
Schedules `task` for execution at `scheduled_time`.
consensus/src/task_queue.rs:63
↓ 2 callersMethodschedule_now
Schedules `task` for as soon as possible.
consensus/src/task_queue.rs:53
↓ 2 callersMethodsend
(&self, data: D, recipient: Recipient)
mock/src/network.rs:55
↓ 2 callersMethodsend_notification_for_units
( &mut self, notification: ForkingNotification<H, D, MK::Signature>, )
consensus/src/alerts/service.rs:73
↓ 2 callersMethodsend_to_peer
(&self, data: NetworkData, recipient: usize)
examples/ordering/src/network.rs:65
↓ 2 callersMethodstrip_index
(self)
crypto/src/signature.rs:163
↓ 2 callersMethodvalidate
Validate an incoming unit.
consensus/src/dag/validation.rs:122
↓ 2 callersMethodverify
(&self, msg: &[u8], sgn: &Self::Signature, index: NodeIndex)
crypto/src/signature.rs:468
↓ 2 callersMethodvote
(&mut self, voter: &U)
consensus/src/extension/election.rs:95
↓ 1 callersMethodadd_alert
(&mut self, alert: Alert<H, D, MK::Signature>)
consensus/src/dag/mod.rs:52
↓ 1 callersMethodadd_block
(&mut self, num: BlockNum)
examples/blockchain/src/data.rs:107
↓ 1 callersMethodadd_message
( &mut self, data: NetworkData, sender: NodeIndex, recipient: NodeIndex, )
consensus/src/testing/behind.rs:29
↓ 1 callersMethodadd_parents
Add an explicit list of parents to the reconstruction.
consensus/src/dag/reconstruction/mod.rs:229
↓ 1 callersMethodadd_parents
Add an explicit list of a units' parents, perhaps reconstructing it.
consensus/src/dag/reconstruction/parents.rs:200
↓ 1 callersMethodadd_pending_message
(&mut self, message: NetworkData, requirements: Vec<BlockNum>)
examples/blockchain/src/data.rs:57
↓ 1 callersMethodadd_request
(&mut self, request: Request<U::Hasher>)
consensus/src/dag/reconstruction/mod.rs:180
↓ 1 callersMethodadd_unit
Add a unit that should potentially be broadcast. Returns a message for immediate broadcast of own units.
consensus/src/dissemination/task.rs:357
↓ 1 callersMethodalert_confirmed
May return a `ForkingNotification`, which should be propagated
consensus/src/alerts/handler.rs:263
↓ 1 callersMethodas_signable_strip_index
(&self)
crypto/src/signature.rs:118
↓ 1 callersMethodbatch_finalized
(&mut self, batch: Vec<OrderedUnit<Self::Data, Self::Hasher>>)
consensus/src/testing/dag.rs:226
↓ 1 callersMethodbootstrap_multi
( &self, signature: &Self::Signature, index: NodeIndex, )
crypto/src/signature.rs:476
↓ 1 callersMethodcheck_if_parents_greater_than_previous_round
(&self, round: Round)
consensus/src/units/control_hash.rs:131
↓ 1 callersMethodcheck_multi
Verifies whether the multisignature matches the signed data.
crypto/src/signature.rs:151
↓ 1 callersMethodcombined_hash
(&self)
consensus/src/units/control_hash.rs:81
↓ 1 callersFunctioncommon_vote
(relative_round: Round)
consensus/src/extension/election.rs:9
↓ 1 callersMethodcomplement
(&self)
crypto/src/node.rs:244
↓ 1 callersMethodcompute_votes
(mut self, units: &Units<U>)
consensus/src/extension/election.rs:120
↓ 1 callersMethodconnect
(&self)
examples/blockchain/src/network.rs:62
↓ 1 callersMethodcontrol_hash
(&self)
consensus/src/units/testing.rs:37
↓ 1 callersMethodcoord_request_details
( &mut self, coord: UnitCoord, counter: usize, stored_units: &UnitStore<DagUni
consensus/src/dissemination/task.rs:212
↓ 1 callersFunctioncreate_backup
( node_id: NodeIndex, )
examples/ordering/src/main.rs:51
↓ 1 callersMethodcreate_if_possible
(&mut self, round: Round)
consensus/src/testing/byzantine.rs:109
↓ 1 callersFunctioncreate_unit
( round: Round, creator: &mut Creator<U::Hasher>, incoming_parents: &mut Receiver<U>, )
consensus/src/creation/mod.rs:42
↓ 1 callersMethoddata_finalized
(&mut self, data: Data)
mock/src/dataio.rs:87
↓ 1 callersFunctiondefault_config
Creates a [`Config`], allowing the user to omit specifying the `delay_config` in which case it will be set to default, suggested by the creators of th
consensus/src/config.rs:147
↓ 1 callersFunctiondefault_unit_creation_delay
5000, 500, 500, 500, ... (till step 3000), 500, 500*1.005, 500*(1.005)^2, 500*(1.005)^3, ..., 10742207 (last step)
consensus/src/config.rs:181
↓ 1 callersMethoddelete
(&mut self, node_id: NodeIndex)
crypto/src/node.rs:169
↓ 1 callersMethoddirect_parents
(&self)
consensus/src/dag/reconstruction/mod.rs:79
↓ 1 callersMethoddiv
(self, rhs: usize)
crypto/src/node.rs:69
↓ 1 callersMethodfeed
(mut self)
consensus/src/testing/dag.rs:184
↓ 1 callersMethodfinished_processing
Notify the dag that a unit has finished processing and can be cleared from the cache.
consensus/src/dag/mod.rs:212
↓ 1 callersFunctionfull_parents_to_map
( parents: Vec<<Hasher64 as Hasher>::Hash>, parent_round: Round, )
consensus/src/dag/reconstruction/dag.rs:127
↓ 1 callersMethodfull_unit
(&self, forker: NodeIndex, round: Round, variant: u32)
consensus/src/testing/alerts.rs:106
↓ 1 callersFunctiongenerate_random_dag
( n_members: NodeCount, height: Round, seed: u64, )
consensus/src/testing/dag.rs:247
↓ 1 callersFunctiongenerate_salt
()
consensus/src/collection/mod.rs:24
↓ 1 callersMethodget_data
(&mut self)
mock/src/dataio.rs:51
↓ 1 callersMethodget_or_initialize_collector_for_round
gets or initializes a unit collector for a given round (and all between if not there)
consensus/src/creation/creator.rs:29
↓ 1 callersMethodhash
(&self)
consensus/src/units/testing.rs:29
↓ 1 callersMethodincluded_data
(&self)
consensus/src/units/mod.rs:134
↓ 1 callersMethodindex
(&self)
mock/src/crypto/wrappers.rs:31
↓ 1 callersMethodindex
(&self)
mock/src/crypto/keychain.rs:26
↓ 1 callersMethodindex
(&self)
consensus/src/alerts/mod.rs:92
↓ 1 callersMethodindex
(&self)
consensus/src/dissemination/responder.rs:35
↓ 1 callersFunctioninitial_preunit
(n_members: NodeCount, node_id: NodeIndex)
consensus/src/units/testing.rs:108
↓ 1 callersFunctioninitial_unit_collection
( keychain: &'a MK, validator: &'a Validator<MK>, messages_for_network: Sender<UnitMessageTo<H, D,
consensus/src/collection/mod.rs:84
↓ 1 callersFunctioninternal_1
(mut terminator: Terminator, with_crash: bool)
consensus/src/terminator.rs:195
↓ 1 callersFunctioninternal_2
(mut terminator: Terminator, with_crash: bool)
consensus/src/terminator.rs:213
↓ 1 callersMethodinto_components
Disassemble the interface into components.
consensus/src/interface.rs:96
↓ 1 callersMethodis_forker
(&self, forker: NodeIndex)
consensus/src/alerts/handler.rs:98
↓ 1 callersMethodis_forker
(&self, node_id: NodeIndex)
consensus/src/dag/validation.rs:84
↓ 1 callersFunctionkeep_processing_units_until
( creator: &mut Creator<U::Hasher>, incoming_parents: &mut Receiver<U>, until: Delay, )
consensus/src/creation/mod.rs:81
↓ 1 callersMethodload
(&mut self)
consensus/src/backup/loader.rs:85
↓ 1 callersMethodmark_forker
( &mut self, forker: NodeIndex, store: &UnitStore<U>, )
consensus/src/dag/validation.rs:88
↓ 1 callersMethodmaybe_set_canonical
(&mut self, unit: &U)
consensus/src/units/store.rs:70
↓ 1 callersMethodmaybe_unset_canonical
(&mut self, unit: &U)
consensus/src/units/store.rs:94
↓ 1 callersMethodmessages_to_send
(&mut self)
consensus/src/testing/behind.rs:45
↓ 1 callersMethodmissing_parents
The set of still missing parents.
consensus/src/dag/reconstruction/dag.rs:43
↓ 1 callersMethodmissing_responders
(&self)
consensus/src/collection/service.rs:138
↓ 1 callersMethodmove_to_dag
(&mut self, unit: U)
consensus/src/dag/reconstruction/dag.rs:66
↓ 1 callersMethodmul
(self, rhs: usize)
crypto/src/node.rs:62
↓ 1 callersMethodnext_event
(&mut self)
rmc/src/service.rs:206
↓ 1 callersMethodnext_message
Obtain the next message scheduled for broadcast.
rmc/src/service.rs:112
↓ 1 callersMethodnext_tick
When should `trigger_tasks` be called next.
consensus/src/consensus/handler.rs:201
↓ 1 callersMethodnode_count
(&self)
consensus/src/dag/reconstruction/mod.rs:100
↓ 1 callersMethodnode_ix
(&self)
consensus/src/config.rs:80
↓ 1 callersMethodon_alert_request
( &self, node: NodeIndex, hash: H::Hash, )
consensus/src/alerts/handler.rs:247
↓ 1 callersMethodon_multisigned_hash
Update the internal state with the finished multisigned hash. If the hash is incorrectly signed then [`Error::BadMultisignature`] is returned. Otherwi
rmc/src/handler.rs:105
↓ 1 callersMethodon_new_forker_detected
(&mut self, forker: NodeIndex, proof: ForkProof<H, D, MK::Signature>)
consensus/src/alerts/handler.rs:102
↓ 1 callersMethodon_newest_response
Process a response to a newest unit request.
consensus/src/collection/service.rs:98
↓ 1 callersMethodon_own_alert
Registers RMCs and messages but does not actually send them; make sure the returned values are forwarded to IO
consensus/src/alerts/handler.rs:174
↓ 1 callersMethodon_request_coord
( &self, coord: UnitCoord, units: &UnitStore<DagUnit<H, D, MK>>, )
consensus/src/dissemination/responder.rs:39
↓ 1 callersMethodon_request_newest
( &self, requester: NodeIndex, salt: Salt, units: &UnitStore<DagUnit<H, D, MK>
consensus/src/dissemination/responder.rs:74
← previousnext →201–300 of 770, ranked by callers