MCPcopy Create free account
hub / github.com/DNAProject/DNA / GetMaxPeerBlockHeight

Method GetMaxPeerBlockHeight

p2pserver/p2pserver.go:96–98  ·  view source on GitHub ↗

GetMaxPeerBlockHeight return the established connect count

()

Source from the content-addressed store, hash-verified

94
95//GetMaxPeerBlockHeight return the established connect count
96func (this *P2PServer) GetMaxPeerBlockHeight() uint64 {
97 return this.network.GetMaxPeerBlockHeight()
98}
99
100//Start create all services
101func (this *P2PServer) Start() error {

Callers

nothing calls this directly

Calls 1

GetMaxPeerBlockHeightMethod · 0.65

Tested by

no test coverage detected