UNPKG

@lodestar/beacon-node

Version:

A Typescript implementation of the beacon chain

15 lines 650 B
import { HistoricalStateRegenInitModules, HistoricalStateWorkerApi } from "./types.js"; /** * HistoricalStateRegen limits the damage from recreating historical states * by running regen in a separate worker thread. */ export declare class HistoricalStateRegen implements HistoricalStateWorkerApi { private readonly api; private readonly logger; private constructor(); static init(modules: HistoricalStateRegenInitModules): Promise<HistoricalStateRegen>; scrapeMetrics(): Promise<string>; close(): Promise<void>; getHistoricalState(slot: number): Promise<Uint8Array>; } //# sourceMappingURL=historicalStateRegen.d.ts.map