1 | import { ECPoint, UInt256 } from '@neo-one/client-common';
|
2 | import { Context } from './Context';
|
3 | import { InitialContext } from './InitialContext';
|
4 | import { Type } from './types';
|
5 | export declare function cloneInitial(context: Context, { type, previousHash, blockIndex, viewNumber, myIndex, primaryIndex, expectedView, validators, blockReceivedTimeSeconds, }: {
|
6 | readonly type: Type;
|
7 | readonly previousHash?: UInt256;
|
8 | readonly blockIndex?: number;
|
9 | readonly viewNumber: number;
|
10 | readonly myIndex?: number;
|
11 | readonly primaryIndex: number;
|
12 | readonly expectedView?: readonly number[];
|
13 | readonly validators?: readonly ECPoint[];
|
14 | readonly blockReceivedTimeSeconds?: number;
|
15 | }): InitialContext;
|