Browse Source

update btc, dgb, zec spv servers

custom-ac-example
pbca26 7 years ago
parent
commit
04b7818ec2
  1. 2
      main.js
  2. 18
      routes/electrumjs/electrumServers.js

2
main.js

@ -489,4 +489,4 @@ function formatBytes(bytes, decimals) {
const i = Math.floor(Math.log(bytes) / Math.log(k)); const i = Math.floor(Math.log(bytes) / Math.log(k));
return `${parseFloat((bytes / Math.pow(k, i)).toFixed(dm))} ${sizes[i]}`; return `${parseFloat((bytes / Math.pow(k, i)).toFixed(dm))} ${sizes[i]}`;
} }

18
routes/electrumjs/electrumServers.js

@ -346,14 +346,14 @@ let electrumServers = {
], ],
}, },
dgb: { dgb: {
address: '173.212.225.176', address: 'electrum1.cipig.net',
port: 50022, port: 10059,
proto: 'tcp', proto: 'tcp',
txfee: 100000, txfee: 100000,
abbr: 'DGB', abbr: 'DGB',
serverList: [ serverList: [
'173.212.225.176:50022', 'electrum1.cipig.net:10059',
'136.243.45.140:50022' 'electrum2.cipig.net:10059'
], ],
}, },
dash: { dash: {
@ -384,6 +384,8 @@ let electrumServers = {
proto: 'tcp', proto: 'tcp',
abbr: 'BTC', abbr: 'BTC',
serverList: [ serverList: [
'electrum1.cipig.net:10000',
'electrum2.cipig.net:10000',
'mooo.not.fyi:50011', 'mooo.not.fyi:50011',
'e-x.not.fyi:50001', 'e-x.not.fyi:50001',
'vps.hsmiths.com:50001', 'vps.hsmiths.com:50001',
@ -461,14 +463,14 @@ let electrumServers = {
], ],
}, },
zec: { zec: {
address: '173.212.225.176', address: 'electrum1.cipig.net',
port: 50032, port: 10058,
proto: 'tcp', proto: 'tcp',
txfee: 10000, txfee: 10000,
abbr: 'ZEC', abbr: 'ZEC',
serverList: [ serverList: [
'173.212.225.176:50032', 'electrum1.cipig.net:10058',
'136.243.45.140:50032' 'electrum2.cipig.net:10058'
], ],
}, },
hush: { hush: {

Loading…
Cancel
Save