UNPKG

@lodestar/beacon-node

Version:

A Typescript implementation of the beacon chain

18 lines 700 B
import { ChainForkConfig } from "@lodestar/config"; import { Db, Repository } from "@lodestar/db"; import { Slot, gloas } from "@lodestar/types"; /** * Used to store finalized `SignedExecutionPayloadEnvelope` * * Indexed by slot for chronological archival */ export declare class ExecutionPayloadEnvelopeArchiveRepository extends Repository<Slot, gloas.SignedExecutionPayloadEnvelope> { constructor(config: ChainForkConfig, db: Db); /** * Id is the slot from the envelope */ getId(value: gloas.SignedExecutionPayloadEnvelope): Slot; encodeKey(id: Slot): Uint8Array; decodeKey(data: Uint8Array): number; } //# sourceMappingURL=executionPayloadEnvelopeArchive.d.ts.map