@lodestar/beacon-node
Version:
A Typescript implementation of the beacon chain
14 lines • 640 B
TypeScript
import { ChainForkConfig } from "@lodestar/config";
import { DatabaseController, Repository } from "@lodestar/db";
import { LightClientUpdate, SyncPeriod } from "@lodestar/types";
/**
* Best PartialLightClientUpdate in each SyncPeriod
*
* Used to prepare light client updates
*/
export declare class BestLightClientUpdateRepository extends Repository<SyncPeriod, LightClientUpdate> {
constructor(config: ChainForkConfig, db: DatabaseController<Uint8Array, Uint8Array>);
encodeValue(value: LightClientUpdate): Uint8Array;
decodeValue(data: Uint8Array): LightClientUpdate;
}
//# sourceMappingURL=lightclientBestUpdate.d.ts.map