Commit graph

5788 commits

Author SHA1 Message Date
openoms
d6dae65386
_commands: source _aliases only if exists 2021-07-07 11:04:18 +01:00
openoms
00717530b9
cln: installthe latest master until the next release 2021-07-07 07:37:23 +01:00
openoms
c13eebe1b0
cln.install: fix tor config 2021-07-06 10:12:08 +01:00
openoms
e8d9a4a0df
CLOSEALL and CASHOUT: Improve labels and comments
Explaining CASHOUT in the label as discussed in:
https://github.com/rootzoll/raspiblitz/issues/2358
2021-07-06 08:05:28 +01:00
openoms
8193bfb09b
cln: add CASHOUT option 2021-07-06 01:00:12 +01:00
openoms
59895c673d
use CHAIN in CLN and LND menu 2021-07-06 00:48:01 +01:00
openoms
61e5887bb5
rtl: install correctly for paralell chains 2021-07-06 00:47:05 +01:00
openoms
982a4d593f
CASHOUT: use aliases for lnd 2021-07-05 23:42:55 +01:00
openoms
80a0e7a77e
rtl: fix permission of config on copy 2021-07-05 23:42:17 +01:00
openoms
7fd760177c
cln-plugin.summary: fix paths 2021-07-05 22:38:37 +01:00
openoms
7f50d14cbe
netwok.monitor.sh debug 2021-07-05 22:30:37 +01:00
openoms
586d8ce3c6
lnd.unlock: fix typo 2021-07-05 22:18:48 +01:00
openoms
d6502e4c13
Merge branch 'pre-1.7.1' into cblitz-merge-dev 2021-07-03 22:24:05 +00:00
/rootzoll
c1c595a0b7
#1126 preparing new setup with new c-lightning (#2396)
* move debug script

* patch patch command

* make sure setup file is sourced

* remove debug output

* make sure lnd is put behind tor

* change indent

* get fresh sync progress

* always set password A

* cached peer info

* fix printing cache

* fix check for existing files

* handle bitcoind not running

* result with newline

* test line break

* test new line

* test new line

* two vars on output

* #2388 improve online check (less pinging)

* used cached peer status

* move chache

* cach file permissions

* allow sudo call

* fix cache

* remove double scan info

* add conf info to sync screen

* reorder info

* add space

* add space

* order info

* internet suppress error messages

* order info

* fix offering Blockchain copy

* fix hostname

* final ready state info

* lnd unlock after provision

* remove debug exit

* harmonize ready state

* add status to lnd unlock

* update lnd unlock script

* edit the unlock

* remove debug echo

* add debug

* add debug

* fix if statement

* debug output

* switch position of source setupdata
2021-07-03 23:54:22 +02:00
openoms
ff25e09a64
cln.hsmtool: add change-password and lock options 2021-06-30 14:53:28 +01:00
openoms
15f7b5c8ed
cln FUNDING fix parsing address 2021-06-29 19:08:39 +01:00
openoms
7383b17a08
keep lnd autopilot and autounlock mainnet only
mainnet only settings:
lnd autopilot
lnd keysend
circuibreaker
lnd autounlock
StaticChannelBackup to DropBox and USB
2021-06-29 18:48:58 +01:00
openoms
41f5d4d3b4
use symlink to cln-plugins-enabled for all plugins 2021-06-29 17:49:57 +01:00
openoms
055cc338a9
add cln.install-service.sh to set up cln with systemd
script to set up or update the CLN systemd service
checks for hsm_secret encryption, autounlock and the sparko plugin
usage:
/home/admin/config.scripts/cln.install-service.sh $CHAIN

discussed in: https://github.com/rootzoll/raspiblitz/issues/2295
2021-06-29 17:46:12 +01:00
openoms
65c4c990b1
add cln.hsmtool.sh for hsm_secret handling
encrypt | decrypt | autounlock the hsm_secret for C-lightning
usage:
cln.hsmtool.sh [unlock] [testnet|mainnet|signet]
cln.hsmtool.sh [encrypt|decrypt] [testnet|mainnet|signet]
cln.hsmtool.sh [autounlock-on|autounlock-off] [testnet|mainnet|signet]

discussed in: https://github.com/rootzoll/raspiblitz/issues/2295
2021-06-29 17:42:23 +01:00
openoms
7037f35235
default to KIllMode=control-group in services
https://www.man7.org/linux/man-pages/man5/systemd.kill.5.html
discussed in: https://github.com/rootzoll/raspiblitz/issues/1901
2021-06-29 17:35:32 +01:00
openoms
64eeb8944c
all lncli_aliases to be used as variables 2021-06-29 13:25:25 +01:00
openoms
2cac034043
keep _aliases file when live patches are applied 2021-06-28 19:01:58 +01:00
openoms
c998ea9b21
display ${CHAIN} in the SYSTEM menu options 2021-06-28 12:49:17 +01:00
openoms
ca5e7c72e6
lnd.setname.sh for testnet 2021-06-28 12:20:33 +01:00
openoms
e3c758fa82
RTL update to v0.11.0
make chain specific directory for the config: /home/rtl/${netprefix}RTL/
use ${netprefix}lnd.conf in config
override Environmen tvaribales for cln in the systemd service:
/etc/systemd/system/${netprefix}${typeprefix}RTL.service

discussed in: https://github.com/rootzoll/raspiblitz/issues/2384
2021-06-28 12:19:44 +01:00
openoms
7284a25479
add the SYSTEM menu for parallel chains 2021-06-28 11:48:36 +01:00
openoms
53d4d90b34
fix comments 2021-06-28 11:47:51 +01:00
openoms
8d86a8dbcf
lnd: autopilot and autounlock for testnet 2021-06-28 11:44:04 +01:00
openoms
c0d286df72
Merge remote-tracking branch 'upstream/pre-1.7.1' into cblitz-merge-dev 2021-06-28 10:48:22 +01:00
openoms
0ca90f3f23
deprecate Testnet in SETTINGS
keysend and autopilot only for mainnet

due to: https://github.com/rootzoll/raspiblitz/issues/2290
2021-06-27 23:36:27 +01:00
openoms
4f80c0d477
lnd: add LND option for parallel networks 2021-06-27 22:55:57 +01:00
openoms
94aa473a91
lnd: fix lnd.conf for parallel networks
discussed in: https://github.com/rootzoll/raspiblitz/issues/2290
2021-06-27 22:54:41 +01:00
openoms
1e8b5ad927
do not resolve aliases, use as variables 2021-06-27 22:33:47 +01:00
openoms
4055cc2760
shellcheck: change all egrep to grep -E
https://github.com/koalaman/shellcheck/wiki/SC2196
2021-06-25 23:48:33 +01:00
openoms
f47f9abd28
cln: add cln-plugin.standard.python.sh
Install and show the output of the chosen plugin for C-lightning
Usage:
cln-plugin.standard-python.sh on [plugin-name] [testnet|mainnet|signet] [runonce]
tested plugins:
summary | helpme | feeadjuster

find more at:
https://github.com/lightningd/plugins
discussed in:
https://github.com/rootzoll/raspiblitz/issues/2295
2021-06-25 23:43:56 +01:00
openoms
945aeb39eb
cln: add the backup plugin + options
Usage options:
cln-plugin.backup.sh [on] [testnet|mainnet|signet]
cln-plugin.backup.sh [restore] [testnet|mainnet|signet] [force]
cln-plugin.backup.sh [backup-compact] [testnet|mainnet|signet]
https://github.com/lightningd/plugins/tree/master/backup

Discussed in: https://github.com/rootzoll/raspiblitz/issues/2295
2021-06-25 23:15:13 +01:00
openoms
259c7499b1
cln.rest: add connect option for Zeus
https://github.com/rootzoll/raspiblitz/issues/2295
2021-06-25 23:09:55 +01:00
openoms
17edbb2ce8
sparko: add info and connect menu with own cert
https://github.com/rootzoll/raspiblitz/issues/2295
2021-06-25 23:09:17 +01:00
openoms
c7b433aa48
use new selfsignedcert if no lnd tls.cert present 2021-06-25 23:04:08 +01:00
openoms
68b2fdad52
avoid scrolling in menus 2021-06-25 22:51:35 +01:00
rootzoll
8c86118409 no longer needed chain in sync 2021-06-24 21:28:44 +02:00
rootzoll
34bdd3256b Merge branch '1126-provision' into pre-1.7.1 2021-06-24 21:28:19 +02:00
rootzoll
e85e118e5b remove chain in sync 2021-06-24 21:25:38 +02:00
rootzoll
a971485c24 moving github script 2021-06-24 21:20:48 +02:00
rootzoll
5771035584 add more debug info 2021-06-24 21:08:00 +02:00
rootzoll
f1bc10b135 moved shutdown scripts 2021-06-24 19:54:49 +02:00
rootzoll
56a3beb851 moved shutdown script 2021-06-24 19:54:30 +02:00
rootzoll
85b9ca618a Merge branch '1126-provision' into pre-1.7.1 2021-06-24 19:54:10 +02:00
rootzoll
03f9daa98b change notify & release 2021-06-24 19:50:43 +02:00