/// import { ECPoint, UInt160, UInt256, UInt256Hex } from '@neo-one/client-common'; import { Block } from '@neo-one/node-core'; import BN from 'bn.js'; import { HeaderContext } from './HeaderContext'; import { SignatureSentContext } from './SignatureSentContext'; import { Transactions } from './types'; import { ViewChangingContext } from './ViewChangingContext'; interface RequestReceivedContextAdd { readonly viewNumber: number; readonly myIndex: number; readonly primaryIndex: number; readonly expectedView: readonly number[]; readonly validators: readonly ECPoint[]; readonly blockReceivedTimeSeconds: number; readonly transactions: Transactions; readonly signatures: ReadonlyArray; readonly header: { readonly type: 'new'; readonly previousHash: UInt256; readonly transactionHashes: readonly UInt256Hex[]; readonly blockIndex: number; readonly nonce: BN; readonly timestamp: number; readonly nextConsensus: UInt160; } | { readonly type: 'existing'; readonly block: Block; readonly transactionHashes: readonly UInt256Hex[]; }; } export declare class RequestReceivedContext extends HeaderContext { constructor({ viewNumber, myIndex, primaryIndex, expectedView, validators, blockReceivedTimeSeconds, transactions, signatures, header, }: RequestReceivedContextAdd); clone({ transactions }: { readonly transactions: Transactions; }): RequestReceivedContext; cloneViewChanging({ expectedView }: { readonly expectedView: readonly number[]; }): ViewChangingContext; cloneSignatureSent({ signatures, }: { readonly signatures: ReadonlyArray; }): SignatureSentContext; cloneExpectedView({ expectedView }: { readonly expectedView: readonly number[]; }): RequestReceivedContext; cloneSignatures({ signatures, }: { readonly signatures: ReadonlyArray; }): RequestReceivedContext; } export {};