UNPKG

@lodestar/beacon-node

Version:

A Typescript implementation of the beacon chain

16 lines 771 B
import { ChainForkConfig } from "@lodestar/config"; import { DatabaseController, Repository } from "@lodestar/db"; import { SyncCommitteeWitness } from "../../chain/lightClient/types.js"; export declare const NUM_WITNESS = 4; export declare const NUM_WITNESS_ELECTRA = 5; /** * Historical sync committees witness by block root * * Used to prepare lightclient updates and initial snapshots */ export declare class SyncCommitteeWitnessRepository extends Repository<Uint8Array, SyncCommitteeWitness> { constructor(config: ChainForkConfig, db: DatabaseController<Uint8Array, Uint8Array>); encodeValue(value: SyncCommitteeWitness): Uint8Array; decodeValue(data: Uint8Array): SyncCommitteeWitness; } //# sourceMappingURL=lightclientSyncCommitteeWitness.d.ts.map