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

Function NewPersistentCaller

rpc/wrapper.go:62–64  ·  view source on GitHub ↗

NewPersistentCaller returns a persistent RPCCaller. IMPORTANT: If a PersistentCaller is firstly used by a DHT.Ping, which is an anonymous ETLS connection. It should not be used by any other RPC except DHT.Ping.

(target proto.NodeID)

Source from the content-addressed store, hash-verified

60// IMPORTANT: If a PersistentCaller is firstly used by a DHT.Ping, which is an anonymous
61// ETLS connection. It should not be used by any other RPC except DHT.Ping.
62func NewPersistentCaller(target proto.NodeID) *PersistentCaller {
63 return NewPersistentCallerWithPool(defaultPool, target)
64}

Callers 3

newConnFunction · 0.92
mainFunction · 0.92
NewMethod · 0.70

Calls 1

Tested by

no test coverage detected