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

Method SetSoftVersion

p2pserver/peer/peer.go:122–124  ·  view source on GitHub ↗

SetSoftVersion sets a peers's software version

(softVer string)

Source from the content-addressed store, hash-verified

120
121//SetSoftVersion sets a peers's software version
122func (this *PeerCom) SetSoftVersion(softVer string) {
123 this.softVersion = softVer
124}
125
126//GetSoftVersion return a peer's software version
127func (this *PeerCom) GetSoftVersion() string {

Callers 1

UpdateInfoMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected