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

Method OnDelNode

p2pserver/p2pserver.go:201–203  ·  view source on GitHub ↗

OnDelNode removes the peer id from the block sync mgr

(id uint64)

Source from the content-addressed store, hash-verified

199
200// OnDelNode removes the peer id from the block sync mgr
201func (this *P2PServer) OnDelNode(id uint64) {
202 this.blockSync.OnDelNode(id)
203}
204
205// OnHeaderReceive adds the header list from network
206func (this *P2PServer) OnHeaderReceive(fromID uint64, headers []*types.Header) {

Callers 1

ReceiveMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected