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

Method OnDelNode

p2pserver/block_sync.go:628–631  ·  view source on GitHub ↗

OnDelNode remove from node list. When the node disconnect

(nodeId uint64)

Source from the content-addressed store, hash-verified

626
627//OnDelNode remove from node list. When the node disconnect
628func (this *BlockSyncMgr) OnDelNode(nodeId uint64) {
629 this.delNode(nodeId)
630 log.Infof("OnDelNode:%d", nodeId)
631}
632
633//delNode remove from node list
634func (this *BlockSyncMgr) delNode(nodeId uint64) {

Callers

nothing calls this directly

Calls 2

delNodeMethod · 0.95
InfofFunction · 0.92

Tested by

no test coverage detected