Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Fantom-foundation/lachesis-rs
/ functions
Functions
240 in github.com/Fantom-foundation/lachesis-rs
⨍
Functions
240
◇
Types & classes
66
↓ 1 callers
Method
is_round_received
( &self, unique_famous_witnesses: &HashSet<EventHash>, eh: &EventHash, )
lachesis-rs/src/swirlds.rs:516
↓ 1 callers
Method
is_self_parent
(&self, hash: &EventHash)
lachesis-rs/src/event.rs:69
↓ 1 callers
Method
is_undefined
(&self)
lachesis-rs/src/event.rs:113
↓ 1 callers
Method
is_valid
(&self, hash: &EventHash)
lachesis-rs/src/event.rs:218
↓ 1 callers
Method
max_round
(&self, hg: H)
lachesis-rs/src/event/parents.rs:14
↓ 1 callers
Method
maybe_add_new_round
(&self, round: usize)
lachesis-rs/src/swirlds.rs:507
↓ 1 callers
Method
maybe_add_witness_to_round
(&self, round: usize, eh: &EventHash)
lachesis-rs/src/swirlds.rs:484
↓ 1 callers
Method
maybe_create_new_frame
(&self, new_frame: Vec<EventHash>)
lachesis-rs/src/lachesis.rs:295
↓ 1 callers
Method
parent_list_to_flag_table
(&mut self, ps: &ParentsList)
lachesis-rs/src/lachesis/opera.rs:141
↓ 1 callers
Function
parse_peer
(input: String)
kvdb/src/main.rs:135
↓ 1 callers
Function
parse_peers
(input: String)
kvdb/src/main.rs:144
↓ 1 callers
Method
payload
(&self)
lachesis-rs/src/event.rs:98
↓ 1 callers
Method
root_selection
(&self)
lachesis-rs/src/lachesis.rs:95
↓ 1 callers
Method
select_peer
(&self, rng: &mut R)
lachesis-rs/src/swirlds.rs:955
↓ 1 callers
Method
select_peers
(&self, rng: &mut R)
lachesis-rs/src/lachesis.rs:62
↓ 1 callers
Method
set_can_see
(&mut self, can_see: HashMap<PeerId, EventHash>)
lachesis-rs/src/event.rs:123
↓ 1 callers
Method
set_clotho
(&self, root: &EventHash)
lachesis-rs/src/lachesis.rs:144
↓ 1 callers
Method
set_clotho_from_reslection
( &self, hash: &EventHash, root: &EventHash, previous_frame: usize, d:
lachesis-rs/src/lachesis.rs:185
↓ 1 callers
Method
set_clotho_time_from_event
(&self, root: &EventHash, frame: &mut Frame)
lachesis-rs/src/lachesis.rs:178
↓ 1 callers
Method
set_consensus_time
(&mut self, h: &EventHash, time: usize)
lachesis-rs/src/lachesis/opera.rs:124
↓ 1 callers
Method
set_event_can_see_self
(&self, hash: &EventHash)
lachesis-rs/src/swirlds.rs:779
↓ 1 callers
Method
set_events_parents_can_see
( &self, hash: &EventHash, events_parents_can_see: HashMap<Vec<u8>, EventHash>, )
lachesis-rs/src/swirlds.rs:853
↓ 1 callers
Method
set_lamport
(&mut self, lamport_timestamp: usize)
lachesis-rs/src/lachesis/opera.rs:159
↓ 1 callers
Method
set_received_information
( &self, hash: &EventHash, round: usize, unique_famous_witnesses: &HashSet<Eve
lachesis-rs/src/swirlds.rs:531
↓ 1 callers
Method
set_root
(&mut self, h: &EventHash)
lachesis-rs/src/lachesis/opera.rs:101
↓ 1 callers
Method
set_round_received
(&mut self, round_received: usize)
lachesis-rs/src/event.rs:64
↓ 1 callers
Method
set_super_majority
(&self, sm: usize)
lachesis-rs/src/swirlds.rs:464
↓ 1 callers
Method
signature
(&self)
lachesis-rs/src/event.rs:89
↓ 1 callers
Function
spawn_node
(node: &Arc<DummyNode>)
dummy/src/main.rs:25
↓ 1 callers
Method
sync
(&self, remote_head: EventHash, remote_hg: H)
lachesis-rs/src/swirlds.rs:271
↓ 1 callers
Method
sync
(&self, rng: &mut R)
lachesis-rs/src/lachesis.rs:72
↓ 1 callers
Method
unfamous_events
(&self)
lachesis-rs/src/lachesis/opera.rs:79
↓ 1 callers
Method
update_famous_events
(&self, famous_events: HashMap<EventHash, bool>)
lachesis-rs/src/swirlds.rs:448
↓ 1 callers
Method
update_order
(&self)
lachesis-rs/src/swirlds.rs:418
↓ 1 callers
Method
verify
( &self, event: &Event<P>, peer: &PeerId, )
lachesis-rs/src/event/event_signature.rs:22
↓ 1 callers
Method
witnesses_map
(&self)
lachesis-rs/src/round.rs:27
Method
add_peer
(&mut self, p: P)
lachesis-rs/src/lachesis.rs:57
Method
add_transaction
(&self, _msg: Vec<u8>)
lachesis-rs/src/lachesis.rs:341
Method
address
(&self)
dummy/src/dummy_node.rs:42
Method
address
(&self)
lachesis-rs/src/swirlds.rs:1102
Method
address
(&self)
lachesis-rs/src/tcp_server.rs:78
Method
beat
(&mut self, _context: &mut Context<Self>)
lachesis-rs/src/server/heartbeat.rs:12
Method
can_see
(&self, seer: &EventHash, seen: &EventHash)
lachesis-rs/src/lachesis/opera.rs:182
Function
check_transaction_status
( req: &HttpRequest<AppState>, )
lachesis-rs/src/server/http_handler.rs:74
Method
create_app
()
lachesis-rs/src/server.rs:25
Method
default
()
kvdb/src/main.rs:33
Function
deserialize_array
(deserializer: D)
lachesis-rs/src/event/event_signature.rs:43
Method
eq
(&self, other: &EventSignature)
lachesis-rs/src/event/event_signature.rs:72
Function
event_with_invalid_history_should_be_invalid_in_node
()
lachesis-rs/src/swirlds.rs:1190
Method
finished
(&mut self, ctx: &mut Context<Self>)
lachesis-rs/src/bin/ws_client.rs:97
Method
fmt
(&self, f: &mut fmt::Formatter)
lachesis-rs/src/swirlds.rs:59
Method
fmt
(&self, f: &mut fmt::Formatter)
lachesis-rs/src/errors.rs:23
Method
fmt
(&self, formatter: &mut fmt::Formatter)
lachesis-rs/src/event/event_signature.rs:63
Method
from
(_: PoisonError<T>)
lachesis-rs/src/errors.rs:158
Method
from
(v: HashgraphWire)
lachesis-rs/src/hashgraph.rs:42
Method
get_ordered_events
(&self)
lachesis-rs/src/lachesis.rs:345
Method
get_peer
(&self, id: &PeerId)
lachesis-rs/src/swirlds.rs:407
Function
get_peers
(_req: &HttpRequest<AppState>)
lachesis-rs/src/server/http_handler.rs:82
Method
get_sync
( &self, _pk: PeerId, _h: Option<&BTreeHashgraph>, )
dummy/src/dummy_node.rs:33
Method
get_sync
( &self, _pk: PeerId, _k: Option<&BTreeHashgraph>, )
lachesis-rs/src/tcp_server.rs:63
Method
handle
(&mut self, _msg: GetHeartbeatCount, _ctx: &mut Context<Self>)
lachesis-rs/src/server/heartbeat.rs:36
Method
handle
(&mut self, msg: ws::Message, ctx: &mut Self::Context)
lachesis-rs/src/server/ws_handler.rs:20
Method
handle
(&mut self, msg: InternodeMessage, _ctx: &mut Context<Self>)
lachesis-rs/src/bin/ws_client.rs:78
Function
heartbeat
(req: &HttpRequest<AppState>)
lachesis-rs/src/server/http_handler.rs:51
Method
id
(&self)
dummy/src/dummy_node.rs:45
Method
id
(&self)
lachesis-rs/src/tcp_server.rs:81
Method
init
( )
lachesis-rs/src/server.rs:46
Function
invalid_event_should_be_invalid_in_node
()
lachesis-rs/src/swirlds.rs:1177
Method
is_valid_event
(&self, event: &Event<ParentsPair>)
lachesis-rs/src/hashgraph.rs:176
Function
it_should_add_event_correctly
()
lachesis-rs/src/swirlds.rs:1129
Function
it_should_be_higher_if_has_more_ancestors
()
lachesis-rs/src/hashgraph.rs:635
Function
it_should_be_higher_if_its_child
()
lachesis-rs/src/hashgraph.rs:555
Function
it_should_calculate_super_majority_correctly
()
lachesis-rs/src/swirlds.rs:1111
Function
it_should_calculate_the_difference_of_two_hashgraphs
()
lachesis-rs/src/hashgraph.rs:367
Function
it_should_correctly_get_all_witnesses
()
lachesis-rs/src/round.rs:39
Function
it_should_create_a_head_with_head_and_remote_head_parents
()
lachesis-rs/src/swirlds.rs:1206
Function
it_should_create_a_new_head
()
lachesis-rs/src/swirlds.rs:1146
Function
it_should_error_when_verifying_wrong_event
()
lachesis-rs/src/event.rs:369
Function
it_should_fail_if_other_parent_isnt_in_the_graph
()
lachesis-rs/src/hashgraph.rs:347
Function
it_should_fail_if_other_parent_its_sent_by_same_node
()
lachesis-rs/src/hashgraph.rs:306
Function
it_should_fail_if_self_parent_creator_differs
()
lachesis-rs/src/hashgraph.rs:284
Function
it_should_fail_if_self_parent_isnt_in_the_graph
()
lachesis-rs/src/hashgraph.rs:327
Function
it_should_merge_the_hashgraph
()
lachesis-rs/src/swirlds.rs:1242
Function
it_should_not_be_higher_if_its_ancestor
()
lachesis-rs/src/hashgraph.rs:516
Function
it_should_return_ancestors
()
lachesis-rs/src/hashgraph.rs:473
Function
it_should_return_expected_events_that_parents_can_see
()
lachesis-rs/src/hashgraph.rs:596
Function
it_should_return_other_ancestors
()
lachesis-rs/src/hashgraph.rs:430
Function
it_should_return_self_ancestors
()
lachesis-rs/src/hashgraph.rs:387
Function
it_should_succeed_on_event_with_correct_parents
()
lachesis-rs/src/hashgraph.rs:263
Function
it_should_succeed_on_event_with_no_parents
()
lachesis-rs/src/hashgraph.rs:254
Function
it_should_succeed_when_verifying_correct_event
()
lachesis-rs/src/event.rs:337
Function
it_shouldnt_create_a_head
()
lachesis-rs/src/swirlds.rs:1228
Function
it_shouldnt_succeed_when_verifying_correct_event_with_wrong_hash
()
lachesis-rs/src/event.rs:352
Function
main
()
dummy/src/main.rs:56
Function
main
* Main lachesis-rs entrypoint. Starts HTTP server. */
lachesis-rs/src/bin/lachesis_server.rs:6
Function
main
* Main lachesis-rs TCP client entrypoint. Starts multiple TCP node peers. */
lachesis-rs/src/bin/lachesis_tcp.rs:13
Function
main
* Main lachesis-rs WebSocket client entrypoint. Starts client and connects to server. */
lachesis-rs/src/bin/ws_client.rs:16
Function
main
()
llvm-vm-backend/src/main.rs:5
Function
main
()
kvdb/src/main.rs:151
Method
ne
(&self, other: &EventSignature)
lachesis-rs/src/event/event_signature.rs:76
← previous
next →
101–200 of 240, ranked by callers