Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DNAProject/DNA
/ GetNeighborAddrs
Method
GetNeighborAddrs
p2pserver/net/protocol/server.go:45–45 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
43
GetServices() uint64
44
GetNeighbors() []*peer.Peer
45
GetNeighborAddrs() []common.PeerAddr
46
GetConnectionCnt() uint32
47
GetMaxPeerBlockHeight() uint64
48
GetNp() *peer.NbrPeers
Callers
6
GetNeighbor
Function · 0.65
GetNeighborAddrs
Method · 0.65
TestGetNeighborAddrs
Function · 0.65
GetNeighborAddrs
Method · 0.65
handleGetNeighborAddrsReq
Method · 0.65
AddrReqHandle
Function · 0.65
Implementers
1
NetServer
p2pserver/net/netserver/netserver.go
Calls
no outgoing calls
Tested by
1
TestGetNeighborAddrs
Function · 0.52