Commit graph

2208 commits

Author SHA1 Message Date
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
rootzoll
1c92ddfc51 Merge branch 'pre-1.7.1' into 1126-provision 2021-07-03 21:33:53 +02:00
rootzoll
c070e421b1 update lnd unlock script 2021-07-03 00:05:01 +02:00
rootzoll
11d17f7d92 add status to lnd unlock 2021-07-02 23:55:33 +02:00
rootzoll
f860bf69a9 internet suppress error messages 2021-07-02 15:04:39 +02:00
rootzoll
e19d750b3f fix cache 2021-07-02 14:26:47 +02:00
rootzoll
83c2f042ae allow sudo call 2021-07-02 14:20:06 +02:00
rootzoll
c02b2ad8cc cach file permissions 2021-07-02 14:14:59 +02:00
rootzoll
827364daa9 move chache 2021-07-02 14:11:13 +02:00
rootzoll
dbdbfe8622 used cached peer status 2021-07-02 14:04:15 +02:00
rootzoll
bc76dce517 #2388 improve online check (less pinging) 2021-07-02 14:02:45 +02:00
rootzoll
098eb711ad two vars on output 2021-07-02 13:58:48 +02:00
rootzoll
b307f52899 test new line 2021-07-02 13:57:28 +02:00
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