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

Method startService

blockproducer/chain.go:946–948  ·  view source on GitHub ↗
(chain *Chain)

Source from the content-addressed store, hash-verified

944}
945
946func (c *Chain) startService(chain *Chain) {
947 c.server.RegisterService(route.BlockProducerRPCName, &ChainRPCService{chain: chain})
948}
949
950// nextTick returns the current clock reading and the duration till the next turn. If duration
951// is less or equal to 0, use the clock reading to run the next cycle - this avoids some problem

Callers 1

StartMethod · 0.95

Calls 1

RegisterServiceMethod · 0.80

Tested by

no test coverage detected