Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
handle_join_request_idempotent_no_mutation
Function · 0.45
spawn_inner
Method · 0.45
topology_size
Method · 0.45
spawn_one_calvin_node
Function · 0.45
Calls
1
len
Method · 0.45
Tested by
4
handle_join_request_idempotent_no_mutation
Function · 0.36
spawn_inner
Method · 0.36
topology_size
Method · 0.36
spawn_one_calvin_node
Function · 0.36