UNPKG

@lodestar/beacon-node

Version:

A Typescript implementation of the beacon chain

16 lines 650 B
import { RootHex, Slot, SubcommitteeIndex, ValidatorIndex } from "@lodestar/types"; /** * Cache seen SyncCommitteeMessage by slot + validator index. */ export declare class SeenSyncCommitteeMessages { private readonly seenCacheBySlot; /** * based on slot + validator index */ get(slot: Slot, subnet: SubcommitteeIndex, validatorIndex: ValidatorIndex): RootHex | null; /** Register item as seen in the cache */ add(slot: Slot, subnet: SubcommitteeIndex, validatorIndex: ValidatorIndex, root: RootHex): void; /** Prune per clock slot */ prune(clockSlot: Slot): void; } //# sourceMappingURL=seenCommittee.d.ts.map