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

Method SetServices

p2pserver/peer/peer.go:72–74  ·  view source on GitHub ↗

SetServices sets a peer's services

(services uint64)

Source from the content-addressed store, hash-verified

70
71// SetServices sets a peer's services
72func (this *PeerCom) SetServices(services uint64) {
73 this.services = services
74}
75
76// GetServices returns a peer's services
77func (this *PeerCom) GetServices() uint64 {

Callers 3

TestGetPeerComInfoFunction · 0.80
UpdateInfoMethod · 0.80
initMethod · 0.80

Calls

no outgoing calls

Tested by 1

TestGetPeerComInfoFunction · 0.64