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

Method GetVersion

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

Source from the content-addressed store, hash-verified

35 Connect(addr string) error
36 GetID() uint64
37 GetVersion() uint32
38 GetPort() uint16
39 GetHttpInfoPort() uint16
40 GetRelay() bool

Callers 11

GetNodeStateFunction · 0.65
TestNewP2PServerFunction · 0.65
GetVersionMethod · 0.65
TestGetPeerComInfoFunction · 0.65
GetVersionMethod · 0.65
GetVersionMethod · 0.65
handleGetVersionReqMethod · 0.65
TestVersionHandleFunction · 0.65
NewVersionFunction · 0.65
TestVersionFunction · 0.65

Implementers 1

NetServerp2pserver/net/netserver/netserver.go

Calls

no outgoing calls

Tested by 4

TestNewP2PServerFunction · 0.52
TestGetPeerComInfoFunction · 0.52
TestVersionHandleFunction · 0.52
TestVersionFunction · 0.52