Upgrade LND to v0.13.1; Upgrade wallet unlock logic
This commit is contained in:
parent
fb41f460dd
commit
5b3ed817b2
|
@ -31,17 +31,6 @@ else
|
||||||
sed -i "s/bitcoin.testnet=.*/bitcoin.testnet=1/g" /mnt/hdd/mynode/lnd/lnd.conf
|
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
|
cat /usr/share/mynode/lnd_testnet.conf >> /mnt/hdd/mynode/lnd/lnd.conf
|
||||||
fi
|
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
|
fi
|
||||||
|
|
||||||
# Append tor domain
|
# Append tor domain
|
||||||
|
|
|
@ -21,7 +21,8 @@ debuglevel=info
|
||||||
#debuglevel=debug
|
#debuglevel=debug
|
||||||
|
|
||||||
# This line needs to be uncommented if you have a lnd wallet and commented if you do not
|
# 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
|
ignore-historical-gossip-filters=true
|
||||||
accept-keysend=true
|
accept-keysend=true
|
||||||
|
|
|
@ -4,7 +4,7 @@ BTC_VERSION="0.21.1"
|
||||||
BTC_VERSION_FILE=/home/bitcoin/.mynode/bitcoin_version
|
BTC_VERSION_FILE=/home/bitcoin/.mynode/bitcoin_version
|
||||||
BTC_LATEST_VERSION_FILE=/home/bitcoin/.mynode/bitcoin_version_latest
|
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_VERSION_FILE=/home/bitcoin/.mynode/lnd_version
|
||||||
LND_LATEST_VERSION_FILE=/home/bitcoin/.mynode/lnd_version_latest
|
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
|
LND_UPGRADE_MANIFEST_URL=https://github.com/lightningnetwork/lnd/releases/download/$LND_VERSION/manifest-$LND_VERSION.txt
|
||||||
|
|
Loading…
Reference in New Issue
Block a user