Upgrade LND to v0.13.1; Upgrade wallet unlock logic

This commit is contained in:
Taylor Helsper 2021-07-24 22:57:11 -05:00
parent fb41f460dd
commit 5b3ed817b2
3 changed files with 3 additions and 13 deletions

View File

@ -31,17 +31,6 @@ else
sed -i "s/bitcoin.testnet=.*/bitcoin.testnet=1/g" /mnt/hdd/mynode/lnd/lnd.conf
cat /usr/share/mynode/lnd_testnet.conf >> /mnt/hdd/mynode/lnd/lnd.conf
fi
# Only add wallet-unlock-file line if wallet has been made
if [ -f /mnt/hdd/mynode/settings/.testnet_enabled ]; then
if [ -f /mnt/hdd/mynode/lnd/data/chain/bitcoin/testnet/wallet.db ]; then
sed -i "s/#wallet-unlock-password-file/wallet-unlock-password-file/g" /mnt/hdd/mynode/lnd/lnd.conf
fi
else
if [ -f /mnt/hdd/mynode/lnd/data/chain/bitcoin/mainnet/wallet.db ]; then
sed -i "s/#wallet-unlock-password-file/wallet-unlock-password-file/g" /mnt/hdd/mynode/lnd/lnd.conf
fi
fi
fi
# Append tor domain

View File

@ -21,7 +21,8 @@ debuglevel=info
#debuglevel=debug
# This line needs to be uncommented if you have a lnd wallet and commented if you do not
#wallet-unlock-password-file=/mnt/hdd/mynode/settings/.lndpw
wallet-unlock-password-file=/mnt/hdd/mynode/settings/.lndpw
wallet-unlock-allow-create=true
ignore-historical-gossip-filters=true
accept-keysend=true

View File

@ -4,7 +4,7 @@ BTC_VERSION="0.21.1"
BTC_VERSION_FILE=/home/bitcoin/.mynode/bitcoin_version
BTC_LATEST_VERSION_FILE=/home/bitcoin/.mynode/bitcoin_version_latest
LND_VERSION="v0.13.0-beta"
LND_VERSION="v0.13.1-beta"
LND_VERSION_FILE=/home/bitcoin/.mynode/lnd_version
LND_LATEST_VERSION_FILE=/home/bitcoin/.mynode/lnd_version_latest
LND_UPGRADE_MANIFEST_URL=https://github.com/lightningnetwork/lnd/releases/download/$LND_VERSION/manifest-$LND_VERSION.txt