@lodestar/beacon-node
Version:
A Typescript implementation of the beacon chain
13 lines • 475 B
TypeScript
import { Slot, SubnetID } from "@lodestar/types";
/**
* Track if there's at least one aggregator on tuple (subnet, slot),
* to only then insert attestations into the op pool
*/
export declare class AggregatorTracker {
private subnetAggregatorsBySlot;
get maxSlotsCached(): number;
addAggregator(subnet: SubnetID, slot: Slot): void;
shouldAggregate(subnet: SubnetID, slot: Slot): boolean;
prune(): void;
}
//# sourceMappingURL=aggregatorTracker.d.ts.map