mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-12-25 22:18:07 +00:00
Upgrade LND to v0.15.4; Verify sig from roasbeef or guggero
This commit is contained in:
parent
0be8ecd637
commit
3b97dc16e1
|
@ -393,9 +393,11 @@ if [ "$CURRENT" != "$LND_VERSION" ]; then
|
|||
|
||||
wget $LND_UPGRADE_URL
|
||||
wget $LND_UPGRADE_MANIFEST_URL -O manifest.txt
|
||||
wget $LND_UPGRADE_MANIFEST_SIG_URL -O manifest.txt.sig
|
||||
wget $LND_UPGRADE_MANIFEST_ROASBEEF_SIG_URL -O manifest_roasbeef.txt.sig || true
|
||||
wget $LND_UPGRADE_MANIFEST_GUGGERO_SIG_URL -O manifest_guggero.txt.sig || true
|
||||
|
||||
gpg --verify manifest.txt.sig manifest.txt
|
||||
gpg --verify manifest_roasbeef.txt.sig manifest.txt || \
|
||||
gpg --verify manifest_guggero.txt.sig manifest.txt
|
||||
if [ $? == 0 ]; then
|
||||
# Install LND
|
||||
tar -xzf lnd-*.tar.gz
|
||||
|
|
|
@ -21,12 +21,13 @@ BTC_VERSION=$(get_app_version "$BTC_VERSION" "bitcoin")
|
|||
BTC_VERSION_FILE=/home/bitcoin/.mynode/bitcoin_version
|
||||
BTC_LATEST_VERSION_FILE=/home/bitcoin/.mynode/bitcoin_version_latest
|
||||
|
||||
LND_VERSION="v0.15.2-beta"
|
||||
LND_VERSION="v0.15.4-beta"
|
||||
LND_VERSION=$(get_app_version "$LND_VERSION" "lnd")
|
||||
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
|
||||
LND_UPGRADE_MANIFEST_SIG_URL=https://github.com/lightningnetwork/lnd/releases/download/$LND_VERSION/manifest-roasbeef-$LND_VERSION.sig
|
||||
LND_UPGRADE_MANIFEST_ROASBEEF_SIG_URL=https://github.com/lightningnetwork/lnd/releases/download/$LND_VERSION/manifest-roasbeef-$LND_VERSION.sig
|
||||
LND_UPGRADE_MANIFEST_GUGGERO_SIG_URL=https://github.com/lightningnetwork/lnd/releases/download/$LND_VERSION/manifest-guggero-$LND_VERSION.sig
|
||||
|
||||
LOOP_VERSION="v0.20.1-beta"
|
||||
LOOP_VERSION=$(get_app_version "$LOOP_VERSION" "loop")
|
||||
|
|
|
@ -456,9 +456,11 @@ if [ "$CURRENT" != "$LND_VERSION" ]; then
|
|||
|
||||
wget $LND_UPGRADE_URL
|
||||
wget $LND_UPGRADE_MANIFEST_URL -O manifest.txt
|
||||
wget $LND_UPGRADE_MANIFEST_SIG_URL -O manifest.txt.sig
|
||||
wget $LND_UPGRADE_MANIFEST_ROASBEEF_SIG_URL -O manifest_roasbeef.txt.sig || true
|
||||
wget $LND_UPGRADE_MANIFEST_GUGGERO_SIG_URL -O manifest_guggero.txt.sig || true
|
||||
|
||||
gpg --verify manifest.txt.sig manifest.txt
|
||||
gpg --verify manifest_roasbeef.txt.sig manifest.txt || \
|
||||
gpg --verify manifest_guggero.txt.sig manifest.txt
|
||||
|
||||
tar -xzf lnd-*.tar.gz
|
||||
mv $LND_ARCH-$LND_VERSION lnd
|
||||
|
|
Loading…
Reference in New Issue
Block a user