@lodestar/beacon-node
Version:
A Typescript implementation of the beacon chain
14 lines • 625 B
TypeScript
import { ChainForkConfig } from "@lodestar/config";
import { Db, Repository } from "@lodestar/db";
import { BeaconStateAllForks } from "@lodestar/state-transition";
/**
* Store temporary checkpoint states.
* We should only put/get binary data from this repository, consumer will load it into an existing state ViewDU object.
*/
export declare class CheckpointStateRepository extends Repository<Uint8Array, BeaconStateAllForks> {
constructor(config: ChainForkConfig, db: Db);
getId(): Uint8Array;
encodeValue(): Uint8Array;
decodeValue(): BeaconStateAllForks;
}
//# sourceMappingURL=checkpointState.d.ts.map