Skip to content
1 viewer

rust 1,859,748 · typescript 235,215 · javascript 132,950 · python 20,426 · 6,405 files · digest 9ba5c926519d · built in 1.7 s · crystals off

refresh_kbucket

cre8_app_peer::dht::refresh_kbucket

fn · cre8-app-peer · crates/cre8-app-peer/src/dht.rs:273 pub documented

43lines
7cyclomatic
1max nesting
25statements
5? exits
2params
2callers
6callees
0.9 (p76)call-graph weight

Crystal

no crystal was derived for this function

Call neighbourhood

Callers left, callees right, two hops each way (2 direct callers, 6 direct callees; the heaviest shown). Dashed edges are method calls resolved by name alone.

name · 1 sitename · 1 sitepath · 1 sitepath · 1 sitename · 1 sitename · 1 sitename · 1 sitepath · 1 sitepath · 1 sitemethod · 1 sitename · 1 sitepath · 3 sitesname · 1 sitepath · 1 sitemethod · 6 sitesmethod · 3 sitesname · 1 siteref · 1 sitename · 2 sitesconnectapp-peer · cc 6cre8_app_peer::connection::connectapply_dead_peer_pruneapp-peer · cc 3cre8_app_peer::gossip::apply_dead_peer_prunerefresh_dht_bucketsapp-peer · cc 5cre8_app_peer::gossip::refresh_dht_bucketspeer_dht_action_responseapp-peer · cc 6cre8_app_peer::connection::peer_dht_action_responserefresh_kbucketapp-peer · cc 7cre8_app_peer::dht::refresh_kbucketHyperDbProtocolStore::graphapp-protocol · cc 1cre8_app_protocol::store_adapter::HyperDbProtocolStore::graphwith_graph_mutapp-protocol · cc 9cre8_app_protocol::graph_store::with_graph_mutload_peersapp-peer · cc 1cre8_app_peer::store::load_peersxor_distanceapp-peer · cc 2cre8_app_peer::dht::xor_distancebucket_indexapp-peer · cc 3cre8_app_peer::dht::bucket_indexget_local_dht_idapp-peer · cc 1cre8_app_peer::dht::get_local_dht_idMutex::lock_or_recoverutil-lock-ext · cc 2cre8_util_lock_ext::Mutex::lock_or_recoverHoldingProtocolStore::enterapp-protocol · cc 1cre8_app_protocol::graph_store::HoldingProtocolStore::enteropen_protocol_graphapp-protocol · cc 1cre8_app_protocol::graph_store::open_protocol_graphambient_protocol_storeapp-protocol · cc 1cre8_app_protocol::graph_store::ambient::ambient_protocol_storelive_protocol_store_for_fal…app-protocol · cc 2cre8_app_protocol::graph_store::live_protocol_store_for_fallbackHyperDbProtocolStore::graph…app-protocol · cc 1cre8_app_protocol::store_adapter::HyperDbProtocolStore::graph_mutwith_truth_apiapp-peer · cc 1cre8_app_peer::store::with_truth_apiload_peersapp-peer-store · cc 2cre8_app_peer_store::load_peershex_to_32app-peer · cc 1cre8_app_peer::dht::hex_to_32

Control flow

Source not readable from this process.

Callers 2

Callees 6

Source not readable from this process.