1 | import { IBlockJson } from "./block";
|
2 | export interface INetworkConfig {
|
3 | exceptions: IExceptions;
|
4 | genesisBlock: IBlockJson;
|
5 | milestones: Array<Record<string, any>>;
|
6 | network: INetwork;
|
7 | }
|
8 | export interface INetwork {
|
9 | name: string;
|
10 | messagePrefix: string;
|
11 | bip32: {
|
12 | public: number;
|
13 | private: number;
|
14 | };
|
15 | pubKeyHash: number;
|
16 | nethash: string;
|
17 | wif: number;
|
18 | slip44: number;
|
19 | aip20: number;
|
20 | client: {
|
21 | token: string;
|
22 | symbol: string;
|
23 | explorer: string;
|
24 | };
|
25 | }
|
26 | export interface IExceptions {
|
27 | blocks?: string[];
|
28 | transactions?: string[];
|
29 | outlookTable?: Record<string, string>;
|
30 | transactionIdFixTable?: Record<string, string>;
|
31 | }
|