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

Method GetVersion

p2pserver/peer/peer.go:173–175  ·  view source on GitHub ↗

GetVersion return peer`s version

()

Source from the content-addressed store, hash-verified

171
172//GetVersion return peer`s version
173func (this *Peer) GetVersion() uint32 {
174 return this.base.GetVersion()
175}
176
177//GetHeight return peer`s block height
178func (this *Peer) GetHeight() uint64 {

Callers 1

DumpInfoMethod · 0.95

Calls 1

GetVersionMethod · 0.65

Tested by

no test coverage detected