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

Method latestHeight

packages/node-core/src/indexer/fetch.service.ts:164–166  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

162 }
163
164 private latestHeight(): number {
165 return this.nodeConfig.unfinalizedBlocks ? this.latestBestHeight : this.latestFinalizedHeight;
166 }
167
168 // eslint-disable-next-line complexity
169 async fillNextBlockBuffer(initBlockHeight: number): Promise<void> {

Callers 2

initMethod · 0.95
fillNextBlockBufferMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected