MCPcopy Create free account
hub / github.com/DNAProject/DNA / RemovePeerIndex

Method RemovePeerIndex

consensus/vbft/peer_pool.go:295–300  ·  view source on GitHub ↗
(nodeId string)

Source from the content-addressed store, hash-verified

293}
294
295func (pool *PeerPool) RemovePeerIndex(nodeId string) {
296 pool.lock.Lock()
297 defer pool.lock.Unlock()
298
299 delete(pool.IDMap, nodeId)
300}

Callers 1

updateChainConfigMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected