UNPKG

@lodestar/beacon-node

Version:

A Typescript implementation of the beacon chain

11 lines 786 B
import { ForkName } from "@lodestar/params"; import { IndexedAttestation, RootHex, SignedAggregateAndProof } from "@lodestar/types"; import { IBeaconChain } from "../index.js"; export type AggregateAndProofValidationResult = { indexedAttestation: IndexedAttestation; committeeIndices: Uint32Array; attDataRootHex: RootHex; }; export declare function validateApiAggregateAndProof(fork: ForkName, chain: IBeaconChain, signedAggregateAndProof: SignedAggregateAndProof): Promise<AggregateAndProofValidationResult>; export declare function validateGossipAggregateAndProof(fork: ForkName, chain: IBeaconChain, signedAggregateAndProof: SignedAggregateAndProof, serializedData: Uint8Array): Promise<AggregateAndProofValidationResult>; //# sourceMappingURL=aggregateAndProof.d.ts.map