MCPcopy Create free account
hub / github.com/aleph-zero-foundation/AlephBFT / insert

Method insert

crypto/src/node.rs:165–167  ·  view source on GitHub ↗
(&mut self, node_id: NodeIndex, value: T)

Source from the content-addressed store, hash-verified

163 }
164
165 pub fn insert(&mut self, node_id: NodeIndex, value: T) {
166 self.0[node_id.0] = Some(value)
167 }
168
169 pub fn delete(&mut self, node_id: NodeIndex) {
170 self.0[node_id.0] = None

Callers 11

add_signatureMethod · 0.45
from_hashmapMethod · 0.45
handle_signed_hashMethod · 0.45
on_multisigned_hashMethod · 0.45
connect_peerMethod · 0.45
add_pending_messageMethod · 0.45
add_blockMethod · 0.45
newMethod · 0.45
dns_responseMethod · 0.45

Calls

no outgoing calls