1 | import { DeveloperProvider, PrivateNetworkSettings } from '@neo-one/client-common';
|
2 |
|
3 |
|
4 |
|
5 | export declare class DeveloperClient {
|
6 | private readonly developerProvider;
|
7 | private mutableRunConsensusNow;
|
8 | constructor(developerProvider: DeveloperProvider);
|
9 | /**
|
10 | * Trigger consensus to run immediately.
|
11 | */
|
12 | runConsensusNow(): Promise<void>;
|
13 | /**
|
14 | * Update settings for the private network.
|
15 | */
|
16 | updateSettings(options: Partial<PrivateNetworkSettings>): Promise<void>;
|
17 | /**
|
18 | * Get the current settings of the private network.
|
19 | */
|
20 | getSettings(): Promise<PrivateNetworkSettings>;
|
21 | /**
|
22 | * Fast forward the local network by `seconds` into the future.
|
23 | */
|
24 | fastForwardOffset(seconds: number): Promise<void>;
|
25 | /**
|
26 | * Fast forward to a particular unix timestamp in the future.
|
27 | */
|
28 | fastForwardToTime(seconds: number): Promise<void>;
|
29 | /**
|
30 | * Reset the local network to it's initial state starting at the genesis block.
|
31 | */
|
32 | reset(): Promise<void>;
|
33 | private runConsensusNowInternal;
|
34 | }
|