@lodestar/beacon-node
Version:
A Typescript implementation of the beacon chain
15 lines • 595 B
TypeScript
import { Root, Slot } from "@lodestar/types";
/**
* Sync this up to this target. Uses slot instead of epoch to re-use logic for finalized sync
* and head sync. The root is used to uniquely identify this chain on different forks
*/
export type ChainTarget = {
slot: Slot;
root: Root;
};
/**
* Previously we use computeMostCommonTarget to compute the target for a chain.
* Starting from fulu, we use computeHighestTarget to compute the target for a chain.
*/
export declare function computeHighestTarget(targets: ChainTarget[]): ChainTarget;
//# sourceMappingURL=chainTarget.d.ts.map