@lodestar/beacon-node
Version:
A Typescript implementation of the beacon chain
13 lines • 565 B
TypeScript
import { ChainForkConfig } from "@lodestar/config";
import { Db, Repository } from "@lodestar/db";
import { phase0 } from "@lodestar/types";
export declare class Eth1DataRepository extends Repository<number, phase0.Eth1DataOrdered> {
constructor(config: ChainForkConfig, db: Db);
decodeKey(data: Buffer): number;
getId(_value: phase0.Eth1Data): number;
batchPutValues(eth1Datas: (phase0.Eth1DataOrdered & {
timestamp: number;
})[]): Promise<void>;
deleteOld(timestamp: number): Promise<void>;
}
//# sourceMappingURL=eth1Data.d.ts.map