1 | import { ConsensusPayload, Transaction } from '@neo-one/node-core';
|
2 | import { ConsensusContext } from './ConsensusContext';
|
3 | import { Context } from './context';
|
4 | export interface Result<TContext extends Context> {
|
5 | readonly context: TContext;
|
6 | readonly consensusContext?: ConsensusContext;
|
7 | readonly timerSeconds?: number;
|
8 | }
|
9 | export declare type Event = {
|
10 | readonly type: 'handlePersistBlock';
|
11 | } | {
|
12 | readonly type: 'handleConsensusPayload';
|
13 | readonly payload: ConsensusPayload;
|
14 | } | {
|
15 | readonly type: 'handleTransactionReceived';
|
16 | readonly transaction: Transaction;
|
17 | } | {
|
18 | readonly type: 'timer';
|
19 | };
|
20 | export interface Options {
|
21 | readonly privateNet: boolean;
|
22 | }
|