UNPKG

@lodestar/beacon-node

Version:

A Typescript implementation of the beacon chain

9 lines 707 B
import { PeerId } from "@libp2p/interface"; import { BeaconConfig } from "@lodestar/config"; import { ResponseOutgoing } from "@lodestar/reqresp"; import { deneb, phase0 } from "@lodestar/types"; import { IBeaconChain } from "../../../chain/index.js"; import { IBeaconDb } from "../../../db/index.js"; export declare function onBeaconBlocksByRange(request: phase0.BeaconBlocksByRangeRequest, chain: IBeaconChain, db: IBeaconDb, peerId: PeerId, peerClient: string): AsyncIterable<ResponseOutgoing>; export declare function validateBeaconBlocksByRangeRequest(config: BeaconConfig, request: phase0.BeaconBlocksByRangeRequest): deneb.BlobSidecarsByRangeRequest; //# sourceMappingURL=beaconBlocksByRange.d.ts.map