MCPcopy Create free account
hub / github.com/ethstorage/es-node / blockScanLoopRuntime

Method blockScanLoopRuntime

ethstorage/scanner/scanner.go:192–200  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

190}
191
192func (s *Scanner) blockScanLoopRuntime() *scanLoopRuntime {
193 return &scanLoopRuntime{
194 mode: modeCheckBlock,
195 nextBatch: s.worker.latestUpdated,
196 interval: s.cfg.IntervalBlock,
197 batchSize: uint64(s.cfg.IntervalBlock / s.cfg.L1SlotTime), // number of slots in the interval
198 nextIndex: 0,
199 }
200}
201
202func (s *Scanner) startReporter() {
203 s.wg.Add(1)

Callers 1

startMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected