mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-11 05:09:40 +02:00
Lnd v0.15.1 (#3320)
This commit is contained in:
parent
2f6877a8db
commit
6ee15019db
@ -2,9 +2,11 @@
|
||||
|
||||
## What's new in Version 1.8.1 of RaspiBlitz?
|
||||
|
||||
- Update: LND v0.15.1 [details](https://github.com/lightningnetwork/lnd/releases/tag/v0.15.1-beta)
|
||||
- Update: LNbits 0.9.2 [details](https://github.com/lnbits/lnbits-legend/releases/tag/0.9.2)
|
||||
- Info: Run RaspiBlitz on Proxmox [details](https://github.com/rootzoll/raspiblitz/tree/dev/alternative.platforms/Proxmox)
|
||||
|
||||
|
||||
## What's new in Version 1.8.0 of RaspiBlitz?
|
||||
|
||||
- New: Multilanguage WebUI [details](https://github.com/cstenglein/raspiblitz-web)
|
||||
|
@ -4,7 +4,7 @@
|
||||
## based on https://raspibolt.github.io/raspibolt/raspibolt_40_lnd.html#lightning-lnd
|
||||
## see LND releases: https://github.com/lightningnetwork/lnd/releases
|
||||
### If you change here - make sure to also change interims version in lnd.update.sh #!
|
||||
lndVersion="0.15.0-beta"
|
||||
lndVersion="0.15.1-beta"
|
||||
|
||||
# olaoluwa
|
||||
PGPauthor="roasbeef"
|
||||
@ -28,7 +28,7 @@ if [ $# -eq 0 ] || [ "$1" = "-h" ] || [ "$1" = "-help" ];then
|
||||
echo "lnd.install.sh install - called by the build_sdcard.sh"
|
||||
echo "lnd.install.sh info [?compareVersion]"
|
||||
echo "lnd.install.sh on [mainnet|testnet|signet] [?initwallet]"
|
||||
echo "lnd.install.sh off [mainnet|testnet|signet]"
|
||||
echo "lnd.install.sh off [mainnet|testnet|signet] <purge>"
|
||||
echo "lnd.install.sh display-seed [mainnet|testnet|signet] [?delete]"
|
||||
echo
|
||||
exit 1
|
||||
@ -202,7 +202,11 @@ fi
|
||||
|
||||
# CHAIN is signet | testnet | mainnet
|
||||
CHAIN=$2
|
||||
if [ ${CHAIN} = testnet ]||[ ${CHAIN} = mainnet ]||[ ${CHAIN} = signet ];then
|
||||
if [ -z "${CHAIN}" ] || [ "$2" = purge ]; then
|
||||
source /mnt/hdd/raspiblitz.conf
|
||||
CHAIN=${chain}net
|
||||
fi
|
||||
if [ "${CHAIN}" = testnet ]||[ "${CHAIN}" = mainnet ]||[ "${CHAIN}" = signet ];then
|
||||
echo "# Configuring the LND instance on ${CHAIN}"
|
||||
else
|
||||
echo "# ${CHAIN} is not supported"
|
||||
@ -548,16 +552,27 @@ if [ "$1" = "0" ] || [ "$1" = "off" ]; then
|
||||
# if lnd mainnet was default - remove
|
||||
if [ "${CHAIN}" == "mainnet" ] && [ "${lightning}" == "lnd" ]; then
|
||||
echo "# LND is REMOVED as default lightning implementation"
|
||||
/home/admin/config.scripts/blitz.conf.sh set lightning ""
|
||||
/home/admin/config.scripts/blitz.conf.sh set lightning "none"
|
||||
if [ "${cl}" == "on" ]; then
|
||||
echo "# CL is now the new default lightning implementation"
|
||||
/home/admin/config.scripts/blitz.conf.sh set lightning "cl"
|
||||
fi
|
||||
fi
|
||||
|
||||
# purge
|
||||
if echo "$@" | grep purge; then
|
||||
echo "# Stop on LND all networks and delete lnd binaries"
|
||||
/home/admin/config.scripts/lnd.install.sh off mainnet
|
||||
/home/admin/config.scripts/lnd.install.sh off testnet
|
||||
/home/admin/config.scripts/lnd.install.sh off signet
|
||||
sudo rm /usr/local/bin/lncli
|
||||
sudo rm /usr/local/bin/lnd
|
||||
echo "# Deleted the binaries"
|
||||
fi
|
||||
|
||||
exit 0
|
||||
fi
|
||||
|
||||
echo "# FAIL - Unknown Parameter $1"
|
||||
echo "# may need reboot to run"
|
||||
exit 1
|
||||
exit 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user