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

Method NodeEstablished

p2pserver/net/netserver/netserver.go:220–222  ·  view source on GitHub ↗

NodeEstablished return whether a peer is establish with self according to id

(id uint64)

Source from the content-addressed store, hash-verified

218
219//NodeEstablished return whether a peer is establish with self according to id
220func (this *NetServer) NodeEstablished(id uint64) bool {
221 return this.Np.NodeEstablished(id)
222}
223
224//Xmit called by actor, broadcast msg
225func (this *NetServer) Xmit(msg types.Message) {

Callers 1

TestNetServerNbrPeerFunction · 0.95

Calls 1

NodeEstablishedMethod · 0.65

Tested by 1

TestNetServerNbrPeerFunction · 0.76