Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
initPageInfo
Function · 0.65
viewHandler
Function · 0.65
GetNodeState
Function · 0.65
Send
Method · 0.65
GetID
Method · 0.65
retryInactivePeer
Method · 0.65
timeout
Method · 0.65
checkTimeout
Method · 0.65
syncHeader
Method · 0.65
syncBlock
Method · 0.65
saveBlock
Method · 0.65
getNodeWithMinFailedTimes
Method · 0.65
Implementers
1
NetServer
p2pserver/net/netserver/netserver.go
Calls
no outgoing calls
Tested by
4
TestNewLink
Function · 0.52
initTestNbrPeers
Function · 0.52
TestGetPeerComInfo
Function · 0.52
TestVersionHandle
Function · 0.52