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

Method getServer

sqlchain/runtime.go:290–294  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

288}
289
290func (r *runtime) getServer() proto.NodeID {
291 r.peersMutex.Lock()
292 defer r.peersMutex.Unlock()
293 return r.server
294}
295
296func (r *runtime) startService(chain *Chain) {
297 r.muxService.register(chain.databaseID, &ChainRPCService{chain: chain})

Callers 2

produceBlockMethod · 0.80
syncHeadMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected