MCPcopy Create free account
hub / github.com/ethstorage/es-node / notifyPeerJoin

Method notifyPeerJoin

ethstorage/p2p/protocol/syncclient.go:705–710  ·  view source on GitHub ↗
(id peer.ID)

Source from the content-addressed store, hash-verified

703}
704
705func (s *SyncClient) notifyPeerJoin(id peer.ID) {
706 select {
707 case s.peerJoin <- id:
708 default:
709 }
710}
711
712func (s *SyncClient) notifyUpdate() {
713 select {

Callers 1

AddPeerMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected