Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DNAProject/DNA
/ GetID
Method
GetID
p2pserver/peer/peer.go:222–224 ·
view source on GitHub ↗
GetID return peer`s id
()
Source
from the content-addressed store, hash-verified
220
221
//GetID return peer`s id
222
func
(this *Peer) GetID() uint64 {
223
return
this.base.GetID()
224
}
225
226
//GetRelay return peer`s relay state
227
func
(this *Peer) GetRelay() bool {
Callers
1
DumpInfo
Method · 0.95
Calls
1
GetID
Method · 0.65
Tested by
no test coverage detected