miner changes

This commit is contained in:
Chris Troutner
2020-04-07 20:57:37 -07:00
parent fe15354b9b
commit 769fd5919f
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -18,7 +18,6 @@ const config = {
// 'electron.jochen-hoenicke.de:51002'
// ]
serverUrl: 'fulcrum.fountainhead.cash',
// serverUrl: 'badurl.com',
serverPort: '50002'
},
ratelimit: {
@@ -30,6 +29,9 @@ const config = {
if (process.env.NETWORK === 'testnet') {
config.electrum.serverUrl = 'blackie.c3-soft.com'
config.electrum.serverPort = '60002'
// config.electrum.serverUrl = '192.168.0.6'
// config.electrum.serverPort = '50001'
}
module.exports = config
+1 -1
View File
@@ -50,7 +50,7 @@ class Electrum {
// Initializes a connection to electrum servers.
async connect () {
try {
console.log('Attempting to connect to ElectrumX server...)')
console.log('Attempting to connect to ElectrumX server...')
// Return immediately if a connection has already been established.
if (_this.isReady) return true