Skip to main content

kademlia_stats_subtree

Function kademlia_stats_subtree 

Source
pub fn kademlia_stats_subtree(kademlia: &Kademlia<Id, Peer>) -> Value
Expand description

Build the kademlia subtree. v1 reports the total peer count across all buckets — cheap (one walk of the bucket vector) and useful enough to spot a node that has fallen off the DHT.