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

Method Add

rpc/xxx_test.go:112–116  ·  view source on GitHub ↗
(req *AddReq, resp *AddResp)

Source from the content-addressed store, hash-verified

110}
111
112func (s *CountService) Add(req *AddReq, resp *AddResp) error {
113 resp.SetNodeID(req.NodeID)
114 resp.Count = atomic.AddInt32(&s.Count, req.Delta)
115 return nil
116}
117
118// createLocalNodes uses the cpu miner to mine node IDs for the local public key.
119func createLocalNodes(diff int, num int) (nodes []*proto.Node, err error) {

Callers 13

GetBPFromDNSSeedMethod · 0.45
PingMethod · 0.45
createLocalNodesFunction · 0.45
setupServersFunction · 0.45
recordRPCCostFunction · 0.45
testCallerFunction · 0.45
testPCallerFunction · 0.45
TestRPCComponentsFunction · 0.45
TestRecordRPCCostFunction · 0.45
TestETLSBugFunction · 0.45
BenchmarkSessionPool_GetFunction · 0.45
TestNewSessionPoolFunction · 0.45

Calls 1

SetNodeIDMethod · 0.65

Tested by

no test coverage detected