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

Method load_hard_state

nodedb-raft/src/storage.rs:92–94  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

90 }
91
92 fn load_hard_state(&self) -> Result<HardState> {
93 Ok(self.hard_state.clone())
94 }
95}
96
97#[cfg(test)]

Callers 2

mem_storage_hard_stateFunction · 0.45
restoreMethod · 0.45

Calls 1

cloneMethod · 0.45

Tested by 1

mem_storage_hard_stateFunction · 0.36