Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
GetNodeState
Function · 0.65
TestNewP2PServer
Function · 0.65
GetVersion
Method · 0.65
TestGetPeerComInfo
Function · 0.65
GetVersion
Method · 0.65
GetVersion
Method · 0.65
handleGetVersionReq
Method · 0.65
TestVersionHandle
Function · 0.65
NewVersion
Function · 0.65
TestVersion
Function · 0.65
hasAlreadyInitGenesisBlock
Method · 0.65
Implementers
1
NetServer
p2pserver/net/netserver/netserver.go
Calls
no outgoing calls
Tested by
4
TestNewP2PServer
Function · 0.52
TestGetPeerComInfo
Function · 0.52
TestVersionHandle
Function · 0.52
TestVersion
Function · 0.52