MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / node_count

Method node_count

nodedb-cluster/src/topology.rs:247–249  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

245 }
246
247 pub fn node_count(&self) -> usize {
248 self.nodes.len()
249 }
250
251 pub fn version(&self) -> u64 {
252 self.version

Callers 4

spawn_innerMethod · 0.45
topology_sizeMethod · 0.45
spawn_one_calvin_nodeFunction · 0.45

Calls 1

lenMethod · 0.45

Tested by 4

spawn_innerMethod · 0.36
topology_sizeMethod · 0.36
spawn_one_calvin_nodeFunction · 0.36