Commit graph

5982 commits

Author SHA1 Message Date
rootzoll
13717f003b always set password A 2021-07-02 13:00:23 +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
6356a67935 get fresh sync progress 2021-06-25 00:17:54 +02:00
rootzoll
f008eb4732 change indent 2021-06-25 00:14:41 +02:00
rootzoll
565c24e72b make sure lnd is put behind tor 2021-06-24 23:18:18 +02:00
rootzoll
01d6617e0b remove debug output 2021-06-24 22:48:11 +02:00
rootzoll
322e68e343 make sure setup file is sourced 2021-06-24 22:30:06 +02:00
rootzoll
0c91cf3941 patch patch command 2021-06-24 22:09:58 +02:00
rootzoll
9679bcd1f6 move debug script 2021-06-24 21:33:54 +02: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
rootzoll
a28fa2b6ca change all place where shutdown script is used 2021-06-24 19:30:33 +02:00
rootzoll
9ea7893c15 move shutdown script 2021-06-24 19:25:02 +02:00
openoms
1c9fd09e09
make cln default plugin dir: cln-plugins-enabled
similar to the nginx model make 2 directories for plugins:
cln-plugins-enabled - symlinked to ~/.lightning/plugins
plugins from here are loaded automatically on cln start

cln-plugins-available: plugins are downloaded here to
be run until the next cln restart (or stopped with runonce)

note the disk is mounted with noexec so plugins can't
run from there

discuss in: https://github.com/rootzoll/raspiblitz/issues/2295
2021-06-23 11:29:04 +01:00
openoms
48ab3737b7
network.aliases: add CLNETWORK 2021-06-23 11:20:59 +01:00
openoms
8bc31b6698
apply bitcoin and lncli aliases in all scripts 2021-06-23 08:30:52 +01:00
rootzoll
d6b193d69b calling correct provisioning 2021-06-21 18:45:54 +02:00