mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-20 13:02:21 +02:00
chantools update to v0.10.1
This commit is contained in:
@@ -8,6 +8,7 @@
|
|||||||
- Update: LND v0.14.1-beta [details](https://github.com/lightningnetwork/lnd/releases/tag/v0.14.1-beta)
|
- Update: LND v0.14.1-beta [details](https://github.com/lightningnetwork/lnd/releases/tag/v0.14.1-beta)
|
||||||
- Update: C-lightning v0.10.2 [details](https://github.com/ElementsProject/lightning/releases/tag/v0.10.2)
|
- Update: C-lightning v0.10.2 [details](https://github.com/ElementsProject/lightning/releases/tag/v0.10.2)
|
||||||
- Update: Lightning Terminal v0.6.1-alpha with Lightning Node Connect over Tor [details](https://github.com/lightninglabs/lightning-terminal/releases/tag/v0.6.1-alpha)
|
- Update: Lightning Terminal v0.6.1-alpha with Lightning Node Connect over Tor [details](https://github.com/lightninglabs/lightning-terminal/releases/tag/v0.6.1-alpha)
|
||||||
|
_ Update: Channel Tools (chantools) v0.10.1 [details](https://github.com/guggero/chantools/releases/tag/v0.10.1)
|
||||||
- Update: BTCPayServer v1.3.6 with UPDATE option [details](https://github.com/btcpayserver/btcpayserver/releases/tag/v1.3.6)
|
- Update: BTCPayServer v1.3.6 with UPDATE option [details](https://github.com/btcpayserver/btcpayserver/releases/tag/v1.3.6)
|
||||||
- Update: Electrum Server in Rust (electrs) v0.9.3 [details](https://github.com/romanz/electrs/blob/v0.9.3/RELEASE-NOTES.md)
|
- Update: Electrum Server in Rust (electrs) v0.9.3 [details](https://github.com/romanz/electrs/blob/v0.9.3/RELEASE-NOTES.md)
|
||||||
- Update: JoinMarket v0.9.4 [details](https://github.com/JoinMarket-Org/joinmarket-clientserver/releases/tag/v0.9.4)
|
- Update: JoinMarket v0.9.4 [details](https://github.com/JoinMarket-Org/joinmarket-clientserver/releases/tag/v0.9.4)
|
||||||
|
@@ -5,12 +5,8 @@
|
|||||||
# see https://github.com/guggero/chantools/releases
|
# see https://github.com/guggero/chantools/releases
|
||||||
|
|
||||||
lndVersion=$(lncli -v | cut -d " " -f 3 | cut -d"." -f2)
|
lndVersion=$(lncli -v | cut -d " " -f 3 | cut -d"." -f2)
|
||||||
if [ $lndVersion -eq 13 ]; then
|
if [ $lndVersion -eq 14 ]; then
|
||||||
pinnedVersion="0.9.3"
|
pinnedVersion="0.10.1"
|
||||||
elif [ $lndVersion -eq 12 ]; then
|
|
||||||
pinnedVersion="0.8.2"
|
|
||||||
elif [ $lndVersion -eq 11 ]; then
|
|
||||||
pinnedVersion="0.7.1"
|
|
||||||
else
|
else
|
||||||
echo "# LND not installed or a version not tested with chantools"
|
echo "# LND not installed or a version not tested with chantools"
|
||||||
lncli -v
|
lncli -v
|
||||||
@@ -80,7 +76,7 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then
|
|||||||
sudo -u admin wget -N https://github.com/guggero/chantools/releases/download/v${pinnedVersion}/${binaryName}
|
sudo -u admin wget -N https://github.com/guggero/chantools/releases/download/v${pinnedVersion}/${binaryName}
|
||||||
|
|
||||||
# check binary was not manipulated (checksum test)
|
# check binary was not manipulated (checksum test)
|
||||||
sudo -u admin wget -N https://github.com/guggero/chantools/releases/download/v${pinnedVersion}/manifest-v${pinnedVersion}.txt.sig
|
sudo -u admin wget -N https://github.com/guggero/chantools/releases/download/v${pinnedVersion}/manifest-v${pinnedVersion}.txt
|
||||||
sudo -u admin wget --no-check-certificate -N -O "${downloadDir}/pgp_keys.asc" ${PGPpkeys}
|
sudo -u admin wget --no-check-certificate -N -O "${downloadDir}/pgp_keys.asc" ${PGPpkeys}
|
||||||
binaryChecksum=$(sha256sum ${binaryName} | cut -d " " -f1)
|
binaryChecksum=$(sha256sum ${binaryName} | cut -d " " -f1)
|
||||||
if [ "${binaryChecksum}" != "${SHA256}" ]; then
|
if [ "${binaryChecksum}" != "${SHA256}" ]; then
|
||||||
@@ -100,8 +96,10 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then
|
|||||||
fi
|
fi
|
||||||
gpg --import ./pgp_keys.asc
|
gpg --import ./pgp_keys.asc
|
||||||
sleep 3
|
sleep 3
|
||||||
echo "# running: gpg --verify manifest-v${pinnedVersion}.txt.sig"
|
sudo -u admin wget -N https://github.com/guggero/chantools/releases/download/v${pinnedVersion}/manifest-v${pinnedVersion}.sig
|
||||||
verifyResult=$(gpg --verify manifest-v${pinnedVersion}.txt.sig 2>&1)
|
|
||||||
|
echo "# running: gpg --verify manifest-v${pinnedVersion}.sig manifest-v${pinnedVersion}.txt"
|
||||||
|
verifyResult=$(gpg --verify manifest-v${pinnedVersion}.sig manifest-v${pinnedVersion}.txt 2>&1)
|
||||||
echo "# verifyResult(${verifyResult})"
|
echo "# verifyResult(${verifyResult})"
|
||||||
goodSignature=$(echo ${verifyResult} | grep 'Good signature' -c)
|
goodSignature=$(echo ${verifyResult} | grep 'Good signature' -c)
|
||||||
echo "# goodSignature(${goodSignature})"
|
echo "# goodSignature(${goodSignature})"
|
||||||
|
Reference in New Issue
Block a user