CLN update to v0.12.1 (#3319)

This commit is contained in:
openoms 2022-09-28 14:04:38 +01:00 committed by GitHub
parent 6ee15019db
commit c45e3a81ba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 13 deletions

View file

@ -5,6 +5,7 @@
- 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)
- Update: Core Lightning v0.12.1 [details](https://github.com/ElementsProject/lightning/releases/tag/v0.12.1)
## What's new in Version 1.8.0 of RaspiBlitz?

View file

@ -2,20 +2,16 @@
# https://lightning.readthedocs.io/
# https://github.com/ElementsProject/lightning/releases
CLVERSION=v0.11.2
CLVERSION=v0.12.1
# install the latest master by using the last commit id
# https://github.com/ElementsProject/lightning/commit/master
# CLVERSION="063366ed7e3b7cc12a8d1681acc2b639cf07fa23"
# https://github.com/ElementsProject/lightning/tree/master/contrib/keys
PGPsigner="rustyrussel"
PGPpubkeyLink="https://raw.githubusercontent.com/ElementsProject/lightning/master/contrib/keys/rustyrussell.txt"
PGPpubkeyFingerprint="D9200E6CD1ADB8F1"
#PGPsigner="cdecker"
#PGPpubkeyLink="https://raw.githubusercontent.com/ElementsProject/lightning/master/contrib/keys/${PGPsigner}.txt"
#PGPpubkeyFingerprint="A26D6D9FE088ED58"
PGPsigner="niftynei" # rustyrussel D9200E6CD1ADB8F1 # cdecker A26D6D9FE088ED58
PGPpubkeyLink="https://raw.githubusercontent.com/ElementsProject/lightning/master/contrib/keys/${PGPsigner}.txt"
PGPpubkeyFingerprint="BFF0F67810C1EED1"
# help
if [ $# -eq 0 ]||[ "$1" = "-h" ]||[ "$1" = "--help" ];then
@ -40,13 +36,12 @@ function installDependencies()
# from https://lightning.readthedocs.io/INSTALL.html#to-build-on-ubuntu
sudo apt-get install -y \
autoconf automake build-essential git libtool libgmp-dev \
libsqlite3-dev python3 python3-mako net-tools zlib1g-dev libsodium-dev \
libsqlite3-dev python3 net-tools zlib1g-dev libsodium-dev \
gettext
# additional requirements
sudo apt-get install -y postgresql libpq-dev
# mrkd and mistune needs to be globally available for the build
sudo pip3 install mrkd==0.2.0
sudo pip3 install mistune==0.8.4
# upgrade pip
sudo pip3 install --upgrade pip
# poetry
sudo -u bitcoin pip3 install --user poetry
if ! grep -Eq '^PATH="$HOME/.local/bin:$PATH"' /mnt/hdd/raspiblitz.conf; then
@ -471,7 +466,7 @@ if [ "$1" = "off" ];then
# if cl mainnet was default - remove
if [ "${CHAIN}" == "mainnet" ] && [ "${lightning}" == "cl" ]; then
echo "# Core Lightning is REMOVED as the default lightning implementation"
/home/admin/config.scripts/blitz.conf.sh set lightning ""
/home/admin/config.scripts/blitz.conf.sh set lightning "none"
if [ "${lnd}" == "on" ]; then
echo "# LND is now the new default lightning implementation"
/home/admin/config.scripts/blitz.conf.sh set lightning "lnd"