Commit graph

2343 commits

Author SHA1 Message Date
rootzoll
c4258db23a test new line 2021-07-02 13:56:20 +02:00
rootzoll
9d1e9eb1af test line break 2021-07-02 13:55:31 +02:00
rootzoll
edd3239885 result with newline 2021-07-02 13:54:39 +02:00
rootzoll
89f8605568 handle bitcoind not running 2021-07-02 13:52:59 +02:00
rootzoll
b59e1f6b1c fix check for existing files 2021-07-02 13:32:27 +02:00
rootzoll
f542264bc3 fix printing cache 2021-07-02 13:31:00 +02:00
rootzoll
eecfdb788a cached peer info 2021-07-02 13:29:35 +02:00
openoms
ff25e09a64
cln.hsmtool: add change-password and lock options 2021-06-30 14:53:28 +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
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
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
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
rootzoll
9679bcd1f6 move debug script 2021-06-24 21:33:54 +02:00
rootzoll
34bdd3256b Merge branch '1126-provision' into pre-1.7.1 2021-06-24 21:28:19 +02:00
rootzoll
a971485c24 moving github script 2021-06-24 21:20:48 +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
98546684fb stop services on inconsistent state 2021-06-21 17:09:03 +02:00
rootzoll
88573fab3f typo in sync loop 2021-06-21 13:48:42 +02:00
rootzoll
19091acf49 fix copychain returns 2021-06-21 02:43:36 +02:00
rootzoll
c1692e8069 add target 2021-06-21 01:17:38 +02:00
rootzoll
8c62433e6e move and delete scripts 2021-06-20 20:59:05 +02:00
rootzoll
e269f93617 update output 2021-06-20 16:35:17 +02:00
rootzoll
bee3ee1450 keep lnd running 2021-06-19 03:14:05 +02:00
rootzoll
1bfa2c2e3f adding lcd info 2021-06-19 03:13:01 +02:00
rootzoll
78fe559269 fix typo 2021-06-19 02:23:25 +02:00
rootzoll
8818d1326e add a clear 2021-06-19 02:22:29 +02:00
rootzoll
16ff2cd65e fix info file status 2021-06-19 02:20:03 +02:00