mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2024-11-19 09:50:19 +01:00
update LND to 0.6-beta-rc3
This commit is contained in:
parent
0833e0789c
commit
9bb131674a
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "*****************************************"
|
echo "*****************************************"
|
||||||
echo "* RASPIBLITZ SD CARD IMAGE SETUP v1.1 *"
|
echo "* RASPIBLITZ SD CARD IMAGE SETUP v1.2 *"
|
||||||
echo "*****************************************"
|
echo "*****************************************"
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
@ -415,9 +415,16 @@ echo ""
|
|||||||
echo "*** LND ***"
|
echo "*** LND ***"
|
||||||
|
|
||||||
## based on https://github.com/Stadicus/guides/blob/master/raspibolt/raspibolt_40_lnd.md#lightning-lnd
|
## based on https://github.com/Stadicus/guides/blob/master/raspibolt/raspibolt_40_lnd.md#lightning-lnd
|
||||||
lndVersion="0.5.2-beta"
|
lndVersion="0.6-beta-rc3"
|
||||||
lndSHA256="9adf9f3d0b8a62942f68d75ffe043f9255319209f751dee4eac82375ec0a86cd"
|
lndSHA256="811a5fde2f804caaa7334d30d31666798420f1a353bb91ae84d897c2fd2432a0"
|
||||||
olaoluwaPGP="BD599672C804AF2770869A048B80CD2BB8BD8132"
|
|
||||||
|
# olaoluwa
|
||||||
|
#PGPpkeys = "https://keybase.io/bitconner/pgp_keys.asc"
|
||||||
|
#PGPcheck = "BD599672C804AF2770869A048B80CD2BB8BD8132"
|
||||||
|
|
||||||
|
# bitconner
|
||||||
|
PGPpkeys = "https://keybase.io/bitconner/pgp_keys.asc"
|
||||||
|
PGPcheck = "9C8D61868A7C492003B2744EE7D737B67FA592C7"
|
||||||
|
|
||||||
# get LND resources
|
# get LND resources
|
||||||
cd /home/admin/download
|
cd /home/admin/download
|
||||||
@ -425,7 +432,7 @@ binaryName="lnd-linux-armv7-v${lndVersion}.tar.gz"
|
|||||||
sudo -u admin wget https://github.com/lightningnetwork/lnd/releases/download/v${lndVersion}/${binaryName}
|
sudo -u admin wget https://github.com/lightningnetwork/lnd/releases/download/v${lndVersion}/${binaryName}
|
||||||
sudo -u admin wget https://github.com/lightningnetwork/lnd/releases/download/v${lndVersion}/manifest-v${lndVersion}.txt
|
sudo -u admin wget https://github.com/lightningnetwork/lnd/releases/download/v${lndVersion}/manifest-v${lndVersion}.txt
|
||||||
sudo -u admin wget https://github.com/lightningnetwork/lnd/releases/download/v${lndVersion}/manifest-v${lndVersion}.txt.sig
|
sudo -u admin wget https://github.com/lightningnetwork/lnd/releases/download/v${lndVersion}/manifest-v${lndVersion}.txt.sig
|
||||||
sudo -u admin wget https://keybase.io/roasbeef/pgp_keys.asc
|
sudo -u admin wget -O pgp_keys.asc ${PGPpkeys}
|
||||||
|
|
||||||
# check binary is was not manipulated (checksum test)
|
# check binary is was not manipulated (checksum test)
|
||||||
binaryChecksum=$(sha256sum ${binaryName} | cut -d " " -f1)
|
binaryChecksum=$(sha256sum ${binaryName} | cut -d " " -f1)
|
||||||
@ -436,11 +443,11 @@ fi
|
|||||||
|
|
||||||
# check gpg finger print
|
# check gpg finger print
|
||||||
gpg ./pgp_keys.asc
|
gpg ./pgp_keys.asc
|
||||||
fingerprint=$(gpg ./pgp_keys.asc 2>/dev/null | grep "${olaoluwaPGP}" -c)
|
fingerprint=$(gpg ./pgp_keys.asc 2>/dev/null | grep "${PGPcheck}" -c)
|
||||||
if [ ${fingerprint} -lt 1 ]; then
|
if [ ${fingerprint} -lt 1 ]; then
|
||||||
echo ""
|
echo ""
|
||||||
echo "!!! BUILD WARNING --> Bitcoin PGP author not as expected"
|
echo "!!! BUILD WARNING --> LND PGP author not as expected"
|
||||||
echo "Should contain olaoluwaPGP: ${olaoluwaPGP}"
|
echo "Should contain PGP: ${PGPcheck}"
|
||||||
echo "PRESS ENTER to TAKE THE RISK if you think all is OK"
|
echo "PRESS ENTER to TAKE THE RISK if you think all is OK"
|
||||||
read key
|
read key
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user