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
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.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| announce_top_crystalssrc/crystal_gossip.rs:97 | fn | 29 | 3 | 1 | 5 | 1.3 | |
| push_peer_urlsrc/crystal_gossip.rs:257 | fn | 10 | 4 | 2 | 0 | 1.2 | |
| announce_crystals_to_peerssrc/crystal_gossip.rs:130 | fn | 24 | 5 | 2 | 2 | 1.1 | |
| remote_crystal_hashsrc/crystal_gossip.rs:215 | fn | 15 | 3 | 2 | 0 | 1.1 | |
| peer_already_has_crystalsrc/crystal_gossip.rs:195 | fn | 16 | 1 | 1 | 4 | 1 | |
| push_crystal_syncsrc/crystal_gossip.rs:232 | fn | 12 | 2 | 1 | 3 | 1 | |
| handle_crystal_gossipsrc/crystal_gossip.rs:269 | fn | 3 | 1 | 1 | 1 | 0.9 | |
| top_crystal_hashessrc/crystal_gossip.rs:157 | fn | 8 | 1 | 1 | 3 | 0.7 | |
| build_sync_messagesrc/crystal_gossip.rs:169 | fn | 7 | 1 | 1 | 2 | 0.7 | |
| local_crystal_canonical_hashsrc/crystal_gossip.rs:177 | fn | 14 | 1 | 1 | 3 | 0.7 | |
| enumerate_peer_urlssrc/crystal_gossip.rs:247 | fn | 9 | 3 | 1 | 2 | 0.7 | |
| CrystalGossipReport::to_jsonsrc/crystal_gossip.rs:78 | method | 12 | 1 | 0 | 0 | 0.5 | |
| push_peer_url_normalizes_dedupes_and_limitssrc/crystal_gossip.rs:280 | fn | 9 | 1 | 0 | 1 | 0.5 | |
| remote_crystal_hash_parses_flat_and_enveloped_shapessrc/crystal_gossip.rs:291 | fn | 11 | 1 | 0 | 1 | 0.5 | |
| announce_with_no_peers_or_items_is_a_quiet_noopsrc/crystal_gossip.rs:304 | fn | 17 | 1 | 0 | 1 | 0.5 | |
| report_json_shape_is_stablesrc/crystal_gossip.rs:323 | fn | 15 | 1 | 0 | 0 | 0.5 |
Source not readable from this process.