wallet: Move dust and fee per kb into networks.js

This commit is contained in:
Wei Lu 2014-06-17 12:03:14 +08:00
parent 562a492079
commit 45a72416c9
2 changed files with 15 additions and 11 deletions

View file

@ -9,7 +9,9 @@ module.exports = {
},
pubKeyHash: 0x00,
scriptHash: 0x05,
wif: 0x80
wif: 0x80,
dustThreshold: 5430, //should be 546 https://github.com/bitcoin/bitcoin/pull/2760/files
feePerKb: 20000
},
dogecoin: {
magicPrefix: '\x19Dogecoin Signed Message:\n',
@ -19,7 +21,9 @@ module.exports = {
},
pubKeyHash: 0x1e,
scriptHash: 0x16,
wif: 0x9e
wif: 0x9e,
dustThreshold: 1000000,
feePerKb: 100000000
},
litecoin: {
magicPrefix: '\x19Litecoin Signed Message:\n',
@ -29,7 +33,9 @@ module.exports = {
},
pubKeyHash: 0x30,
scriptHash: 0x05,
wif: 0xb0
wif: 0xb0,
dustThreshold: 1000,
feePerKb: 100000
},
testnet: {
magicPrefix: '\x18Bitcoin Signed Message:\n',
@ -39,6 +45,8 @@ module.exports = {
},
pubKeyHash: 0x6f,
scriptHash: 0xc4,
wif: 0xef
wif: 0xef,
dustThreshold: 5430,
feePerKb: 20000
}
}