networks: use hex constants.
This commit is contained in:
parent
10e959efde
commit
64054044a1
@ -355,7 +355,7 @@ main.deployments = {
|
||||
*/
|
||||
|
||||
main.keyPrefix = {
|
||||
privkey: 128,
|
||||
privkey: 0x80,
|
||||
xpubkey: 0x0488b21e,
|
||||
xprivkey: 0x0488ade4,
|
||||
xprivkey58: 'xprv',
|
||||
@ -369,10 +369,10 @@ main.keyPrefix = {
|
||||
*/
|
||||
|
||||
main.addressPrefix = {
|
||||
pubkeyhash: 0,
|
||||
scripthash: 5,
|
||||
witnesspubkeyhash: 6,
|
||||
witnessscripthash: 10
|
||||
pubkeyhash: 0x00,
|
||||
scripthash: 0x05,
|
||||
witnesspubkeyhash: 0x06,
|
||||
witnessscripthash: 0x0a
|
||||
};
|
||||
|
||||
/**
|
||||
@ -566,7 +566,7 @@ testnet.deployments = {
|
||||
};
|
||||
|
||||
testnet.keyPrefix = {
|
||||
privkey: 239,
|
||||
privkey: 0xef,
|
||||
xpubkey: 0x043587cf,
|
||||
xprivkey: 0x04358394,
|
||||
xprivkey58: 'tprv',
|
||||
@ -575,10 +575,10 @@ testnet.keyPrefix = {
|
||||
};
|
||||
|
||||
testnet.addressPrefix = {
|
||||
pubkeyhash: 111,
|
||||
scripthash: 196,
|
||||
witnesspubkeyhash: 3,
|
||||
witnessscripthash: 40
|
||||
pubkeyhash: 0x6f,
|
||||
scripthash: 0xc4,
|
||||
witnesspubkeyhash: 0x03,
|
||||
witnessscripthash: 0x28
|
||||
};
|
||||
|
||||
testnet.requireStandard = false;
|
||||
@ -708,7 +708,7 @@ regtest.deployments = {
|
||||
};
|
||||
|
||||
regtest.keyPrefix = {
|
||||
privkey: 239,
|
||||
privkey: 0xef,
|
||||
xpubkey: 0x043587cf,
|
||||
xprivkey: 0x04358394,
|
||||
xprivkey58: 'tprv',
|
||||
@ -717,10 +717,10 @@ regtest.keyPrefix = {
|
||||
};
|
||||
|
||||
regtest.addressPrefix = {
|
||||
pubkeyhash: 111,
|
||||
scripthash: 196,
|
||||
witnesspubkeyhash: 3,
|
||||
witnessscripthash: 40
|
||||
pubkeyhash: 0x6f,
|
||||
scripthash: 0xc4,
|
||||
witnesspubkeyhash: 0x03,
|
||||
witnessscripthash: 0x28
|
||||
};
|
||||
|
||||
regtest.requireStandard = false;
|
||||
@ -824,7 +824,7 @@ segnet3.minerWindow = 144;
|
||||
segnet3.deployments = {};
|
||||
|
||||
segnet3.keyPrefix = {
|
||||
privkey: 158,
|
||||
privkey: 0x9e,
|
||||
xpubkey: 0x053587cf,
|
||||
xprivkey: 0x05358394,
|
||||
xprivkey58: '2791',
|
||||
@ -833,10 +833,10 @@ segnet3.keyPrefix = {
|
||||
};
|
||||
|
||||
segnet3.addressPrefix = {
|
||||
pubkeyhash: 30,
|
||||
scripthash: 50,
|
||||
witnesspubkeyhash: 3,
|
||||
witnessscripthash: 40
|
||||
pubkeyhash: 0x1e,
|
||||
scripthash: 0x32,
|
||||
witnesspubkeyhash: 0x03,
|
||||
witnessscripthash: 0x28
|
||||
};
|
||||
|
||||
segnet3.requireStandard = false;
|
||||
@ -959,7 +959,7 @@ segnet4.deployments = {
|
||||
};
|
||||
|
||||
segnet4.keyPrefix = {
|
||||
privkey: 158,
|
||||
privkey: 0x9e,
|
||||
xpubkey: 0x053587cf,
|
||||
xprivkey: 0x05358394,
|
||||
xprivkey58: '2791',
|
||||
@ -968,10 +968,10 @@ segnet4.keyPrefix = {
|
||||
};
|
||||
|
||||
segnet4.addressPrefix = {
|
||||
pubkeyhash: 30,
|
||||
scripthash: 50,
|
||||
witnesspubkeyhash: 3,
|
||||
witnessscripthash: 40
|
||||
pubkeyhash: 0x1e,
|
||||
scripthash: 0x32,
|
||||
witnesspubkeyhash: 0x03,
|
||||
witnessscripthash: 0x28
|
||||
};
|
||||
|
||||
segnet4.requireStandard = false;
|
||||
@ -1102,7 +1102,7 @@ simnet.deployments = {
|
||||
};
|
||||
|
||||
simnet.keyPrefix = {
|
||||
privkey: 100,
|
||||
privkey: 0x64,
|
||||
xpubkey: 0x0420bd3a,
|
||||
xprivkey: 0x0420b900,
|
||||
xprivkey58: 'sprv',
|
||||
@ -1111,10 +1111,10 @@ simnet.keyPrefix = {
|
||||
};
|
||||
|
||||
simnet.addressPrefix = {
|
||||
pubkeyhash: 63,
|
||||
scripthash: 123,
|
||||
witnesspubkeyhash: 3,
|
||||
witnessscripthash: 40
|
||||
pubkeyhash: 0x3f,
|
||||
scripthash: 0x7b,
|
||||
witnesspubkeyhash: 0x03,
|
||||
witnessscripthash: 0x28
|
||||
};
|
||||
|
||||
simnet.requireStandard = false;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user