pbca26
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
27 additions and
1 deletions
-
routes/electrumjs/electrumServers.js
-
routes/electrumjs/electrumjs.networks.js
-
routes/shepherd/electrum/network.js
|
|
@ -65,6 +65,17 @@ let electrumServers = { |
|
|
|
'electrum2.cipig.net:10008' |
|
|
|
], |
|
|
|
}, |
|
|
|
dnr: { // !estimatefee
|
|
|
|
address: 'denarius.tech', |
|
|
|
port: 50001, |
|
|
|
proto: 'tcp', |
|
|
|
txfee: 10000, |
|
|
|
abbr: 'DNR', |
|
|
|
serverList: [ |
|
|
|
'173.254.244.119:50001', |
|
|
|
'173.254.244.122:50001' |
|
|
|
], |
|
|
|
}, |
|
|
|
hodl: { // !estimatefee
|
|
|
|
address: 'electrum1.cipig.net', |
|
|
|
port: 10009, |
|
|
|
|
|
@ -18,6 +18,19 @@ networks.litecoin = { |
|
|
|
dustThreshold: 0 // https://github.com/litecoin-project/litecoin/blob/v0.8.7.2/src/main.cpp#L360-L365
|
|
|
|
}; |
|
|
|
|
|
|
|
networks.dnr = { |
|
|
|
messagePrefix: '\x19Denarius Signed Message:\n', |
|
|
|
bip32: { |
|
|
|
public: 0x0488b21e, |
|
|
|
private: 0x0488ade4, |
|
|
|
}, |
|
|
|
pubKeyHash: 0x1e, |
|
|
|
scriptHash: 0x5a, |
|
|
|
wif: 0x9e, |
|
|
|
dustThreshold: 1000, |
|
|
|
isPoS: true, |
|
|
|
}; |
|
|
|
|
|
|
|
networks.dogecoin = { |
|
|
|
messagePrefix: '\x19Dogecoin Signed Message:\n', |
|
|
|
bip32: { |
|
|
|
|
|
@ -22,7 +22,9 @@ module.exports = (shepherd) => { |
|
|
|
|
|
|
|
shepherd.isPos = (network) => { |
|
|
|
if (network === 'BLK' || |
|
|
|
network === 'blk') { |
|
|
|
network === 'blk' || |
|
|
|
network === 'DNR' || |
|
|
|
network === 'dnr') { |
|
|
|
return true; |
|
|
|
} |
|
|
|
}; |
|
|
|