MCPcopy Create free account
hub / github.com/CPChain/chain / RemovePeer

Method RemovePeer

consensus/consensus.go:218–218  ·  view source on GitHub ↗
(id string)

Source from the content-addressed store, hash-verified

216 AddPeer(version int, p *p2p.Peer, rw p2p.MsgReadWriter) (string, bool, bool, error)
217
218 RemovePeer(id string)
219
220 HandleMsg(id string, version int, p *p2p.Peer, rw p2p.MsgReadWriter, msg p2p.Msg) (string, error)
221

Callers 2

disconnectMethod · 0.65
RemovePeerMethod · 0.65

Implementers 1

Handlerconsensus/dpor/backend/handler.go

Calls

no outgoing calls

Tested by

no test coverage detected