UNPKG

589 BTypeScriptView Raw
1import { PrivateKey } from '@neo-one/client-common';
2import { ConsensusPayload, Node } from '@neo-one/node-core';
3import { ConsensusContext } from './ConsensusContext';
4import { Context } from './context';
5import { Result } from './types';
6export declare const handleConsensusPayload: ({ context, node, privateKey, payload, consensusContext, }: {
7 readonly context: Context<Context<any>>;
8 readonly node: Node;
9 readonly privateKey: PrivateKey;
10 readonly payload: ConsensusPayload;
11 readonly consensusContext: ConsensusContext;
12}) => Promise<Result<Context<Context<any>>>>;