Skip to content
1 viewer

rust 1,863,570 · typescript 235,774 · javascript 133,179 · python 20,426 · 6,416 files · digest 72c4f5c61f73 · built in 1.7 s · crystals off

crates/cre8-app-compute/src/crystal_gossip.rs

cre8-app-compute · module crystal_gossip · src · 338 lines (236 code, 67 comment) · sha 4819496813ea8d7c

Items

const MAX_GOSSIP_CRYSTALS const MAX_GOSSIP_PEERS const PEER_TIMEOUT_SECS struct CrystalAnnounce struct CrystalGossipReport impl CrystalGossipReport

Functions

By call-graph weight (PageRank; 1.0 is the average function). 16 functions in all.

functionkindlinescyclomaticcallerscalleesweightcrystal
announce_top_crystalssrc/crystal_gossip.rs:97fn293151.3
push_peer_urlsrc/crystal_gossip.rs:257fn104201.2
announce_crystals_to_peerssrc/crystal_gossip.rs:130fn245221.1
remote_crystal_hashsrc/crystal_gossip.rs:215fn153201.1
peer_already_has_crystalsrc/crystal_gossip.rs:195fn161141
push_crystal_syncsrc/crystal_gossip.rs:232fn122131
handle_crystal_gossipsrc/crystal_gossip.rs:269fn31110.9
top_crystal_hashessrc/crystal_gossip.rs:157fn81130.7
build_sync_messagesrc/crystal_gossip.rs:169fn71120.7
local_crystal_canonical_hashsrc/crystal_gossip.rs:177fn141130.7
enumerate_peer_urlssrc/crystal_gossip.rs:247fn93120.7
CrystalGossipReport::to_jsonsrc/crystal_gossip.rs:78method121000.5
push_peer_url_normalizes_dedupes_and_limitssrc/crystal_gossip.rs:280fn91010.5
remote_crystal_hash_parses_flat_and_enveloped_shapessrc/crystal_gossip.rs:291fn111010.5
announce_with_no_peers_or_items_is_a_quiet_noopsrc/crystal_gossip.rs:304fn171010.5
report_json_shape_is_stablesrc/crystal_gossip.rs:323fn151000.5

Source not readable from this process.