mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-11-18 18:07:45 +01:00
LIT update to v0.9.2-alpha (#3738)
* LIT update to v0.9.2-alpha * lnd check for rpcmiddleware
This commit is contained in:
@@ -65,7 +65,7 @@
|
|||||||
- Update: C-lightningREST v0.7.2 [details](https://github.com/Ride-The-Lightning/c-lightning-REST/releases/tag/v0.7.2)
|
- Update: C-lightningREST v0.7.2 [details](https://github.com/Ride-The-Lightning/c-lightning-REST/releases/tag/v0.7.2)
|
||||||
- Update: CLBOSS 0.13A [details](https://github.com/ZmnSCPxj/clboss/releases/tag/0.13A)
|
- Update: CLBOSS 0.13A [details](https://github.com/ZmnSCPxj/clboss/releases/tag/0.13A)
|
||||||
- Update: Channel Tools (chantools) v0.10.4 [details](https://github.com/guggero/chantools/blob/master/README.md)
|
- Update: Channel Tools (chantools) v0.10.4 [details](https://github.com/guggero/chantools/blob/master/README.md)
|
||||||
- Update: Lightning Terminal v0.7.0-alpha with Lightning Node Connect over Tor [details](https://github.com/lightninglabs/lightning-terminal/releases/tag/v0.7.0-alpha)
|
- Update: Lightning Terminal v0.9.2-alpha with Lightning Node Connect over Tor [details](https://github.com/lightninglabs/lightning-terminal/releases/tag/v0.9.2-alpha)
|
||||||
- Update: JoinMarket v0.9.6 [details](https://github.com/JoinMarket-Org/joinmarket-clientserver/releases/tag/v0.9.6)
|
- Update: JoinMarket v0.9.6 [details](https://github.com/JoinMarket-Org/joinmarket-clientserver/releases/tag/v0.9.6)
|
||||||
- Update: JoininBox v0.6.8 [details](https://github.com/openoms/joininbox/releases/tag/v0.6.8)
|
- Update: JoininBox v0.6.8 [details](https://github.com/openoms/joininbox/releases/tag/v0.6.8)
|
||||||
- Update: JoinMarket Web UI (Jam) v0.0.9 (CLI install script) [details](https://github.com/joinmarket-webui/joinmarket-webui/releases/tag/v0.0.9)
|
- Update: JoinMarket Web UI (Jam) v0.0.9 (CLI install script) [details](https://github.com/joinmarket-webui/joinmarket-webui/releases/tag/v0.0.9)
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# https://github.com/lightninglabs/lightning-terminal/releases
|
# https://github.com/lightninglabs/lightning-terminal/releases
|
||||||
LITVERSION="0.8.6-alpha"
|
LITVERSION="0.9.2-alpha"
|
||||||
|
|
||||||
# command info
|
# command info
|
||||||
if [ $# -eq 0 ] || [ "$1" = "-h" ] || [ "$1" = "-help" ]; then
|
if [ $# -eq 0 ] || [ "$1" = "-h" ] || [ "$1" = "-help" ]; then
|
||||||
@@ -14,15 +14,18 @@ fi
|
|||||||
# check who signed the release in https://github.com/lightninglabs/lightning-terminal/releases
|
# check who signed the release in https://github.com/lightninglabs/lightning-terminal/releases
|
||||||
PGPsigner="ellemouton"
|
PGPsigner="ellemouton"
|
||||||
|
|
||||||
if [ $PGPsigner = ellemouton ];then
|
if [ $PGPsigner = ellemouton ]; then
|
||||||
PGPpkeys="https://github.com/${PGPsigner}.gpg"
|
PGPpkeys="https://github.com/${PGPsigner}.gpg"
|
||||||
PGPcheck="D7D916376026F177"
|
PGPcheck="D7D916376026F177"
|
||||||
elif [ $PGPsigner = guggero ];then
|
elif [ $PGPsigner = guggero ]; then
|
||||||
PGPpkeys="https://keybase.io/${PGPsigner}/pgp_keys.asc"
|
PGPpkeys="https://keybase.io/${PGPsigner}/pgp_keys.asc"
|
||||||
PGPcheck="03DB6322267C373B"
|
PGPcheck="03DB6322267C373B"
|
||||||
elif [ $PGPsigner = roasbeef ];then
|
elif [ $PGPsigner = roasbeef ]; then
|
||||||
PGPpkeys="https://keybase.io/${PGPsigner}/pgp_keys.asc "
|
PGPpkeys="https://keybase.io/${PGPsigner}/pgp_keys.asc "
|
||||||
PGPcheck="3BBD59E99B280306"
|
PGPcheck="3BBD59E99B280306"
|
||||||
|
elif [ $PGPsigner = ellemouton ]; then
|
||||||
|
PGPpkeys="https://keybase.io/ellemo/pgp_keys.asc "
|
||||||
|
PGPcheck="D7D916376026F17"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
source /mnt/hdd/raspiblitz.conf
|
source /mnt/hdd/raspiblitz.conf
|
||||||
|
|||||||
@@ -305,6 +305,39 @@ fi
|
|||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
##### RPCMIDDLEWARE SECTION #####
|
||||||
|
|
||||||
|
# [rpcmiddleware]
|
||||||
|
sectionName="[Rr]pcmiddleware"
|
||||||
|
echo "# [${sectionName}] config ..."
|
||||||
|
|
||||||
|
# make sure lnd config has a [rpcmiddleware] section
|
||||||
|
sectionExists=$(cat ${lndConfFile} | grep -c "^\[${sectionName}\]")
|
||||||
|
echo "# sectionExists(${sectionExists})"
|
||||||
|
if [ "${sectionExists}" == "0" ]; then
|
||||||
|
echo "# adding section [${sectionName}]"
|
||||||
|
echo "
|
||||||
|
[${sectionName}]
|
||||||
|
" | tee -a ${lndConfFile}
|
||||||
|
fi
|
||||||
|
|
||||||
|
# get line number of [rpcmiddleware] section
|
||||||
|
sectionLine=$(cat ${lndConfFile} | grep -n "^\[${sectionName}\]" | cut -d ":" -f1)
|
||||||
|
echo "# sectionLine(${sectionLine})"
|
||||||
|
insertLine=$(expr $sectionLine + 1)
|
||||||
|
echo "# insertLine(${insertLine})"
|
||||||
|
fileLines=$(wc -l ${lndConfFile} | cut -d " " -f1)
|
||||||
|
echo "# fileLines(${fileLines})"
|
||||||
|
if [ ${fileLines} -lt ${insertLine} ]; then
|
||||||
|
echo "# adding new line for inserts"
|
||||||
|
echo "
|
||||||
|
" | tee -a ${lndConfFile}
|
||||||
|
fi
|
||||||
|
|
||||||
|
# SET/UPDATE rpcmiddleware.enable
|
||||||
|
setting ${lndConfFile} ${insertLine} "rpcmiddleware.enable" "true"
|
||||||
|
|
||||||
|
|
||||||
echo "# OK PRESTART DONE"
|
echo "# OK PRESTART DONE"
|
||||||
|
|
||||||
######################################################################
|
######################################################################
|
||||||
|
|||||||
Reference in New Issue
Block a user