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

Method SetNode

cmd/cqld/adapter.go:150–152  ·  view source on GitHub ↗

SetNode implements consistent.Persistence

(node *proto.Node)

Source from the content-addressed store, hash-verified

148
149// SetNode implements consistent.Persistence
150func (s *KVServer) SetNode(node *proto.Node) (err error) {
151 return s.SetNodeEx(node, 1, s.current)
152}
153
154// SetNodeEx is used by gossip service to broadcast to other nodes.
155func (s *KVServer) SetNodeEx(node *proto.Node, ttl uint32, origin proto.NodeID) (err error) {

Callers

nothing calls this directly

Calls 1

SetNodeExMethod · 0.95

Tested by

no test coverage detected