MCPcopy Create free account
hub / github.com/ChainSafe/Delorean-Protocol / num_routable

Method num_routable

ipld/resolver/src/provider_cache.rs:83–85  ·  view source on GitHub ↗

Number of routable peers.

(&mut self)

Source from the content-addressed store, hash-verified

81
82 /// Number of routable peers.
83 pub fn num_routable(&mut self) -> usize {
84 self.routable_peers.len()
85 }
86
87 /// Check if a peer has been marked as routable.
88 pub fn is_routable(&self, peer_id: &PeerId) -> bool {

Callers 1

set_routableMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected