networks: drop dogecoin and dustThreshold
This commit is contained in:
parent
078318094d
commit
a956b8859f
2 changed files with 4 additions and 19 deletions
|
@ -10,8 +10,7 @@ module.exports = {
|
||||||
},
|
},
|
||||||
pubKeyHash: 0x00,
|
pubKeyHash: 0x00,
|
||||||
scriptHash: 0x05,
|
scriptHash: 0x05,
|
||||||
wif: 0x80,
|
wif: 0x80
|
||||||
dustThreshold: 546 // https://github.com/bitcoin/bitcoin/blob/v0.9.2/src/core.h#L151-L162
|
|
||||||
},
|
},
|
||||||
testnet: {
|
testnet: {
|
||||||
messagePrefix: '\x18Bitcoin Signed Message:\n',
|
messagePrefix: '\x18Bitcoin Signed Message:\n',
|
||||||
|
@ -21,8 +20,7 @@ module.exports = {
|
||||||
},
|
},
|
||||||
pubKeyHash: 0x6f,
|
pubKeyHash: 0x6f,
|
||||||
scriptHash: 0xc4,
|
scriptHash: 0xc4,
|
||||||
wif: 0xef,
|
wif: 0xef
|
||||||
dustThreshold: 546
|
|
||||||
},
|
},
|
||||||
litecoin: {
|
litecoin: {
|
||||||
messagePrefix: '\x19Litecoin Signed Message:\n',
|
messagePrefix: '\x19Litecoin Signed Message:\n',
|
||||||
|
@ -32,18 +30,6 @@ module.exports = {
|
||||||
},
|
},
|
||||||
pubKeyHash: 0x30,
|
pubKeyHash: 0x30,
|
||||||
scriptHash: 0x05,
|
scriptHash: 0x05,
|
||||||
wif: 0xb0,
|
wif: 0xb0
|
||||||
dustThreshold: 0 // https://github.com/litecoin-project/litecoin/blob/v0.8.7.2/src/main.cpp#L360-L365
|
|
||||||
},
|
|
||||||
dogecoin: {
|
|
||||||
messagePrefix: '\x19Dogecoin Signed Message:\n',
|
|
||||||
bip32: {
|
|
||||||
public: 0x02facafd,
|
|
||||||
private: 0x02fac398
|
|
||||||
},
|
|
||||||
pubKeyHash: 0x1e,
|
|
||||||
scriptHash: 0x16,
|
|
||||||
wif: 0x9e,
|
|
||||||
dustThreshold: 0 // https://github.com/dogecoin/dogecoin/blob/v1.7.1/src/core.h#L155-L160
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -29,8 +29,7 @@ var Network = typeforce.compile({
|
||||||
},
|
},
|
||||||
pubKeyHash: typeforce.UInt8,
|
pubKeyHash: typeforce.UInt8,
|
||||||
scriptHash: typeforce.UInt8,
|
scriptHash: typeforce.UInt8,
|
||||||
wif: typeforce.UInt8,
|
wif: typeforce.UInt8
|
||||||
dustThreshold: Satoshi
|
|
||||||
})
|
})
|
||||||
|
|
||||||
// extend typeforce types with ours
|
// extend typeforce types with ours
|
||||||
|
|
Loading…
Add table
Reference in a new issue