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

Method SetHttpInfoPort

p2pserver/peer/peer.go:305–307  ·  view source on GitHub ↗

SetHttpInfoPort set peer`s httpinfo port

(port uint16)

Source from the content-addressed store, hash-verified

303
304//SetHttpInfoPort set peer`s httpinfo port
305func (this *Peer) SetHttpInfoPort(port uint16) {
306 this.base.SetHttpInfoPort(port)
307}
308
309//UpdateInfo update peer`s information
310func (this *Peer) UpdateInfo(t time.Time, version uint32, services uint64,

Callers 2

TestVerAckHandleFunction · 0.95
VersionHandleFunction · 0.45

Calls

no outgoing calls

Tested by 1

TestVerAckHandleFunction · 0.76