MCPcopy
hub / github.com/subquery/subql / startLoop

Method startLoop

packages/node-core/src/indexer/fetch.service.ts:160–162  ·  view source on GitHub ↗
(initBlockHeight: number)

Source from the content-addressed store, hash-verified

158 }
159
160 private async startLoop(initBlockHeight: number): Promise<void> {
161 await this.fillNextBlockBuffer(initBlockHeight);
162 }
163
164 private latestHeight(): number {
165 return this.nodeConfig.unfinalizedBlocks ? this.latestBestHeight : this.latestFinalizedHeight;

Callers 1

initMethod · 0.95

Calls 1

fillNextBlockBufferMethod · 0.95

Tested by

no test coverage detected