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

Method to_joining

nodedb-cluster/src/lifecycle_state.rs:147–150  ·  view source on GitHub ↗
(&self, attempt: u32)

Source from the content-addressed store, hash-verified

145 }
146
147 pub fn to_joining(&self, attempt: u32) {
148 let detail = format!("joining cluster (attempt {attempt})");
149 self.transition(ClusterLifecycleState::Joining { attempt }, &detail);
150 }
151
152 pub fn to_ready(&self, nodes: usize) {
153 let detail = format!("ready ({nodes} nodes)");

Callers 4

joinFunction · 0.80

Calls 1

transitionMethod · 0.80