@lodestar/beacon-node
Version:
A Typescript implementation of the beacon chain
10 lines • 521 B
TypeScript
import { ChainConfig } from "@lodestar/config";
/**
* Utility for fetching genesis min genesis time block
* Returns an approximation of the next block diff to fetch to progressively
* get closer to the block that satisfies min genesis time condition
*/
export declare function optimizeNextBlockDiffForGenesis(lastFetchedBlock: {
timestamp: number;
}, params: Pick<ChainConfig, "MIN_GENESIS_TIME" | "GENESIS_DELAY" | "SECONDS_PER_ETH1_BLOCK">): number;
//# sourceMappingURL=optimizeNextBlockDiffForGenesis.d.ts.map