UNPKG

@lodestar/beacon-node

Version:

A Typescript implementation of the beacon chain

8 lines 819 B
import { ChainForkConfig } from "@lodestar/config"; import { Epoch, SignedBeaconBlock, Slot, WithBytes, deneb, phase0 } from "@lodestar/types"; import { BlobsSource, BlockInput, BlockSource } from "../../chain/blocks/types.js"; import { PeerIdStr } from "../../util/peerId.js"; import { INetwork } from "../interface.js"; export declare function beaconBlocksMaybeBlobsByRange(config: ChainForkConfig, network: INetwork, peerId: PeerIdStr, request: phase0.BeaconBlocksByRangeRequest, currentEpoch: Epoch): Promise<BlockInput[]>; export declare function matchBlockWithBlobs(config: ChainForkConfig, allBlocks: WithBytes<SignedBeaconBlock>[], allBlobSidecars: deneb.BlobSidecar[], endSlot: Slot, blockSource: BlockSource, blobsSource: BlobsSource): BlockInput[]; //# sourceMappingURL=beaconBlocksMaybeBlobsByRange.d.ts.map