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

Method GetID

p2pserver/net/protocol/server.go:36–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

34 Halt()
35 Connect(addr string) error
36 GetID() uint64
37 GetVersion() uint32
38 GetPort() uint16
39 GetHttpInfoPort() uint16

Callers 15

initPageInfoFunction · 0.65
viewHandlerFunction · 0.65
GetNodeStateFunction · 0.65
SendMethod · 0.65
GetIDMethod · 0.65
retryInactivePeerMethod · 0.65
timeoutMethod · 0.65
checkTimeoutMethod · 0.65
syncHeaderMethod · 0.65
syncBlockMethod · 0.65
saveBlockMethod · 0.65

Implementers 1

NetServerp2pserver/net/netserver/netserver.go

Calls

no outgoing calls

Tested by 4

TestNewLinkFunction · 0.52
initTestNbrPeersFunction · 0.52
TestGetPeerComInfoFunction · 0.52
TestVersionHandleFunction · 0.52