MCPcopy Create free account

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

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

↓ 239 callersMethodclone
(&self)
consensus/src/units/mod.rs:108
↓ 196 callersMethodinto
Convert the underlying message. Cannot be done through a `From` implementation due to it overriding the blanked identity `From` implementation.
consensus/src/dissemination/mod.rs:55
↓ 97 callersMethoditer
Returns an iterator over all pending tasks.
consensus/src/task_queue.rs:83
↓ 80 callersMethodinsert
Insert a unit. If no other unit with this coord is in the store it becomes canonical.
consensus/src/units/store.rs:88
↓ 75 callersMethodget
(&self, hash: &HashFor<U>)
consensus/src/extension/units.rs:36
↓ 67 callersFunctionrandom_full_parent_units_up_to
( round: Round, n_members: NodeCount, session_id: SessionId, )
consensus/src/units/testing.rs:177
↓ 60 callersMethodcreator
(&self)
consensus/src/units/mod.rs:43
↓ 58 callersMethodround
(&self)
consensus/src/units/mod.rs:47
↓ 51 callersMethodas_signable
(&self)
crypto/src/signature.rs:104
↓ 50 callersMethodinto_unchecked
(self)
crypto/src/signature.rs:213
↓ 46 callersMethodclone
(&self)
crypto/src/signature.rs:184
↓ 44 callersMethodinto_iter
(self)
crypto/src/node.rs:136
↓ 44 callersMethodinto_iterator
(self)
crypto/src/node.rs:82
↓ 43 callersMethodlen
(&self)
crypto/src/node.rs:250
↓ 29 callersMethodhash
The hash of the unit.
consensus/src/dag/reconstruction/dag.rs:38
↓ 23 callersFunctionrandom_full_parent_reconstrusted_units_up_to
Constructs a DAG so that in each round (except round 0) it has all N parents, where N is number of nodes in the DAG
consensus/src/units/testing.rs:197
↓ 23 callersMethodremove
Remove a unit with a given hash. Notably if you remove a unit another might become canonical in its place in the future.
consensus/src/units/store.rs:109
↓ 21 callersMethodclone
(&self)
consensus/src/alerts/mod.rs:36
↓ 21 callersMethodmessage
The associated message.
consensus/src/dissemination/mod.rs:49
↓ 19 callersMethodcheck
Verifies whether the signature matches the key with the index as in the signed data.
crypto/src/signature.rs:131
↓ 19 callersMethodsend
(&self, data: NetworkData<H, D, S, MS>, recipient: Recipient)
consensus/src/network/hub.rs:48
↓ 18 callersMethoditer
(&self)
crypto/src/node.rs:122
↓ 16 callersMethodadd_unit
(&mut self, unit: &U)
consensus/src/creation/collector.rs:37
↓ 16 callersMethodis_empty
(&self)
crypto/src/node.rs:254
↓ 16 callersMethodprospective_parents
( &self, node_id: NodeIndex, )
consensus/src/creation/collector.rs:60
↓ 15 callersMethodadd_offspring_connection
Add a connection to an offspring component/task
consensus/src/terminator.rs:65
↓ 15 callersMethodconsensus_threshold
If this is the total node count, what number of nodes is required for secure consensus.
crypto/src/node.rs:87
↓ 14 callersMethodadd_unit
Add a unit to the Dag.
consensus/src/dag/mod.rs:120
↓ 13 callersMethodadd_unit
(&mut self, unit: ReconstructedUnit<U>)
consensus/src/dag/reconstruction/mod.rs:176
↓ 13 callersMethodcreate_unit
To create a new unit, we need to have at least the consensus threshold of parents available in previous round. Additionally, our unit from previous ro
consensus/src/creation/creator.rs:43
↓ 13 callersMethodinsert
(&mut self, node_id: NodeIndex, value: T)
crypto/src/node.rs:165
↓ 13 callersMethodnext_task
(&mut self)
rmc/src/scheduler.rs:105
↓ 13 callersMethodvalues
(&self)
crypto/src/node.rs:146
↓ 12 callersMethodhash
(&self)
consensus/src/collection/mod.rs:42
↓ 12 callersMethodincoming_message
(&mut self, message: TestMessage)
consensus/src/testing/alerts.rs:148
↓ 11 callersMethodfinish
(self, round: Round)
consensus/src/collection/service.rs:227
↓ 11 callersFunctiongen_delay_config
()
consensus/src/testing/mod.rs:34
↓ 11 callersMethodparents
Iterator over non-empty parents - returns [`UnitCoord`]s
consensus/src/units/control_hash.rs:86
↓ 11 callersMethodtrigger_tasks
Trigger all the ready tasks and get all the messages that should be sent now.
consensus/src/dissemination/task.rs:304
↓ 10 callersMethodadd_unit
Add a unit and start reconstructing its parents.
consensus/src/dag/reconstruction/parents.rs:144
↓ 10 callersMethoditer_mut
(&mut self)
crypto/src/node.rs:129
↓ 10 callersMethodparents
(&self)
consensus/src/dag/reconstruction/mod.rs:75
↓ 10 callersFunctionpreunit_to_full_unit
(preunit: PreUnit, session_id: SessionId)
consensus/src/units/testing.rs:69
↓ 10 callersMethodterminate_sync
Perform a synchronized shutdown
consensus/src/terminator.rs:79
↓ 9 callersMethodadd_signature
(mut self, signature: &Self::Signature, index: NodeIndex)
crypto/src/signature.rs:69
↓ 9 callersMethodadd_unit
(&mut self, unit: &U)
consensus/src/creation/creator.rs:57
↓ 9 callersMethodcount
(&self, sender: NodeIndex, recipient: NodeIndex)
consensus/src/testing/byzantine.rs:222
↓ 9 callersFunctionfull_unit
( n_members: NodeCount, node_id: NodeIndex, round: Round, variant: Option<u32>
consensus/src/alerts/handler.rs:295
↓ 9 callersMethodinto_partially_multisigned
Transform a singly signed object into a partially multisigned consisting of just the signed object. Note that depending on the setup, it may yield a c
crypto/src/signature.rs:228
↓ 9 callersFunctionmake_fork_proof
Fabricates proof of a fork by a particular node, given its private key.
consensus/src/alerts/handler.rs:313
↓ 9 callersMethodunchecked_signed
( &self, to_sign: T, signer: NodeIndex, )
consensus/src/testing/alerts.rs:90
↓ 8 callersMethodadd_units
(&mut self, units: &[U])
consensus/src/units/testing.rs:74
↓ 8 callersMethodalert
(&self, sender: NodeIndex, proof: TestForkProof)
consensus/src/testing/alerts.rs:144
↓ 8 callersMethodindexed_unchecked_signed
( &self, to_sign: T, signer: NodeIndex, )
consensus/src/testing/alerts.rs:98
↓ 8 callersMethodn_members
(&self)
consensus/src/units/mod.rs:73
↓ 8 callersMethodrun
(self, run_as: NodeIndex)
consensus/src/testing/alerts.rs:269
↓ 8 callersFunctionsetup
()
consensus/src/dissemination/responder.rs:135
↓ 8 callersFunctiontest_unchecked_unit
( creator: NodeIndex, round: Round, data: Data, )
consensus/src/network/mod.rs:59
↓ 8 callersMethodunpack
(self)
consensus/src/dag/reconstruction/mod.rs:69
↓ 8 callersMethodvalidate_unit
( &self, uu: UncheckedSignedUnit<H, D, K::Signature>, )
consensus/src/units/validator.rs:78
↓ 7 callersMethodadd_request
Add a request to be performed according to the appropriate schedule.
consensus/src/dissemination/task.rs:343
↓ 7 callersMethodadd_task
(&mut self, task: T)
rmc/src/scheduler.rs:101
↓ 7 callersMethodadd_unit
(&mut self, unit: DagUnit<UFH::Hasher, UFH::Data, MK>)
consensus/src/extension/mod.rs:32
↓ 7 callersMethodcanonical_units
All the canonical units for the given creator, in order of rounds.
consensus/src/units/store.rs:123
↓ 7 callersMethodcontrol_hash
(&self)
consensus/src/units/mod.rs:85
↓ 7 callersMethodcoord
(&self)
consensus/src/dag/reconstruction/mod.rs:53
↓ 7 callersFunctioncreate_responses
( presponses: R, request: DisseminationMessage<Hasher64, Data, Signature>, )
consensus/src/collection/service.rs:348
↓ 7 callersFunctioncreator_set
(n_members: NodeCount)
consensus/src/units/testing.rs:54
↓ 7 callersMethodfork_proof
(&self, forker: NodeIndex, round: Round)
consensus/src/testing/alerts.rs:129
↓ 7 callersMethodhandle_request
Handle an incoming request returning either the appropriate response or an error if we aren't able to help.
consensus/src/dissemination/responder.rs:92
↓ 7 callersMethodhash
(&self)
crypto/src/signature.rs:88
↓ 7 callersFunctionkeychain_set
(n_members: NodeCount)
consensus/src/collection/service.rs:340
↓ 7 callersMethodoutgoing_message
(&mut self, message: TestMessage, recipient: Recipient)
consensus/src/testing/alerts.rs:166
↓ 7 callersMethodprepare_request
Returns a request addressed to the appropriate nodes.
consensus/src/collection/service.rs:148
↓ 7 callersMethodprocess_forking_notification
Process a forking notification, potentially returning a lot of unit processing results.
consensus/src/dag/mod.rs:180
↓ 7 callersMethodsession_id
(&self)
consensus/src/units/mod.rs:214
↓ 7 callersMethodsize
(&self)
crypto/src/node.rs:118
↓ 7 callersMethodspawn_essential
( &self, _: &str, task: impl Future<Output = ()> + Send + 'static, )
mock/src/spawner.rs:13
↓ 7 callersMethodstart_rmc
Signs the given `hash` and adds the signature to the collection. If the given `hash` completes the multisignature, it is scheduled for the broadcasts
rmc/src/service.rs:54
↓ 7 callersMethodunit
The unit for the given hash, if present.
consensus/src/units/store.rs:132
↓ 6 callersMethodas_pre_unit
(&self)
consensus/src/units/mod.rs:128
↓ 6 callersMethodcanonical_unit
The canonical unit for the given coord if it exists.
consensus/src/units/store.rs:116
↓ 6 callersMethodcoord
(&self)
consensus/src/units/mod.rs:206
↓ 6 callersFunctioncreate_preunits
( creators: C, round: Round, )
consensus/src/units/testing.rs:60
↓ 6 callersMethodforker
Simplified forker check, should only be called for alerts that have already been checked to contain valid proofs.
consensus/src/alerts/mod.rs:78
↓ 6 callersMethodhash
(&self)
consensus/src/units/mod.rs:141
↓ 6 callersFunctionhonest_members_agree_on_batches
( n_members: NodeCount, n_alive: NodeCount, n_batches: usize, network_reliability: Option<f64>
consensus/src/testing/crash.rs:9
↓ 6 callersMethodincluded_data
(&self)
consensus/src/network/mod.rs:20
↓ 6 callersMethodindex
(&self)
consensus/src/units/validator.rs:74
↓ 6 callersFunctioninit_log
()
consensus/src/testing/mod.rs:27
↓ 6 callersMethodnode_count
(&self)
consensus/src/units/validator.rs:70
↓ 6 callersMethodoutgoing_notification
(&mut self, notification: TestNotification)
consensus/src/testing/alerts.rs:177
↓ 6 callersMethodschedule_in
Schedules `task` for execution after `delay`.
consensus/src/task_queue.rs:58
↓ 6 callersMethodspawn
(&self, _name: &str, task: impl Future<Output = ()> + Send + 'static)
mock/src/spawner.rs:9
↓ 6 callersFunctionspawn_honest_member
( spawner: Spawner, node_index: NodeIndex, n_members: NodeCount, units: Vec<u8>, data_prov
consensus/src/testing/mod.rs:66
↓ 5 callersMethodaccumulate
(&mut self, other: DagResult<H, D, MK>)
consensus/src/dag/mod.rs:56
↓ 5 callersMethodadd_hook
(&mut self, hook: HK)
mock/src/network.rs:158
↓ 5 callersMethodadd_unit
Add a unit to the Dag. Returns all the units that now have all their parents in the Dag, in an order agreeing with the Dag structure.
consensus/src/dag/reconstruction/dag.rs:92
↓ 5 callersFunctionapply_signatures_and_get_multisigned
( handler: &mut Handler<Signable, Keychain>, hash: &Signable, count: NodeCount,
rmc/src/handler.rs:157
↓ 5 callersFunctioncreate_config
Creates a [`Config`] which wraps the passed arguments. `time_to_reach_max_round` is a lower bound on the time needed to reach the maximum round expect
consensus/src/config.rs:119
next →1–100 of 770, ranked by callers