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

Method CallNode

rpc/caller.go:119–121  ·  view source on GitHub ↗

CallNode calls node method.

(node proto.NodeID, method string, args, reply interface{})

Source from the content-addressed store, hash-verified

117
118// CallNode calls node method.
119func (c *Caller) CallNode(node proto.NodeID, method string, args, reply interface{}) (err error) {
120 return c.CallNodeWithContext(context.Background(), node, method, args, reply)
121}

Callers 15

TestStartBP_CallRPCFunction · 0.95
FindNodeInBPFunction · 0.95
PingBPFunction · 0.95
TestCaller_CallNodeFunction · 0.95
requestBPFunction · 0.80
testRequestFunction · 0.80
pullMethod · 0.80
minerRequestMethod · 0.80
getUpstreamMethod · 0.80
requestBPMethod · 0.80

Implementers 6

fakeTrackerCallerkayak/tracker_test.go
fakeCallerkayak/runtime_test.go
pooledClientrpc/pool.go
PersistentCallerrpc/pcaller.go
RawCallerrpc/mux/rawcaller.go
fakeServicerpc/mux/wrapper_test.go

Calls 1

CallNodeWithContextMethod · 0.95

Tested by 8

TestStartBP_CallRPCFunction · 0.76
TestCaller_CallNodeFunction · 0.76
testRequestFunction · 0.64
testRequestFunction · 0.64
benchCallerFunction · 0.64
testCallerFunction · 0.64