Mayank Chhabra
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
7 additions and
16 deletions
-
scripts/configure
-
templates/lnd-sample.conf
|
|
@ -113,13 +113,10 @@ if [ "$BITCOIN_NETWORK" == "testnet" ]; then |
|
|
|
sed -i "s/\#testnet=1/testnet=1/g" "$BITCOIN_CONF_FILE" |
|
|
|
# Switch LND to testnet |
|
|
|
sed -i "s/bitcoin.mainnet=1/bitcoin.testnet=1/g;" "$LND_CONF_FILE" |
|
|
|
# Comment mainnet neutrino peers |
|
|
|
sed -i "s/neutrino.addpeer=bb2.breez.technology/\;neutrino.addpeer=bb2.breez.technology/g;" "$LND_CONF_FILE" |
|
|
|
sed -i "s/neutrino.addpeer=mainnet1-btcd.zaphq.io/\;neutrino.addpeer=mainnet1-btcd.zaphq.io/g;" "$LND_CONF_FILE" |
|
|
|
sed -i "s/neutrino.addpeer=mainnet2-btcd.zaphq.io/\;neutrino.addpeer=mainnet2-btcd.zaphq.io/g;" "$LND_CONF_FILE" |
|
|
|
# Uncomment testnet neutrino peers |
|
|
|
sed -i "s/\;neutrino.addpeer=testnet1-btcd.zaphq.io/neutrino.addpeer=testnet1-btcd.zaphq.io/g;" "$LND_CONF_FILE" |
|
|
|
sed -i "s/\;neutrino.addpeer=testnet2-btcd.zaphq.io/neutrino.addpeer=testnet2-btcd.zaphq.io/g;" "$LND_CONF_FILE" |
|
|
|
# Uncomment testnet neutrino block and peers |
|
|
|
sed -i "s/\# \[neutrino\]/\[neutrino\]/g;" "$LND_CONF_FILE" |
|
|
|
sed -i "s/\# neutrino.addpeer=testnet1-btcd.zaphq.io/neutrino.addpeer=testnet1-btcd.zaphq.io/g;" "$LND_CONF_FILE" |
|
|
|
sed -i "s/\# neutrino.addpeer=testnet2-btcd.zaphq.io/neutrino.addpeer=testnet2-btcd.zaphq.io/g;" "$LND_CONF_FILE" |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
@ -24,17 +24,11 @@ bitcoin.mainnet=1 |
|
|
|
bitcoin.node=neutrino |
|
|
|
bitcoin.defaultchanconfs=2 |
|
|
|
|
|
|
|
[neutrino] |
|
|
|
# Mainnet neutrino peers that are automatically |
|
|
|
# commented if Umbrel is not configured for mainnet |
|
|
|
neutrino.addpeer=bb2.breez.technology |
|
|
|
neutrino.addpeer=mainnet1-btcd.zaphq.io |
|
|
|
neutrino.addpeer=mainnet2-btcd.zaphq.io |
|
|
|
|
|
|
|
# [neutrino] |
|
|
|
# Testnet neutrino peers that are automatically |
|
|
|
# uncommented if Umbrel is configured for testnet |
|
|
|
;neutrino.addpeer=testnet1-btcd.zaphq.io |
|
|
|
;neutrino.addpeer=testnet2-btcd.zaphq.io |
|
|
|
# neutrino.addpeer=testnet1-btcd.zaphq.io |
|
|
|
# neutrino.addpeer=testnet2-btcd.zaphq.io |
|
|
|
|
|
|
|
[tor] |
|
|
|
tor.active=1 |
|
|
|