MCPcopy Create free account

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

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

↓ 1 callersMethodon_request_parents
( &self, hash: H::Hash, units: &UnitStore<DagUnit<H, D, MK>>, )
consensus/src/dissemination/responder.rs:50
↓ 1 callersMethodon_start_rmc
Signs hash and updates the internal state with it. Returns the signed version of the hash for broadcast. Should be called at most once for a particula
rmc/src/handler.rs:50
↓ 1 callersMethodon_unit_reconstructed
(&mut self, unit: DagUnit<UFH::Hasher, UFH::Data, MK>)
consensus/src/consensus/service.rs:168
↓ 1 callersMethodpack
( &self, preunit: PreUnit<H>, data: Option<D>, )
consensus/src/creation/packer.rs:21
↓ 1 callersMethodparent_for
(&self, index: NodeIndex)
consensus/src/dag/reconstruction/mod.rs:96
↓ 1 callersMethodparent_votes
( &mut self, parents: Vec<HashFor<U>>, )
consensus/src/extension/election.rs:50
↓ 1 callersMethodpick_parents
(&self, round: Round)
consensus/src/testing/byzantine.rs:56
↓ 1 callersMethodpop_due_task
Returns `Some(task)` if `task` is the most overdue task, and `None` if there are no overdue tasks.
consensus/src/task_queue.rs:72
↓ 1 callersFunctionprepare_saver
()
consensus/src/backup/saver.rs:103
↓ 1 callersMethodprevious_round_have_enough_parents
(&self, round: Round)
consensus/src/units/control_hash.rs:141
↓ 1 callersMethodprocess_forking_notification
Process a forking notification.
consensus/src/consensus/handler.rs:178
↓ 1 callersMethodprocess_incoming_unit
Process a unit received (usually) from the network.
consensus/src/consensus/handler.rs:126
↓ 1 callersMethodprocess_message
Processes a message which can be of two types. If the message is a hash signed by one person, it adds it to the collective signature. If it completes
rmc/src/service.rs:76
↓ 1 callersMethodprocess_message
( &mut self, data: D, sender: NodeIndex, recipient: NodeIndex, )
mock/src/network.rs:103
↓ 1 callersMethodprocess_message
( &mut self, data: NetworkData, sender: NodeIndex, recipient: NodeIndex, )
consensus/src/testing/behind.rs:63
↓ 1 callersMethodprocess_newest_unit_request
Process a newest unit request.
consensus/src/consensus/handler.rs:164
↓ 1 callersMethodprocess_parents
Process a parents response.
consensus/src/consensus/handler.rs:150
↓ 1 callersMethodprocess_request
Process a request received from the network.
consensus/src/consensus/handler.rs:135
↓ 1 callersMethodprocessing_units
The store of units currently being processed by this dag.
consensus/src/dag/mod.rs:207
↓ 1 callersMethodpush_messages
(&mut self, num: BlockNum)
examples/blockchain/src/data.rs:87
↓ 1 callersFunctionrandom_initial_units
(n_members: NodeCount, session_id: SessionId)
consensus/src/units/testing.rs:116
↓ 1 callersFunctionreconnect_nodes
( spawner: &Spawner, n_members: NodeCount, killed: &HashMap<NodeIndex, (ReconnectSender, Vec<u8>)>
consensus/src/testing/crash_recovery.rs:100
↓ 1 callersMethodrequest_details
( &mut self, request: &Request<H>, counter: usize, stored_units: &UnitStore<Da
consensus/src/dissemination/task.rs:249
↓ 1 callersMethodreset_dns
(&mut self, n: &NodeIndex)
examples/blockchain/src/network.rs:174
↓ 1 callersMethodresolve_parent
If this was the last missing parent return the unit.
consensus/src/dag/reconstruction/dag.rs:22
↓ 1 callersMethodrun
(&mut self, mut terminator: Terminator)
examples/blockchain/src/network.rs:221
↓ 1 callersMethodrun
Run the initial unit collection until it sends the initial round.
consensus/src/collection/service.rs:252
↓ 1 callersMethodrun
(&mut self, mut terminator: Terminator)
consensus/src/backup/saver.rs:42
↓ 1 callersFunctionrun_blockchain
Runs a process that maintains a simple blockchain. The blocks are created every config.blocktime_ms milliseconds and the block authors are determined
examples/blockchain/src/chain.rs:100
↓ 1 callersFunctionrun_creator
( conf: Config, io: &mut IO<U, MK, DP>, keychain: MK, starting_round: Round, )
consensus/src/creation/mod.rs:159
↓ 1 callersMethodrun_session
(mut self, mut exit: oneshot::Receiver<()>)
consensus/src/testing/byzantine.rs:163
↓ 1 callersMethodsalt
The salt associated with this collection instance.
consensus/src/collection/service.rs:130
↓ 1 callersMethodsend
(&self, data: NetworkData, recipient: Recipient)
examples/ordering/src/network.rs:83
↓ 1 callersMethodsend
(&self, data: NetworkData, recipient: Recipient)
examples/blockchain/src/network.rs:84
↓ 1 callersMethodsend_legit_unit
(&mut self, su: SignedUnit<Hasher64, Data, Keychain>)
consensus/src/testing/byzantine.rs:83
↓ 1 callersMethodsend_request
(&self)
consensus/src/collection/service.rs:239
↓ 1 callersMethodsend_two_variants
( &mut self, su0: SignedUnit<Hasher64, Data, Keychain>, su1: SignedUnit<Hasher64, Data
consensus/src/testing/byzantine.rs:88
↓ 1 callersMethodsession_id
(&self)
consensus/src/units/testing.rs:41
↓ 1 callersFunctionshutdown
Kill all of the nodes in `node_data`.
consensus/src/testing/crash_recovery.rs:94
↓ 1 callersFunctionspawn_malicious_member
( spawner: Spawner, node_index: NodeIndex, n_members: NodeCount, round_to_fork: Round, net
consensus/src/testing/byzantine.rs:185
↓ 1 callersMethodstarting_round
(&self, round_from_collection: Round)
consensus/src/collection/service.rs:202
↓ 1 callersMethodstatus
The current status of the collection.
consensus/src/collection/service.rs:158
↓ 1 callersMethodtask_details
( &mut self, task: &RepeatableTask<H>, stored_units: &UnitStore<DagUnit<H, D, MK>>,
consensus/src/dissemination/task.rs:275
↓ 1 callersMethodthreshold
(&self)
consensus/src/collection/service.rs:134
↓ 1 callersMethodthreshold
(&self)
consensus/src/testing/byzantine.rs:52
↓ 1 callersFunctiontime_to_reach_round
(round: Round, delay_schedule: &DelaySchedule)
consensus/src/config.rs:204
↓ 1 callersMethodto_subset
(&self)
crypto/src/node.rs:173
↓ 1 callersMethodtop_round_for
The highest known round for the given creator.
consensus/src/units/store.rs:137
↓ 1 callersMethodtrigger_tasks
Trigger all the ready tasks and get all the messages that should be sent now.
consensus/src/consensus/handler.rs:206
↓ 1 callersMethodtry_receive
Receives the next unit finalized by this node if one is ready and appends it to `batches`. Returns `Some(batch)` if a unit is ready, otherwise `None`.
consensus/src/testing/crash_recovery.rs:32
↓ 1 callersMethodtry_send_to_peer
(&self, data: NetworkData, recipient: usize)
examples/ordering/src/network.rs:71
↓ 1 callersMethodunexpected_message
(&mut self, message: TestMessage, recipient: Recipient)
consensus/src/testing/alerts.rs:188
↓ 1 callersMethodunit_creator_is_descendant_of_previous_unit
( &self, unit_coord: UnitCoord, )
consensus/src/units/control_hash.rs:152
↓ 1 callersFunctionunits_of_creator
( units: Vec<Vec<UncheckedSignedUnit>>, creator: NodeIndex, )
consensus/src/backup/loader.rs:196
↓ 1 callersMethodunpack
(self)
consensus/src/units/testing.rs:49
↓ 1 callersMethodvalidate
(&self, unit_coord: UnitCoord)
consensus/src/units/control_hash.rs:97
↓ 1 callersMethodvalidate_committed
Validate a committed unit, it has to be from a forker.
consensus/src/dag/validation.rs:151
↓ 1 callersMethodvalidate_initial_round
(&self)
consensus/src/units/control_hash.rs:104
↓ 1 callersMethodvalidate_non_initial_round
(&self, unit_coord: UnitCoord)
consensus/src/units/control_hash.rs:121
↓ 1 callersMethodvalidate_unit_parents
( &self, su: SignedUnit<H, D, K>, )
consensus/src/units/validator.rs:95
↓ 1 callersMethodverify
(&self, msg: &[u8], sgn: &Self::Signature, index: NodeIndex)
mock/src/crypto/keychain.rs:42
↓ 1 callersMethodverify_commitment
Correctness rules: 1) All units must be created by forker 2) All units must come from different rounds 3) There must be fewer of them than the maximum
consensus/src/alerts/handler.rs:113
↓ 1 callersMethodverify_fork
(&self, alert: &Alert<H, D, MK::Signature>)
consensus/src/alerts/handler.rs:132
↓ 1 callersMethodverify_units
(&self, units: &Vec<UncheckedSignedUnit<H, D, S>>)
consensus/src/backup/loader.rs:96
↓ 1 callersMethodvote_from_parents
( &mut self, parents: Vec<HashFor<U>>, threshold: NodeCount, relative_round: R
consensus/src/extension/election.rs:64
↓ 1 callersMethodwith_parents
( self, parents: HashMap<UnitCoord, HashFor<U>>, )
consensus/src/dag/reconstruction/parents.rs:77
Functionaccepts_committed
()
consensus/src/dag/validation.rs:389
Functionaccepts_committed
()
consensus/src/dag/mod.rs:454
Functionaccepts_initial_units
()
consensus/src/dag/mod.rs:235
Functionaccepts_unit
()
consensus/src/extension/units.rs:99
Functionaccepts_units_in_order
()
consensus/src/dag/mod.rs:269
Functionaccepts_units_in_reverse_order
()
consensus/src/dag/mod.rs:303
Methodadd_message
(&mut self, message: NetworkData)
examples/blockchain/src/data.rs:72
Methodaddressed_to
Message with the single specified recipient.
consensus/src/dissemination/mod.rs:34
Methodalert
(alert: Alert<H, D, MK::Signature>)
consensus/src/dag/mod.rs:44
Functionalert_confirmed_bad_commitment
()
consensus/src/alerts/handler.rs:639
Functionalert_confirmed_correct
()
consensus/src/alerts/handler.rs:644
Functionalert_confirmed_out_of_the_blue
()
consensus/src/alerts/handler.rs:634
Functionalerts_on_fork
()
consensus/src/dag/mod.rs:355
Functionasking_empty_scheduler_for_next_task_blocks
()
rmc/src/scheduler.rs:201
Functionasks_about_unknown_alert
()
consensus/src/alerts/handler.rs:367
Functionasks_about_unknown_alert
()
consensus/src/testing/alerts.rs:344
Methodat
(instant: Instant, i: usize)
rmc/src/scheduler.rs:41
Functionbackup_with_corrupted_encoding_fails
()
consensus/src/backup/loader.rs:234
Functionbackup_with_missing_parent_fails
()
consensus/src/backup/loader.rs:250
Functionbackup_with_units_of_one_creator_fails
()
consensus/src/backup/loader.rs:264
Functionbackup_with_wrong_session_fails
()
consensus/src/backup/loader.rs:277
Functionbad_signatures_and_multisignatures_are_ignored
()
rmc/src/service.rs:317
Methodbatch_finalized
(&mut self, batch: Vec<OrderedUnit<Self::Data, Self::Hasher>>)
consensus/src/interface.rs:28
Functionbatch_order_constant_with_different_insertion_order
()
consensus/src/extension/units.rs:141
Methodbind_socket
(address: SocketAddr)
examples/ordering/src/network.rs:50
Functionbool_node_map_decoding_deals_with_too_long_bitvec
()
crypto/src/node.rs:353
Functionbool_node_map_decoding_deals_with_trailing_zeros
()
crypto/src/node.rs:339
Functionbool_node_map_decoding_works
()
crypto/src/node.rs:321
Methodbootstrap_multi
( &self, signature: &Self::Signature, index: NodeIndex, )
mock/src/crypto/wrappers.rs:58
Methodbootstrap_multi
( &self, signature: &Self::Signature, index: NodeIndex, )
mock/src/crypto/keychain.rs:50
Methodbroadcast
Message that should be broadcast.
consensus/src/dissemination/mod.rs:39
Functionbroadcasts_other_unit
()
consensus/src/dissemination/task.rs:464
Functionbroadcasts_own_unit
()
consensus/src/dissemination/task.rs:417
Functioncannot_create_unit_below_parents_threshold_4
()
consensus/src/creation/creator.rs:165
← previousnext →301–400 of 770, ranked by callers