Network specific constants reference the latest tags
This commit is contained in:
parent
bc3e0770f9
commit
c4285d9da2
1 changed files with 8 additions and 8 deletions
|
@ -11,8 +11,8 @@ var networks = {
|
||||||
pubKeyHash: 0x00,
|
pubKeyHash: 0x00,
|
||||||
scriptHash: 0x05,
|
scriptHash: 0x05,
|
||||||
wif: 0x80,
|
wif: 0x80,
|
||||||
dustThreshold: 546,
|
dustThreshold: 546, // https://github.com/bitcoin/bitcoin/blob/v0.9.2/src/core.h#L151-L162
|
||||||
feePerKb: 10000,
|
feePerKb: 10000, // https://github.com/bitcoin/bitcoin/blob/v0.9.2/src/main.cpp#L53
|
||||||
estimateFee: estimateFee('bitcoin')
|
estimateFee: estimateFee('bitcoin')
|
||||||
},
|
},
|
||||||
dogecoin: {
|
dogecoin: {
|
||||||
|
@ -24,9 +24,9 @@ var networks = {
|
||||||
pubKeyHash: 0x1e,
|
pubKeyHash: 0x1e,
|
||||||
scriptHash: 0x16,
|
scriptHash: 0x16,
|
||||||
wif: 0x9e,
|
wif: 0x9e,
|
||||||
dustThreshold: 0,
|
dustThreshold: 0, // https://github.com/dogecoin/dogecoin/blob/v1.7.1/src/core.h#L155-L160
|
||||||
dustSoftThreshold: 100000000,
|
dustSoftThreshold: 100000000, // https://github.com/dogecoin/dogecoin/blob/v1.7.1/src/main.h#L62
|
||||||
feePerKb: 100000000,
|
feePerKb: 100000000, // https://github.com/dogecoin/dogecoin/blob/v1.7.1/src/main.cpp#L58
|
||||||
estimateFee: estimateFee('dogecoin')
|
estimateFee: estimateFee('dogecoin')
|
||||||
},
|
},
|
||||||
litecoin: {
|
litecoin: {
|
||||||
|
@ -38,9 +38,9 @@ var networks = {
|
||||||
pubKeyHash: 0x30,
|
pubKeyHash: 0x30,
|
||||||
scriptHash: 0x05,
|
scriptHash: 0x05,
|
||||||
wif: 0xb0,
|
wif: 0xb0,
|
||||||
dustThreshold: 0,
|
dustThreshold: 0, // https://github.com/litecoin-project/litecoin/blob/v0.8.7.2/src/main.cpp#L360-L365
|
||||||
dustSoftThreshold: 100000,
|
dustSoftThreshold: 100000, // https://github.com/litecoin-project/litecoin/blob/v0.8.7.2/src/main.h#L53
|
||||||
feePerKb: 100000,
|
feePerKb: 100000, // https://github.com/litecoin-project/litecoin/blob/v0.8.7.2/src/main.cpp#L56
|
||||||
estimateFee: estimateFee('litecoin')
|
estimateFee: estimateFee('litecoin')
|
||||||
},
|
},
|
||||||
testnet: {
|
testnet: {
|
||||||
|
|
Loading…
Reference in a new issue