Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DNAProject/DNA
/ SetHeight
Method
SetHeight
p2pserver/net/protocol/server.go:50–50 ·
view source on GitHub ↗
(uint64)
Source
from the content-addressed store, hash-verified
48
GetNp() *peer.NbrPeers
49
GetPeer(uint64) *peer.Peer
50
SetHeight(uint64)
51
IsPeerEstablished(p *peer.Peer) bool
52
Send(p *peer.Peer, msg types.Message) error
53
GetMsgChan()
chan
*types.MsgPayload
Callers
5
TestGetPeerComInfo
Function · 0.65
SetHeight
Method · 0.65
SetHeight
Method · 0.65
PingHandle
Function · 0.65
PongHandle
Function · 0.65
Implementers
1
NetServer
p2pserver/net/netserver/netserver.go
Calls
no outgoing calls
Tested by
1
TestGetPeerComInfo
Function · 0.52