LN SyncInfo & #4294 ChanTools (#4296)

* #4294 Update ChanTools to 0.12.0 for LND 0.17.x
This commit is contained in:
/rootzoll 2023-12-08 20:34:41 +01:00 committed by GitHub
parent f2d09038d5
commit 487ccd45b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 8 additions and 3 deletions

View File

@ -4,6 +4,7 @@
- Update: LND v0.17.2-beta [details](https://github.com/lightningnetwork/lnd/releases/tag/v0.17.2-beta) - Update: LND v0.17.2-beta [details](https://github.com/lightningnetwork/lnd/releases/tag/v0.17.2-beta)
- Update: Core Lightning v23.11 [details](https://github.com/ElementsProject/lightning/releases/tag/v23.11) - Update: Core Lightning v23.11 [details](https://github.com/ElementsProject/lightning/releases/tag/v23.11)
- Update: BTCPayServer v1.11.7 [details](https://github.com/btcpayserver/btcpayserver/releases/tag/v1.11.7) - Update: BTCPayServer v1.11.7 [details](https://github.com/btcpayserver/btcpayserver/releases/tag/v1.11.7)
- Update: Channel Tools (chantools) v0.12.0 [details](https://github.com/lightninglabs/chantools/releases/tag/v0.12.0)
- Update: LNbits 0.11.2 [details](https://github.com/lnbits/lnbits/releases/tag/0.11.2) - Update: LNbits 0.11.2 [details](https://github.com/lnbits/lnbits/releases/tag/0.11.2)
- Deprecated: Homer Dashboard (remove from SSH menus, config script will stay with possible future removal) - Deprecated: Homer Dashboard (remove from SSH menus, config script will stay with possible future removal)
- Deprecated: Bitcoinminds (remove from SSH menus, config script will stay with possible future removal) - Deprecated: Bitcoinminds (remove from SSH menus, config script will stay with possible future removal)

View File

@ -27,7 +27,7 @@ fi
if [ "$1" = "info" ]; then if [ "$1" = "info" ]; then
# check if installed # check if installed
cd /home/blitzapi/blitz_api cd /home/blitzapi/blitz_api 2>/dev/null
if [ "$?" != "0" ]; then if [ "$?" != "0" ]; then
echo "installed=0" echo "installed=0"
exit 1 exit 1

View File

@ -23,7 +23,7 @@ fi
if [ "$1" = "info" ]; then if [ "$1" = "info" ]; then
# check if installed # check if installed
cd /home/blitzapi/blitz_web cd /home/blitzapi/blitz_web 2>/dev/null
if [ "$?" != "0" ]; then if [ "$?" != "0" ]; then
echo "installed=0" echo "installed=0"
exit 1 exit 1

View File

@ -6,7 +6,7 @@
lndVersion=$(lncli -v | cut -d " " -f 3 | cut -d"." -f2) lndVersion=$(lncli -v | cut -d " " -f 3 | cut -d"." -f2)
if [ $lndVersion -gt 15 ]; then if [ $lndVersion -gt 15 ]; then
pinnedVersion="0.11.3" pinnedVersion="0.12.0"
else else
echo "# LND is not installed or is an outdated version (v0.15.x or lower)" echo "# LND is not installed or is an outdated version (v0.15.x or lower)"
lncli -v lncli -v

View File

@ -47,6 +47,8 @@ source <(/home/admin/_cache.sh get \
ln_default_ready \ ln_default_ready \
ln_default_sync_progress \ ln_default_sync_progress \
ln_default_recovery_mode \ ln_default_recovery_mode \
ln_default_peers \
ln_default_sync_chain \
system_count_start_lightning \ system_count_start_lightning \
) )
@ -64,6 +66,8 @@ if [ "${lightning}" != "" ] && [ "${ln_default_sync_progress}" == "" ]; then
fi fi
elif [ "${ln_default_sync_progress}" == "100.00" ] && [ "${ln_default_recovery_mode}" == "1" ]; then elif [ "${ln_default_sync_progress}" == "100.00" ] && [ "${ln_default_recovery_mode}" == "1" ]; then
scanProgress="recoverscan" scanProgress="recoverscan"
elif [ "${ln_default_sync_progress}" == "100.00" ] && [ "${ln_default_sync_chain}" == "1" ]; then
scanProgress="100.00 % ${ln_default_peers} peers"
elif [ ${#ln_default_sync_progress} -lt 6 ]; then elif [ ${#ln_default_sync_progress} -lt 6 ]; then
scanProgress=" ${ln_default_sync_progress} %" scanProgress=" ${ln_default_sync_progress} %"
else else