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

Method Init

worker/helper_test.go:169–184  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

167}
168
169func (s *stubBPService) Init() {
170 s.blockMap = make(map[uint32]*blockInfo)
171 s.blockMap[0] = &blockInfo{
172 c: 0,
173 h: 0,
174 block: &testEventBlocks,
175 profile: testEventProfiles,
176 }
177 s.blockMap[1] = &blockInfo{
178 c: 1,
179 h: 1,
180 block: &testOddBlocks,
181 profile: testOddProfiles,
182 }
183 atomic.StoreUint32(&s.count, 0)
184}
185
186func initNode() (cleanupFunc func(), server *rpc.Server, err error) {
187 var d string

Callers 1

initNodeChainBusServiceFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected