Core Lightning renamings

This commit is contained in:
rootzoll 2022-07-27 08:37:36 +02:00
parent 212d163906
commit 23afac142e
23 changed files with 59 additions and 59 deletions

View File

@ -707,7 +707,7 @@ Will need to pay through a peer which supports the onion messages which means yo
+ ./cl.install-service.sh -h + ./cl.install-service.sh -h
Script to set up or update the C-lightning systemd service Script to set up or update the Core Lightning systemd service
Usage: Usage:
/home/admin/config.scripts/cl.install-service.sh <mainnet|testnet|signet> /home/admin/config.scripts/cl.install-service.sh <mainnet|testnet|signet>
@ -732,7 +732,7 @@ Will need to pay through a peer which supports the onion messages which means yo
cl.monitor.sh [mainnet|testnet|signet] wallet cl.monitor.sh [mainnet|testnet|signet] wallet
+ ./cl-plugin.backup.sh -h + ./cl-plugin.backup.sh -h
Install the backup plugin for C-lightning Install the backup plugin for Core Lightning
Replicates the lightningd.sqlite3 database on the SDcard Replicates the lightningd.sqlite3 database on the SDcard
Usage: Usage:
@ -762,7 +762,7 @@ Will need to pay through a peer which supports the onion messages which means yo
+ ./cl-plugin.feeadjuster.sh -h + ./cl-plugin.feeadjuster.sh -h
Install the feeadjuster plugin for C-lightning Install the feeadjuster plugin for Core Lightning
Usage: Usage:
cl-plugin.feeadjuster.sh [on|off] <testnet|mainnet|signet> cl-plugin.feeadjuster.sh [on|off] <testnet|mainnet|signet>
@ -776,14 +776,14 @@ Will need to pay through a peer which supports the onion messages which means yo
+ ./cl-plugin.sparko.sh -h + ./cl-plugin.sparko.sh -h
Install, remove, connect or get info about the Sparko plugin for C-lightning Install, remove, connect or get info about the Sparko plugin for Core Lightning
version: v2.8 version: v2.8
Usage: Usage:
cl-plugin.sparko.sh [on|off|menu|connect] [testnet|mainnet|signet] [norestart] cl-plugin.sparko.sh [on|off|menu|connect] [testnet|mainnet|signet] [norestart]
+ ./cl-plugin.standard-python.sh -h + ./cl-plugin.standard-python.sh -h
Install and show the output of the chosen plugin for C-lightning Install and show the output of the chosen plugin for Core Lightning
Usage: Usage:
cl-plugin.standard-python.sh on [plugin-name] <testnet|mainnet|signet> <persist|runonce> cl-plugin.standard-python.sh on [plugin-name] <testnet|mainnet|signet> <persist|runonce>
@ -795,13 +795,13 @@ Will need to pay through a peer which supports the onion messages which means yo
+ ./cl-plugin.summary.sh -h + ./cl-plugin.summary.sh -h
Install and show the output if the summary plugin for C-lightning Install and show the output if the summary plugin for Core Lightning
Usage: Usage:
cl-plugin.summary.sh [testnet|mainnet|signet] [runonce] cl-plugin.summary.sh [testnet|mainnet|signet] [runonce]
+ ./cl.rest.sh -h + ./cl.rest.sh -h
C-lightning-REST install script Core Lightning-REST install script
The default version is: v0.7.2 The default version is: v0.7.2
mainnet | testnet | signet instances can run parallel mainnet | testnet | signet instances can run parallel
@ -810,25 +810,25 @@ Will need to pay through a peer which supports the onion messages which means yo
+ ./cl.setname.sh -h + ./cl.setname.sh -h
Config script to set the alias of the C-lightning node Config script to set the alias of the Core Lightning node
cl.setname.sh [mainnet|testnet|signet] [?newName] cl.setname.sh [mainnet|testnet|signet] [?newName]
+ ./cl.spark.sh -h + ./cl.spark.sh -h
Install, remove or get info about the Spark Wallet for C-lightning Install, remove or get info about the Spark Wallet for Core Lightning
version: v0.3.1 version: v0.3.1
Usage: Usage:
cl.spark.sh [on|off|menu] <testnet|mainnet|signet> cl.spark.sh [on|off|menu] <testnet|mainnet|signet>
+ ./cl.update.sh -h + ./cl.update.sh -h
Interim optional C-lightning updates between RaspiBlitz releases. Interim optional Core Lightning updates between RaspiBlitz releases.
cl.update.sh [info|verified|reckless] cl.update.sh [info|verified|reckless]
info -> get actual state and possible actions info -> get actual state and possible actions
verified -> only do recommended updates by RaspiBlitz team verified -> only do recommended updates by RaspiBlitz team
binary will be checked by signature and checksum binary will be checked by signature and checksum
reckless -> if you just want to update to the latest release reckless -> if you just want to update to the latest release
published on C-lightning GitHub releases (RC or final) without any published on Core Lightning GitHub releases (RC or final) without any
testing or security checks. testing or security checks.
``` ```

View File

@ -82,7 +82,7 @@ Some apps (like Fully Noded or JoinMarket) activate the Bitcoin core wallet and
Please note that there is no perfect backup concept for the funds in your lightning channels yet. We strongly recommend using the `Static Channel Backup` provided by LND and consider off-line location backup of that file to have the best chances to recover Lightning funds in a case of recovering from a disaster. Please note that there is no perfect backup concept for the funds in your lightning channels yet. We strongly recommend using the `Static Channel Backup` provided by LND and consider off-line location backup of that file to have the best chances to recover Lightning funds in a case of recovering from a disaster.
The C-ligthning lightning.sqlite3 is replicated on the SDcard from the disk in real time. See more details in the [C-lightning FAQ](FAQ.cl.md#backups) The C-ligthning lightning.sqlite3 is replicated on the SDcard from the disk in real time. See more details in the [Core Lightning FAQ](FAQ.cl.md#backups)
For more practical information on this topic see: [Backup Channel Funds](README.md#backup-for-on-chain---channel-funds) For more practical information on this topic see: [Backup Channel Funds](README.md#backup-for-on-chain---channel-funds)

View File

@ -22,7 +22,7 @@ echo "run dialog ..."
OPTIONS=() OPTIONS=()
OPTIONS+=(l "LND on $CHAIN" ${lnd}) OPTIONS+=(l "LND on $CHAIN" ${lnd})
OPTIONS+=(r "RTL for LND $CHAIN" ${rtlWebinterface}) OPTIONS+=(r "RTL for LND $CHAIN" ${rtlWebinterface})
OPTIONS+=(c "C-lightning on $CHAIN" ${cl}) OPTIONS+=(c "Core Lightning on $CHAIN" ${cl})
OPTIONS+=(t "RTL for CL on $CHAIN" ${crtlWebinterface}) OPTIONS+=(t "RTL for CL on $CHAIN" ${crtlWebinterface})
OPTIONS+=(s "Sparko for CL on $CHAIN" ${sparko}) OPTIONS+=(s "Sparko for CL on $CHAIN" ${sparko})
OPTIONS+=(m "Spark for CL on $CHAIN" ${spark}) OPTIONS+=(m "Spark for CL on $CHAIN" ${spark})

View File

@ -22,7 +22,7 @@ echo "run dialog ..."
OPTIONS=() OPTIONS=()
OPTIONS+=(l "LND on $CHAIN" ${tlnd}) OPTIONS+=(l "LND on $CHAIN" ${tlnd})
OPTIONS+=(r "RTL for LND $CHAIN" ${trtlWebinterface}) OPTIONS+=(r "RTL for LND $CHAIN" ${trtlWebinterface})
OPTIONS+=(c "C-lightning on $CHAIN" ${tcl}) OPTIONS+=(c "Core Lightning on $CHAIN" ${tcl})
OPTIONS+=(t "RTL for CL on $CHAIN" ${tcrtlWebinterface}) OPTIONS+=(t "RTL for CL on $CHAIN" ${tcrtlWebinterface})
OPTIONS+=(s "Sparko for CL on $CHAIN" ${tsparko}) OPTIONS+=(s "Sparko for CL on $CHAIN" ${tsparko})
OPTIONS+=(m "Spark Wallet fro CL on $CHAIN" ${tspark}) OPTIONS+=(m "Spark Wallet fro CL on $CHAIN" ${tspark})

View File

@ -80,7 +80,7 @@ if [ "${lightning}" == "lnd" ] || [ "${lnd}" == "on" ]; then
fi fi
if [ "${lightning}" == "cl" ] || [ "${cl}" == "on" ]; then if [ "${lightning}" == "cl" ] || [ "${cl}" == "on" ]; then
OPTIONS+=(ZEUS_CLREST "Zeus to C-lightningREST (Android or iOS)") OPTIONS+=(ZEUS_CLREST "Zeus to Core LightningREST (Android or iOS)")
OPTIONS+=(ZEUS_SPARK "Zeus to Sparko (Android or iOS)") OPTIONS+=(ZEUS_SPARK "Zeus to Sparko (Android or iOS)")
OPTIONS+=(SPARK "Spark Wallet to Sparko (Android - EXPERIMENTAL)" ) OPTIONS+=(SPARK "Spark Wallet to Sparko (Android - EXPERIMENTAL)" )
OPTIONS+=(FULLYNODED_CL "Fully Noded to CL REST (iOS+Tor)") OPTIONS+=(FULLYNODED_CL "Fully Noded to CL REST (iOS+Tor)")

View File

@ -108,8 +108,8 @@ case $CHOICE in
MIGRATION) MIGRATION)
if [ "${cl}" == "on" ] || [ "${cl}" == "1" ] && [ "${clEncryptedHSM}" != "on" ] ; then if [ "${cl}" == "on" ] || [ "${cl}" == "1" ] && [ "${clEncryptedHSM}" != "on" ] ; then
dialog \ dialog \
--title "Encrypt the C-lightning wallet" \ --title "Encrypt the Core Lightning wallet" \
--msgbox "\nWill proceed to encrypt and lock the C-lightning wallet to prevent it from starting automatically after the backup" 9 55 --msgbox "\nWill proceed to encrypt and lock the Core Lightning wallet to prevent it from starting automatically after the backup" 9 55
sudo /home/admin/config.scripts/cl.hsmtool.sh encrypt mainnet sudo /home/admin/config.scripts/cl.hsmtool.sh encrypt mainnet
fi fi
if [ "${clAutoUnlock}" = "on" ]; then if [ "${clAutoUnlock}" = "on" ]; then

View File

@ -16,7 +16,7 @@ BACKTITLE="RaspiBlitz"
TITLE=" Core Lightning Options (${CHAIN})" TITLE=" Core Lightning Options (${CHAIN})"
MENU="" MENU=""
OPTIONS=() OPTIONS=()
OPTIONS+=(FUNDING "Fund the C-lightning wallet onchain") OPTIONS+=(FUNDING "Fund the Core Lightning wallet onchain")
OPTIONS+=(PEERING "Connect to a peer") OPTIONS+=(PEERING "Connect to a peer")
OPTIONS+=(CHANNEL "Open a channel with peer") OPTIONS+=(CHANNEL "Open a channel with peer")
OPTIONS+=(SEND "Pay an invoice / payment request") OPTIONS+=(SEND "Pay an invoice / payment request")
@ -33,9 +33,9 @@ if [ ${#openChannels} -gt 0 ] && [ ${openChannels} -gt 0 ]; then
fi fi
OPTIONS+=(CASHOUT "Withdraw all funds onchain ($CHAIN)") OPTIONS+=(CASHOUT "Withdraw all funds onchain ($CHAIN)")
OPTIONS+=(SEED "Show Wallet Seed Words") OPTIONS+=(SEED "Show Wallet Seed Words")
OPTIONS+=(REPAIR-CL "Repair options for C-lightning") OPTIONS+=(REPAIR-CL "Repair options for Core Lightning")
if [ "${lightning}" != "cl" ] && [ "${CHAIN}" == "mainnet" ]; then if [ "${lightning}" != "cl" ] && [ "${CHAIN}" == "mainnet" ]; then
OPTIONS+=(SWITCHLN "Use C-lightning as default") OPTIONS+=(SWITCHLN "Use Core Lightning as default")
fi fi
CHOICE_HEIGHT=$(("${#OPTIONS[@]}/2+1")) CHOICE_HEIGHT=$(("${#OPTIONS[@]}/2+1"))

View File

@ -33,7 +33,7 @@ If left empty will start to rescan from the block 700000 (-700000).
# BASIC MENU INFO # BASIC MENU INFO
WIDTH=64 WIDTH=64
BACKTITLE="RaspiBlitz" BACKTITLE="RaspiBlitz"
TITLE="C-lightning repair options for $CHAIN" TITLE="Core Lightning repair options for $CHAIN"
MENU="" MENU=""
OPTIONS=() OPTIONS=()
@ -92,8 +92,8 @@ case $CHOICE in
BACKUP) BACKUP)
if [ "${cl}" == "on" ] || [ "${cl}" == "1" ] && [ "${clEncryptedHSM}" != "on" ]; then if [ "${cl}" == "on" ] || [ "${cl}" == "1" ] && [ "${clEncryptedHSM}" != "on" ]; then
dialog \ dialog \
--title "Encrypt the C-lightning wallet" \ --title "Encrypt the Core Lightning wallet" \
--msgbox "\nWill proceed to encrypt and lock the C-lightning wallet to prevent it from starting automatically after the backup" 9 55 --msgbox "\nWill proceed to encrypt and lock the Core Lightning wallet to prevent it from starting automatically after the backup" 9 55
sudo /home/admin/config.scripts/cl.hsmtool.sh encrypt mainnet sudo /home/admin/config.scripts/cl.hsmtool.sh encrypt mainnet
fi fi
if [ "${clAutoUnlock}" = "on" ]; then if [ "${clAutoUnlock}" = "on" ]; then

View File

@ -126,10 +126,10 @@ case $CHOICE in
then then
whiptail \ whiptail \
--title "Restart" --yes-button "Restart" --no-button "Not now" \ --title "Restart" --yes-button "Restart" --no-button "Not now" \
--yesno "To apply the new settings C-lightning needs to restart. --yesno "To apply the new settings Core Lightning needs to restart.
Do you want to restart C-lightning now?" 0 0 Do you want to restart Core Lightning now?" 0 0
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
echo "# Restarting C-lightning" echo "# Restarting Core Lightning"
sudo systemctl restart ${netprefix}lightningd sudo systemctl restart ${netprefix}lightningd
else else
echo "# Continue without restarting." echo "# Continue without restarting."

View File

@ -310,27 +310,27 @@ cl()
# get cl info # get cl info
source <(sudo -u admin /home/admin/config.scripts/cl.update.sh info) source <(sudo -u admin /home/admin/config.scripts/cl.update.sh info)
# C-lightning Update Options # Core Lightning Update Options
OPTIONS=() OPTIONS=()
if [ ${clUpdateInstalled} -eq 0 ]; then if [ ${clUpdateInstalled} -eq 0 ]; then
OPTIONS+=(VERIFIED "Optional C-lightning update to ${clUpdateVersion}") OPTIONS+=(VERIFIED "Optional Core Lightning update to ${clUpdateVersion}")
fi fi
OPTIONS+=(RECKLESS "Experimental C-lightning update to ${clLatestVersion}") OPTIONS+=(RECKLESS "Experimental Core Lightning update to ${clLatestVersion}")
CHOICE=$(whiptail --clear --title "Update C-lightning Options" --menu "" 9 60 2 "${OPTIONS[@]}" 2>&1 >/dev/tty) CHOICE=$(whiptail --clear --title "Update Core Lightning Options" --menu "" 9 60 2 "${OPTIONS[@]}" 2>&1 >/dev/tty)
clear clear
case $CHOICE in case $CHOICE in
VERIFIED) VERIFIED)
if [ ${clUpdateInstalled} -eq 1 ]; then if [ ${clUpdateInstalled} -eq 1 ]; then
whiptail --title "ALREADY INSTALLED" --msgbox "The C-lightning version ${clUpdateVersion} is already installed." 8 30 whiptail --title "ALREADY INSTALLED" --msgbox "The Core Lightning version ${clUpdateVersion} is already installed." 8 30
exit 0 exit 0
fi fi
whiptail --title "OPTIONAL C-lightning UPDATE" --yes-button "Cancel" --no-button "Update" --yesno "BEWARE on updating to C-lightning v${clUpdateVersion}: whiptail --title "OPTIONAL Core Lightning UPDATE" --yes-button "Cancel" --no-button "Update" --yesno "BEWARE on updating to Core Lightning v${clUpdateVersion}:
${clUpdateComment} ${clUpdateComment}
Do you really want to update C-lightning now? Do you really want to update Core Lightning now?
" 16 58 " 16 58
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
echo "# cancel update" echo "# cancel update"
@ -342,20 +342,20 @@ Do you really want to update C-lightning now?
if [ ${#error} -gt 0 ]; then if [ ${#error} -gt 0 ]; then
whiptail --title "ERROR" --msgbox "${error}" 8 30 whiptail --title "ERROR" --msgbox "${error}" 8 30
else else
echo "# C-lightning was updated successfully" echo "# Core Lightning was updated successfully"
exit 0 exit 0
fi fi
;; ;;
RECKLESS) RECKLESS)
whiptail --title "RECKLESS C-lightning UPDATE to ${clLatestVersion}" --yes-button "Cancel" --no-button "Update" --yesno "Using the 'RECKLESS' C-lightning update will simply whiptail --title "RECKLESS Core Lightning UPDATE to ${clLatestVersion}" --yes-button "Cancel" --no-button "Update" --yesno "Using the 'RECKLESS' Core Lightning update will simply
grab the latest C-lightning release published on the C-lightning GitHub page (also release candidates). grab the latest Core Lightning release published on the Core Lightning GitHub page (also release candidates).
There will be no security checks on signature, etc. There will be no security checks on signature, etc.
This update mode is only recommended for testing and This update mode is only recommended for testing and
development nodes with no serious funding. development nodes with no serious funding.
Do you really want to update C-lightning now? Do you really want to update Core Lightning now?
" 16 58 " 16 58
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
echo "# cancel update" echo "# cancel update"
@ -366,7 +366,7 @@ Do you really want to update C-lightning now?
if [ ${#error} -gt 0 ]; then if [ ${#error} -gt 0 ]; then
whiptail --title "ERROR" --msgbox "${error}" 8 30 whiptail --title "ERROR" --msgbox "${error}" 8 30
else else
echo "# C-lightning was updated successfully" echo "# Core Lightning was updated successfully"
exit 0 exit 0
fi fi
;; ;;
@ -469,7 +469,7 @@ if [ "${lightning}" == "lnd" ] || [ "${lnd}" == "on" ]; then
fi fi
if [ "${lightning}" == "cl" ] || [ "${cl}" == "on" ]; then if [ "${lightning}" == "cl" ] || [ "${cl}" == "on" ]; then
OPTIONS+=(CL "Interim C-lightning Update Options") OPTIONS+=(CL "Interim Core Lightning Update Options")
fi fi
if [ "${bos}" == "on" ]; then if [ "${bos}" == "on" ]; then

View File

@ -2,7 +2,7 @@
function help(){ function help(){
echo echo
echo "Install the backup plugin for C-lightning" echo "Install the backup plugin for Core Lightning"
echo "Replicates the lightningd.sqlite3 database on the SDcard" echo "Replicates the lightningd.sqlite3 database on the SDcard"
echo echo
echo "Usage:" echo "Usage:"

View File

@ -3,7 +3,7 @@
# command info # command info
if [ $# -eq 0 ] || [ "$1" = "-h" ] || [ "$1" = "-help" ];then if [ $# -eq 0 ] || [ "$1" = "-h" ] || [ "$1" = "-help" ];then
echo echo
echo "Install the feeadjuster plugin for C-lightning" echo "Install the feeadjuster plugin for Core Lightning"
echo "Usage:" echo "Usage:"
echo "cl-plugin.feeadjuster.sh [on|off] <testnet|mainnet|signet>" echo "cl-plugin.feeadjuster.sh [on|off] <testnet|mainnet|signet>"
echo echo

View File

@ -62,7 +62,7 @@ https://github.com/Fonta1n3/FullyNoded/blob/master/Docs/Lightning.md#connect-ful
sudo /home/admin/config.scripts/blitz.display.sh qr "${url}" sudo /home/admin/config.scripts/blitz.display.sh qr "${url}"
clear clear
echo " echo "
C-lightning connection URL code for Fully Noded: Core Lightning connection URL code for Fully Noded:
The string shown is: The string shown is:
$url $url
" "

View File

@ -9,7 +9,7 @@ SPARKOVERSION="v2.8"
# command info # command info
if [ $# -lt 1 ] || [ "$1" = "-h" ] || [ "$1" = "-help" ];then if [ $# -lt 1 ] || [ "$1" = "-h" ] || [ "$1" = "-help" ];then
echo echo
echo "Install, remove, connect or get info about the Sparko plugin for C-lightning" echo "Install, remove, connect or get info about the Sparko plugin for Core Lightning"
echo "version: $SPARKOVERSION" echo "version: $SPARKOVERSION"
echo "Usage:" echo "Usage:"
echo "cl-plugin.sparko.sh [on|off|menu|connect] [testnet|mainnet|signet] [norestart]" echo "cl-plugin.sparko.sh [on|off|menu|connect] [testnet|mainnet|signet] [norestart]"

View File

@ -3,7 +3,7 @@
# command info # command info
if [ $# -eq 0 ] || [ "$1" = "-h" ] || [ "$1" = "-help" ];then if [ $# -eq 0 ] || [ "$1" = "-h" ] || [ "$1" = "-help" ];then
echo echo
echo "Install and show the output of the chosen plugin for C-lightning" echo "Install and show the output of the chosen plugin for Core Lightning"
echo "Usage:" echo "Usage:"
echo "cl-plugin.standard-python.sh on [plugin-name] <testnet|mainnet|signet> <persist|runonce>" echo "cl-plugin.standard-python.sh on [plugin-name] <testnet|mainnet|signet> <persist|runonce>"
echo echo

View File

@ -3,7 +3,7 @@
# command info # command info
if [ $# -eq 0 ] || [ "$1" = "-h" ] || [ "$1" = "-help" ];then if [ $# -eq 0 ] || [ "$1" = "-h" ] || [ "$1" = "-help" ];then
echo echo
echo "Install and show the output if the summary plugin for C-lightning" echo "Install and show the output if the summary plugin forCore Lightning"
echo "Usage:" echo "Usage:"
echo "cl-plugin.summary.sh [testnet|mainnet|signet] [runonce]" echo "cl-plugin.summary.sh [testnet|mainnet|signet] [runonce]"
echo echo

View File

@ -427,7 +427,7 @@ if [ ${mode} = "seed-export-gui" ]; then
ack=0 ack=0
while [ ${ack} -eq 0 ] while [ ${ack} -eq 0 ]
do do
whiptail --title "IMPORTANT SEED WORDS - PLEASE WRITE DOWN" --msgbox "Created a new C-lightning wallet. Store these numbered 24 words in a safe location:\n\n${seedwords6x4}" 13 76 whiptail --title "IMPORTANT SEED WORDS - PLEASE WRITE DOWN" --msgbox "Created a new Core Lightning wallet. Store these numbered 24 words in a safe location:\n\n${seedwords6x4}" 13 76
whiptail --title "Please Confirm" --yes-button "Show Again" --no-button "CONTINUE" --yesno " Are you sure that you wrote down the word list?" 8 55 whiptail --title "Please Confirm" --yes-button "Show Again" --no-button "CONTINUE" --yesno " Are you sure that you wrote down the word list?" 8 55
if [ $? -eq 1 ]; then if [ $? -eq 1 ]; then
ack=1 ack=1
@ -466,7 +466,7 @@ if [ ${mode} = "seed-import-gui" ]; then
sudo chown admin:admin /var/cache/raspiblitz/.seed.tmp sudo chown admin:admin /var/cache/raspiblitz/.seed.tmp
# dialog to enter # dialog to enter
dialog --backtitle "RaspiBlitz - Recover from C-lightning seed" --inputbox "Please enter/paste the SEED WORD LIST:\n(just the words, seperated by spaces, in correct order as numbered)" 9 78 2>/var/cache/raspiblitz/.seed.tmp dialog --backtitle "RaspiBlitz - Recover from Core Lightning seed" --inputbox "Please enter/paste the SEED WORD LIST:\n(just the words, seperated by spaces, in correct order as numbered)" 9 78 2>/var/cache/raspiblitz/.seed.tmp
wordstring=$(cat /var/cache/raspiblitz/.seed.tmp | sed 's/[^a-zA-Z0-9 ]//g') wordstring=$(cat /var/cache/raspiblitz/.seed.tmp | sed 's/[^a-zA-Z0-9 ]//g')
sudo shred -u /var/cache/raspiblitz/.seed.tmp 2>/dev/null sudo shred -u /var/cache/raspiblitz/.seed.tmp 2>/dev/null
echo "processing ..." echo "processing ..."

View File

@ -3,7 +3,7 @@
# help # help
if [ "$1" = "-h" ]||[ "$1" = "--help" ];then if [ "$1" = "-h" ]||[ "$1" = "--help" ];then
echo echo
echo "Script to set up or update the C-lightning systemd service" echo "Script to set up or update the Core Lightning systemd service"
echo "Usage:" echo "Usage:"
echo "/home/admin/config.scripts/cl.install-service.sh <mainnet|testnet|signet>" echo "/home/admin/config.scripts/cl.install-service.sh <mainnet|testnet|signet>"
echo echo

View File

@ -6,7 +6,7 @@ CLRESTVERSION="v0.7.2"
# help # help
if [ $# -eq 0 ]||[ "$1" = "-h" ]||[ "$1" = "--help" ];then if [ $# -eq 0 ]||[ "$1" = "-h" ]||[ "$1" = "--help" ];then
echo echo
echo "C-lightning-REST install script" echo "Core-Lightning-REST install script"
echo "The default version is: $CLRESTVERSION" echo "The default version is: $CLRESTVERSION"
echo "mainnet | testnet | signet instances can run parallel" echo "mainnet | testnet | signet instances can run parallel"
echo echo

View File

@ -3,7 +3,7 @@
# command info # command info
if [ "$1" = "-h" ] || [ "$1" = "-help" ]; then if [ "$1" = "-h" ] || [ "$1" = "-help" ]; then
echo echo
echo "Config script to set the alias of the C-lightning node" echo "Config script to set the alias of the Core Lightning node"
echo "cl.setname.sh [mainnet|testnet|signet] [?newName]" echo "cl.setname.sh [mainnet|testnet|signet] [?newName]"
echo echo
exit 1 exit 1
@ -19,7 +19,7 @@ source <(/home/admin/config.scripts/network.aliases.sh getvars cl $1)
if [ ${#newName} -eq 0 ]; then if [ ${#newName} -eq 0 ]; then
sudo rm ./.tmp sudo rm ./.tmp
dialog --backtitle "Set CL Name/Alias" --inputbox "ENTER the new Name/Alias for the C-lightning node: dialog --backtitle "Set CL Name/Alias" --inputbox "ENTER the new Name/Alias for the Core Lightning node:
(free to choose, one word up to 32 basic characters) (free to choose, one word up to 32 basic characters)
" 8 56 2>./.tmp " 8 56 2>./.tmp
newName=$( cat ./.tmp | tr -dc '[:alnum:]\n\r' ) newName=$( cat ./.tmp | tr -dc '[:alnum:]\n\r' )

View File

@ -6,7 +6,7 @@ SPARKVERSION="v0.3.1"
# command info # command info
if [ $# -lt 1 ] || [ "$1" = "-h" ] || [ "$1" = "-help" ];then if [ $# -lt 1 ] || [ "$1" = "-h" ] || [ "$1" = "-help" ];then
echo echo
echo "Install, remove or get info about the Spark Wallet for C-lightning" echo "Install, remove or get info about the Spark Wallet for Core Lightning"
echo "version: $SPARKVERSION" echo "version: $SPARKVERSION"
echo "Usage:" echo "Usage:"
echo "cl.spark.sh [on|off|menu] <testnet|mainnet|signet> " echo "cl.spark.sh [on|off|menu] <testnet|mainnet|signet> "

View File

@ -3,13 +3,13 @@
# command info # command info
if [ $# -eq 0 ] || [ "$1" = "-h" ] || [ "$1" = "-help" ]; then if [ $# -eq 0 ] || [ "$1" = "-h" ] || [ "$1" = "-help" ]; then
echo echo
echo "Interim optional C-lightning updates between RaspiBlitz releases." echo "Interim optional Core Lightning updates between RaspiBlitz releases."
echo "cl.update.sh [info|verified|reckless]" echo "cl.update.sh [info|verified|reckless]"
echo "info -> get actual state and possible actions" echo "info -> get actual state and possible actions"
echo "verified -> only do recommended updates by RaspiBlitz team" echo "verified -> only do recommended updates by RaspiBlitz team"
echo " binary will be checked by signature and checksum" echo " binary will be checked by signature and checksum"
echo "reckless -> if you just want to update to the latest release" echo "reckless -> if you just want to update to the latest release"
echo " published on C-lightning GitHub releases (RC or final) without any" echo " published on Core Lightning GitHub releases (RC or final) without any"
echo " testing or security checks." echo " testing or security checks."
echo echo
exit 1 exit 1
@ -25,7 +25,7 @@ clUpdateComment="Please keep in mind that downgrading afterwards is not tested.
# GATHER DATA # GATHER DATA
# installed C-lightning version # installed Core Lightning version
clInstalledVersion=$(sudo -u bitcoin lightning-cli --version) clInstalledVersion=$(sudo -u bitcoin lightning-cli --version)
clInstalledVersionMajor=$(echo "${clInstalledVersion}" | cut -d "-" -f1 | cut -d "." -f1) clInstalledVersionMajor=$(echo "${clInstalledVersion}" | cut -d "-" -f1 | cut -d "." -f1)
clInstalledVersionMain=$(echo "${clInstalledVersion}" | cut -d "-" -f1 | cut -d "." -f2) clInstalledVersionMain=$(echo "${clInstalledVersion}" | cut -d "-" -f1 | cut -d "." -f2)
@ -34,7 +34,7 @@ clInstalledVersionMinor=$(echo "${clInstalledVersion}" | cut -d "-" -f1 | cut -d
# test if the installed version already the verified/recommended update version # test if the installed version already the verified/recommended update version
clUpdateInstalled=$(echo "${clInstalledVersion}" | grep -c "${clUpdateVersion}") clUpdateInstalled=$(echo "${clInstalledVersion}" | grep -c "${clUpdateVersion}")
# get latest release from C-lightning GitHub releases without release candidates # get latest release from Core Lightning GitHub releases without release candidates
clLatestVersion=$(curl -s https://api.github.com/repos/ElementsProject/lightning/releases | jq -r '.[].tag_name' | grep -v "rc" | head -n1) clLatestVersion=$(curl -s https://api.github.com/repos/ElementsProject/lightning/releases | jq -r '.[].tag_name' | grep -v "rc" | head -n1)
# example: v0.10.2 # example: v0.10.2
@ -52,7 +52,7 @@ if [ "${mode}" = "info" ]; then
echo "clUpdateVersion='${clUpdateVersion}'" echo "clUpdateVersion='${clUpdateVersion}'"
echo "clUpdateComment='${clUpdateComment}'" echo "clUpdateComment='${clUpdateComment}'"
echo "# reckless update option (latest C-lightning release from GitHub)" echo "# reckless update option (latest Core Lightning release from GitHub)"
echo "clLatestVersion='${clLatestVersion}'" echo "clLatestVersion='${clLatestVersion}'"
exit 1 exit 1
@ -117,7 +117,7 @@ if [ "${mode}" = "verified" ] || [ "${mode}" = "reckless" ]; then
echo "# flag update in raspiblitz config" echo "# flag update in raspiblitz config"
/home/admin/config.scripts/blitz.conf.sh set clInterimsUpdate "${clInterimsUpdateNew}" /home/admin/config.scripts/blitz.conf.sh set clInterimsUpdate "${clInterimsUpdateNew}"
echo "# OK C-lightning is installed" echo "# OK Core Lightning is installed"
echo "# NOTE: RaspiBlitz may need to reboot now" echo "# NOTE: RaspiBlitz may need to reboot now"
exit 1 exit 1

View File

@ -16,7 +16,7 @@ sudo chmod 777 /home/admin/raspiblitz.log
if [ "${lightning}" == "lnd" ]; then if [ "${lightning}" == "lnd" ]; then
walletName="LND" walletName="LND"
elif [ "${lightning}" == "cl" ]; then elif [ "${lightning}" == "cl" ]; then
walletName="C-lightning" walletName="Core Lightning"
fi fi
if [ "${setupPhase}" == "setup" ] && [ "${seedwords6x4NEW}" != "" ]; then if [ "${setupPhase}" == "setup" ] && [ "${seedwords6x4NEW}" != "" ]; then
ack=0 ack=0