MCPcopy Create free account

hub / github.com/Fantom-foundation/lachesis-rs / functions

Functions240 in github.com/Fantom-foundation/lachesis-rs

↓ 1 callersMethodis_round_received
( &self, unique_famous_witnesses: &HashSet<EventHash>, eh: &EventHash, )
lachesis-rs/src/swirlds.rs:516
↓ 1 callersMethodis_self_parent
(&self, hash: &EventHash)
lachesis-rs/src/event.rs:69
↓ 1 callersMethodis_undefined
(&self)
lachesis-rs/src/event.rs:113
↓ 1 callersMethodis_valid
(&self, hash: &EventHash)
lachesis-rs/src/event.rs:218
↓ 1 callersMethodmax_round
(&self, hg: H)
lachesis-rs/src/event/parents.rs:14
↓ 1 callersMethodmaybe_add_new_round
(&self, round: usize)
lachesis-rs/src/swirlds.rs:507
↓ 1 callersMethodmaybe_add_witness_to_round
(&self, round: usize, eh: &EventHash)
lachesis-rs/src/swirlds.rs:484
↓ 1 callersMethodmaybe_create_new_frame
(&self, new_frame: Vec<EventHash>)
lachesis-rs/src/lachesis.rs:295
↓ 1 callersMethodparent_list_to_flag_table
(&mut self, ps: &ParentsList)
lachesis-rs/src/lachesis/opera.rs:141
↓ 1 callersFunctionparse_peer
(input: String)
kvdb/src/main.rs:135
↓ 1 callersFunctionparse_peers
(input: String)
kvdb/src/main.rs:144
↓ 1 callersMethodpayload
(&self)
lachesis-rs/src/event.rs:98
↓ 1 callersMethodroot_selection
(&self)
lachesis-rs/src/lachesis.rs:95
↓ 1 callersMethodselect_peer
(&self, rng: &mut R)
lachesis-rs/src/swirlds.rs:955
↓ 1 callersMethodselect_peers
(&self, rng: &mut R)
lachesis-rs/src/lachesis.rs:62
↓ 1 callersMethodset_can_see
(&mut self, can_see: HashMap<PeerId, EventHash>)
lachesis-rs/src/event.rs:123
↓ 1 callersMethodset_clotho
(&self, root: &EventHash)
lachesis-rs/src/lachesis.rs:144
↓ 1 callersMethodset_clotho_from_reslection
( &self, hash: &EventHash, root: &EventHash, previous_frame: usize, d:
lachesis-rs/src/lachesis.rs:185
↓ 1 callersMethodset_clotho_time_from_event
(&self, root: &EventHash, frame: &mut Frame)
lachesis-rs/src/lachesis.rs:178
↓ 1 callersMethodset_consensus_time
(&mut self, h: &EventHash, time: usize)
lachesis-rs/src/lachesis/opera.rs:124
↓ 1 callersMethodset_event_can_see_self
(&self, hash: &EventHash)
lachesis-rs/src/swirlds.rs:779
↓ 1 callersMethodset_events_parents_can_see
( &self, hash: &EventHash, events_parents_can_see: HashMap<Vec<u8>, EventHash>, )
lachesis-rs/src/swirlds.rs:853
↓ 1 callersMethodset_lamport
(&mut self, lamport_timestamp: usize)
lachesis-rs/src/lachesis/opera.rs:159
↓ 1 callersMethodset_received_information
( &self, hash: &EventHash, round: usize, unique_famous_witnesses: &HashSet<Eve
lachesis-rs/src/swirlds.rs:531
↓ 1 callersMethodset_root
(&mut self, h: &EventHash)
lachesis-rs/src/lachesis/opera.rs:101
↓ 1 callersMethodset_round_received
(&mut self, round_received: usize)
lachesis-rs/src/event.rs:64
↓ 1 callersMethodset_super_majority
(&self, sm: usize)
lachesis-rs/src/swirlds.rs:464
↓ 1 callersMethodsignature
(&self)
lachesis-rs/src/event.rs:89
↓ 1 callersFunctionspawn_node
(node: &Arc<DummyNode>)
dummy/src/main.rs:25
↓ 1 callersMethodsync
(&self, remote_head: EventHash, remote_hg: H)
lachesis-rs/src/swirlds.rs:271
↓ 1 callersMethodsync
(&self, rng: &mut R)
lachesis-rs/src/lachesis.rs:72
↓ 1 callersMethodunfamous_events
(&self)
lachesis-rs/src/lachesis/opera.rs:79
↓ 1 callersMethodupdate_famous_events
(&self, famous_events: HashMap<EventHash, bool>)
lachesis-rs/src/swirlds.rs:448
↓ 1 callersMethodupdate_order
(&self)
lachesis-rs/src/swirlds.rs:418
↓ 1 callersMethodverify
( &self, event: &Event<P>, peer: &PeerId, )
lachesis-rs/src/event/event_signature.rs:22
↓ 1 callersMethodwitnesses_map
(&self)
lachesis-rs/src/round.rs:27
Methodadd_peer
(&mut self, p: P)
lachesis-rs/src/lachesis.rs:57
Methodadd_transaction
(&self, _msg: Vec<u8>)
lachesis-rs/src/lachesis.rs:341
Methodaddress
(&self)
dummy/src/dummy_node.rs:42
Methodaddress
(&self)
lachesis-rs/src/swirlds.rs:1102
Methodaddress
(&self)
lachesis-rs/src/tcp_server.rs:78
Methodbeat
(&mut self, _context: &mut Context<Self>)
lachesis-rs/src/server/heartbeat.rs:12
Methodcan_see
(&self, seer: &EventHash, seen: &EventHash)
lachesis-rs/src/lachesis/opera.rs:182
Functioncheck_transaction_status
( req: &HttpRequest<AppState>, )
lachesis-rs/src/server/http_handler.rs:74
Methodcreate_app
()
lachesis-rs/src/server.rs:25
Methoddefault
()
kvdb/src/main.rs:33
Functiondeserialize_array
(deserializer: D)
lachesis-rs/src/event/event_signature.rs:43
Methodeq
(&self, other: &EventSignature)
lachesis-rs/src/event/event_signature.rs:72
Functionevent_with_invalid_history_should_be_invalid_in_node
()
lachesis-rs/src/swirlds.rs:1190
Methodfinished
(&mut self, ctx: &mut Context<Self>)
lachesis-rs/src/bin/ws_client.rs:97
Methodfmt
(&self, f: &mut fmt::Formatter)
lachesis-rs/src/swirlds.rs:59
Methodfmt
(&self, f: &mut fmt::Formatter)
lachesis-rs/src/errors.rs:23
Methodfmt
(&self, formatter: &mut fmt::Formatter)
lachesis-rs/src/event/event_signature.rs:63
Methodfrom
(_: PoisonError<T>)
lachesis-rs/src/errors.rs:158
Methodfrom
(v: HashgraphWire)
lachesis-rs/src/hashgraph.rs:42
Methodget_ordered_events
(&self)
lachesis-rs/src/lachesis.rs:345
Methodget_peer
(&self, id: &PeerId)
lachesis-rs/src/swirlds.rs:407
Functionget_peers
(_req: &HttpRequest<AppState>)
lachesis-rs/src/server/http_handler.rs:82
Methodget_sync
( &self, _pk: PeerId, _h: Option<&BTreeHashgraph>, )
dummy/src/dummy_node.rs:33
Methodget_sync
( &self, _pk: PeerId, _k: Option<&BTreeHashgraph>, )
lachesis-rs/src/tcp_server.rs:63
Methodhandle
(&mut self, _msg: GetHeartbeatCount, _ctx: &mut Context<Self>)
lachesis-rs/src/server/heartbeat.rs:36
Methodhandle
(&mut self, msg: ws::Message, ctx: &mut Self::Context)
lachesis-rs/src/server/ws_handler.rs:20
Methodhandle
(&mut self, msg: InternodeMessage, _ctx: &mut Context<Self>)
lachesis-rs/src/bin/ws_client.rs:78
Functionheartbeat
(req: &HttpRequest<AppState>)
lachesis-rs/src/server/http_handler.rs:51
Methodid
(&self)
dummy/src/dummy_node.rs:45
Methodid
(&self)
lachesis-rs/src/tcp_server.rs:81
Methodinit
( )
lachesis-rs/src/server.rs:46
Functioninvalid_event_should_be_invalid_in_node
()
lachesis-rs/src/swirlds.rs:1177
Methodis_valid_event
(&self, event: &Event<ParentsPair>)
lachesis-rs/src/hashgraph.rs:176
Functionit_should_add_event_correctly
()
lachesis-rs/src/swirlds.rs:1129
Functionit_should_be_higher_if_has_more_ancestors
()
lachesis-rs/src/hashgraph.rs:635
Functionit_should_be_higher_if_its_child
()
lachesis-rs/src/hashgraph.rs:555
Functionit_should_calculate_super_majority_correctly
()
lachesis-rs/src/swirlds.rs:1111
Functionit_should_calculate_the_difference_of_two_hashgraphs
()
lachesis-rs/src/hashgraph.rs:367
Functionit_should_correctly_get_all_witnesses
()
lachesis-rs/src/round.rs:39
Functionit_should_create_a_head_with_head_and_remote_head_parents
()
lachesis-rs/src/swirlds.rs:1206
Functionit_should_create_a_new_head
()
lachesis-rs/src/swirlds.rs:1146
Functionit_should_error_when_verifying_wrong_event
()
lachesis-rs/src/event.rs:369
Functionit_should_fail_if_other_parent_isnt_in_the_graph
()
lachesis-rs/src/hashgraph.rs:347
Functionit_should_fail_if_other_parent_its_sent_by_same_node
()
lachesis-rs/src/hashgraph.rs:306
Functionit_should_fail_if_self_parent_creator_differs
()
lachesis-rs/src/hashgraph.rs:284
Functionit_should_fail_if_self_parent_isnt_in_the_graph
()
lachesis-rs/src/hashgraph.rs:327
Functionit_should_merge_the_hashgraph
()
lachesis-rs/src/swirlds.rs:1242
Functionit_should_not_be_higher_if_its_ancestor
()
lachesis-rs/src/hashgraph.rs:516
Functionit_should_return_ancestors
()
lachesis-rs/src/hashgraph.rs:473
Functionit_should_return_expected_events_that_parents_can_see
()
lachesis-rs/src/hashgraph.rs:596
Functionit_should_return_other_ancestors
()
lachesis-rs/src/hashgraph.rs:430
Functionit_should_return_self_ancestors
()
lachesis-rs/src/hashgraph.rs:387
Functionit_should_succeed_on_event_with_correct_parents
()
lachesis-rs/src/hashgraph.rs:263
Functionit_should_succeed_on_event_with_no_parents
()
lachesis-rs/src/hashgraph.rs:254
Functionit_should_succeed_when_verifying_correct_event
()
lachesis-rs/src/event.rs:337
Functionit_shouldnt_create_a_head
()
lachesis-rs/src/swirlds.rs:1228
Functionit_shouldnt_succeed_when_verifying_correct_event_with_wrong_hash
()
lachesis-rs/src/event.rs:352
Functionmain
()
dummy/src/main.rs:56
Functionmain
* Main lachesis-rs entrypoint. Starts HTTP server. */
lachesis-rs/src/bin/lachesis_server.rs:6
Functionmain
* Main lachesis-rs TCP client entrypoint. Starts multiple TCP node peers. */
lachesis-rs/src/bin/lachesis_tcp.rs:13
Functionmain
* Main lachesis-rs WebSocket client entrypoint. Starts client and connects to server. */
lachesis-rs/src/bin/ws_client.rs:16
Functionmain
()
llvm-vm-backend/src/main.rs:5
Functionmain
()
kvdb/src/main.rs:151
Methodne
(&self, other: &EventSignature)
lachesis-rs/src/event/event_signature.rs:76
← previousnext →101–200 of 240, ranked by callers