UNPKG

719 BTypeScriptView Raw
1import { IBlockJson } from "./block";
2export interface INetworkConfig {
3 exceptions: IExceptions;
4 genesisBlock: IBlockJson;
5 milestones: Array<Record<string, any>>;
6 network: INetwork;
7}
8export 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}
26export interface IExceptions {
27 blocks?: string[];
28 transactions?: string[];
29 outlookTable?: Record<string, string>;
30 transactionIdFixTable?: Record<string, string>;
31}