-
Notifications
You must be signed in to change notification settings - Fork 1
/
constants.d.ts
40 lines (40 loc) · 875 Bytes
/
constants.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
export interface NetworkConstants {
MaxSize: number;
Port: number;
Address: {
pubKeyHash: number;
payToScriptHash: number;
};
Bip32: {
pubKey: number;
privKey: number;
};
Block: {
maxNBits: number;
magicNum: number;
};
Msg: {
magicNum: number;
versionBytesNum: number;
};
PrivKey: {
versionByteNum: number;
};
TxBuilder: {
dust: number;
feePerKbNum: number;
};
Workers: {
timeout: number;
};
}
declare const Constants: {
Mainnet: NetworkConstants;
Testnet: NetworkConstants;
Regtest: NetworkConstants;
STN: NetworkConstants;
Default: NetworkConstants;
};
declare const getConstants: (magicNum: any) => NetworkConstants;
export { Constants, getConstants };
//# sourceMappingURL=constants.d.ts.map