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
No known key found for this signature in database
GPG Key ID: 72203A8EC5967EA8
1 changed files with
2 additions and
2 deletions
-
app/lib/lnd/neutrino.js
|
@ -104,10 +104,10 @@ class Neutrino extends EventEmitter { |
|
|
// Configure neutrino backend.
|
|
|
// Configure neutrino backend.
|
|
|
if (this.lndConfig.network === 'mainnet') { |
|
|
if (this.lndConfig.network === 'mainnet') { |
|
|
neutrinoArgs.push('--neutrino.connect=mainnet1-btcd.zaphq.io') |
|
|
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 { |
|
|
} else { |
|
|
neutrinoArgs.push('--neutrino.connect=testnet1-btcd.zaphq.io') |
|
|
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.
|
|
|
// Log the final config.
|
|
|