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

Method GetVersion

p2pserver/p2pserver.go:142–144  ·  view source on GitHub ↗

GetVersion return self version

()

Source from the content-addressed store, hash-verified

140
141//GetVersion return self version
142func (this *P2PServer) GetVersion() uint32 {
143 return this.network.GetVersion()
144}
145
146//GetNeighborAddrs return all nbr`s address
147func (this *P2PServer) GetNeighborAddrs() []common.PeerAddr {

Callers

nothing calls this directly

Calls 1

GetVersionMethod · 0.65

Tested by

no test coverage detected