Browse Source

feat(lnd): enable alternate btcd host

Latest version of lnd now supports connecting to and syncing from
multiple btcd hosts.

Enable testnet2 and mainnet2 btcd hosts.
renovate/lint-staged-8.x
Tom Kirkpatrick 6 years ago
parent
commit
92a785418d
No known key found for this signature in database GPG Key ID: 72203A8EC5967EA8
  1. 4
      app/lib/lnd/neutrino.js

4
app/lib/lnd/neutrino.js

@ -104,10 +104,10 @@ class Neutrino extends EventEmitter {
// Configure neutrino backend.
if (this.lndConfig.network === 'mainnet') {
neutrinoArgs.push('--neutrino.connect=mainnet1-btcd.zaphq.io')
// neutrinoArgs.push('--neutrino.connect=mainnet2-btcd.zaphq.io')
neutrinoArgs.push('--neutrino.connect=mainnet2-btcd.zaphq.io')
} else {
neutrinoArgs.push('--neutrino.connect=testnet1-btcd.zaphq.io')
// neutrinoArgs.push('--neutrino.connect=testnet2-btcd.zaphq.io')
neutrinoArgs.push('--neutrino.connect=testnet2-btcd.zaphq.io')
}
// Log the final config.

Loading…
Cancel
Save