MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / SetNode

Method SetNode

cmd/cqld/gossip.go:41–43  ·  view source on GitHub ↗

SetNode update current node info and broadcast node update request.

(req *GossipRequest, resp *interface{})

Source from the content-addressed store, hash-verified

39
40// SetNode update current node info and broadcast node update request.
41func (s *GossipService) SetNode(req *GossipRequest, resp *interface{}) (err error) {
42 return s.s.SetNodeEx(req.Node, req.TTL, req.GetNodeID().ToNodeID())
43}

Callers

nothing calls this directly

Calls 3

SetNodeExMethod · 0.80
ToNodeIDMethod · 0.80
GetNodeIDMethod · 0.65

Tested by

no test coverage detected