MCPcopy 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

TestGetPeerComInfoFunction · 0.65
SetHeightMethod · 0.65
SetHeightMethod · 0.65
PingHandleFunction · 0.65
PongHandleFunction · 0.65

Implementers 1

NetServerp2pserver/net/netserver/netserver.go

Calls

no outgoing calls

Tested by 1

TestGetPeerComInfoFunction · 0.52