Commit Graph

6487 Commits

Author SHA1 Message Date
openoms
50e27348db
cl restore: improve file handling and checks 2022-01-17 09:57:27 +00:00
openoms
5970f03da9
fix setting lit.conf 2022-01-17 09:51:58 +00:00
rootzoll
c84d69db6d fix syntax 2022-01-17 00:29:20 +01:00
rootzoll
6f271c6745 Merge branch 'dev' of https://github.com/rootzoll/raspiblitz into dev 2022-01-16 22:07:20 +01:00
rootzoll
a4761ed886 change logfiles user group 2022-01-16 22:07:17 +01:00
openoms
d902f4df12
cl: dispaly logs if unlock is unsuccessful #2866 2022-01-16 19:53:31 +00:00
Felipe Knorr Kuhn
2884a9ffc6
Check if the mempool SQL file exists before attempting to import it (#2892) 2022-01-16 20:23:50 +01:00
rootzoll
6233d13ed5 lnd compact break loops on fail 2022-01-16 17:40:59 +01:00
openoms
c17b25e2c3
mempool update to v2.3.0
always remove files and close ports  when off # 2887 #2884
2022-01-16 16:20:13 +00:00
rootzoll
88624a98ee #2857 ui fix when asked about backup 2022-01-16 13:51:18 +01:00
openoms
f65adc3a1f
cl feeadjuster: fix off option #2888 2022-01-15 12:19:26 +00:00
d11n
7a7693caa6
JoinMarket Web UI (#2747)
* Add JoinMarket Web UI
* Update webserver config
* Add update option
* Improve logging for api service
* Improve install and update script
* Update version and install process
* Use correct onion service script
* Ensure JoinMarket is installed
* add joinmarket-webui precheck to load wallet.dat
2022-01-15 11:00:36 +01:00
Christoph Stenglein
33ed2af24a
(webui): disable yarn 3 telemetry (#2874) 2022-01-14 20:53:10 +01:00
rootzoll
a2543cfae0 #2792 test quart remove 2022-01-13 23:46:49 +01:00
rootzoll
33f2a7075d install layer2 binaries & reduce sudo usage 2022-01-13 19:44:13 +01:00
openoms
1366eda7db
explorer: fix janoside PGP key: 70C0B166321C0AF8 2022-01-12 20:45:01 +00:00
openoms
0c5943a33b
add bitcoinlog alias for mainnet, fix debuglogpath 2022-01-12 20:10:52 +00:00
openoms
af2f8fb8a6
create cl.log_old dir for logrotate 2022-01-12 19:37:19 +00:00
openoms
135f5a4a40
#2662 pip install for root to /usr/local/bin 2022-01-12 15:39:30 +00:00
openoms
dbb25d5807
#2662 build dependencies for both root and bitcoin 2022-01-12 14:47:18 +00:00
/rootzoll
75478fa726
Improving Migration from Umbrel/Citadel (#2881) 2022-01-12 14:03:18 +01:00
openoms
c72b6d2a67
cl: sync installing user with dependencies #2662 2022-01-11 19:01:55 +00:00
rootzoll
bad4e7cff0 add comment 2022-01-11 18:41:53 +01:00
openoms
4f6751080c
lnbits: fix typos 2022-01-11 14:55:06 +00:00
openoms
c56b31d323
electrs update to v0.9.4 and add INFO logs 2022-01-11 10:04:24 +00:00
openoms
a72fad3607
[x86] correct apparmor.d/system_tor (#2876) 2022-01-10 19:02:29 +01:00
openoms
17524cfb10
#2824 add Restart=on-failure for nginx 2022-01-10 14:33:15 +00:00
openoms
ff3007c782
#2871 strip the non-ascii characters 2022-01-10 12:47:04 +00:00
rootzoll
2bb53ceb96 add text info 2022-01-08 22:50:51 +01:00
rootzoll
6e0254bba0 Add fallback shutdown/reboot ... 2022-01-08 20:55:24 +01:00
openoms
9e650e18b8
#2859 set swap maxsize to 4096 2022-01-08 00:08:38 +00:00
rootzoll
1e158e76e4 Merge branch 'dev' of https://github.com/rootzoll/raspiblitz into dev 2022-01-07 22:33:35 +01:00
rootzoll
5b671e7bda #2859 increase swap to 4GB 2022-01-07 22:33:27 +01:00
openoms
4fcdbe71db
hide path check from output 2022-01-06 18:59:45 +00:00
openoms
bec5b9b965
cl: add weekly backup-compact to crontab
#2869 using the admin crontab,  check with:
crontab -u admin -l
2022-01-06 18:56:26 +00:00
openoms
f524dab1d7
joininbox: configure joinmarket after install
#2747
2022-01-05 11:21:06 +00:00
openoms
1c9e96b033
joininbox update to commit b0efe45
remove  sudo use for menu
2022-01-05 10:37:25 +00:00
rootzoll
68d7e79c8e stronger file permissions on log files 2022-01-04 23:41:19 +01:00
rootzoll
6ad3a61400 #2848 remove old debug log 2022-01-04 23:20:18 +01:00
rootzoll
3c9c7f0d02 #2824 adding resolver 2022-01-04 22:40:56 +01:00
KYC
4802271feb
Catch 404 errors and add logs when when tor bridges are deleted (#2853) 2022-01-04 20:58:30 +01:00
nyxnor
abb393ff70
fix https://github.com/rootzoll/raspiblitz/issues/2611 (#2845) 2022-01-04 20:47:03 +01:00
Felipe Knorr Kuhn
0bf03b8234
Update NodeJS to v16.10.0 (#2840) 2022-01-04 20:41:35 +01:00
openoms
fc5becc6b5
add LND repair menu (#2833)
* add 99lndRepairMenu.sh
* add more lnd checks and improve output
* add sudo to syncAndCheckLND
* add ${netprefix} to lnd service
* restore seed and scb separately
* update lnd proto files
* lnd.initwallet: add unlock method
* lndrepair: use recovery window with unlock
* change all rpc_pb2 to lightning_pb2
* mainnet -> ${chain}net
* _provison.setup: restore SCB separately
* clear up the placement of channel.backup
* unloc kLND before SCB restore
* provison.setup: add more logging
* lnd.install: make sure bitcoin is in debian-tor
* lndRepairMenu: add RETRYSCB option
* wait to create macaroons for 2 minutes
* lndRepairMenu: add RESCAN option
2022-01-04 20:08:38 +01:00
openoms
dd10808f9f
blitz.conf: add sudo for new entries 2022-01-04 18:14:22 +00:00
openoms
e5f7f447d9
cl.install.: refactor to use requirements.txt
adding: postgresql libpq-dev #2662
2022-01-02 22:06:03 +00:00
openoms
346a16957c
proofread comment 2022-01-02 20:50:14 +00:00
openoms
e6772d8ab8
fix passwordB change for electrs #2861 2022-01-02 20:45:43 +00:00
openoms
17c1d707cd
c-lightningREST update to v0.6.1 #2860 2022-01-02 20:37:22 +00:00
openoms
4b3bba7a54
RTL update to v0.12.0 #2860 2022-01-02 20:36:40 +00:00
openoms
5072272075
chantools update to v0.10.1 2022-01-02 01:00:01 +00:00
openoms
e75cc3a92f
make sure /home/admin/_aliases exists 2021-12-23 20:32:07 +00:00
openoms
9da44ea593
#2839 return seedwords and add6x4 in new function 2021-12-23 17:25:17 +00:00
openoms
2f244429aa
correct comment 2021-12-23 17:21:36 +00:00
d11n
44a4a4a95d
Upgrade tallycoin_connect (#2835) 2021-12-23 14:53:56 +01:00
arno
ecf1a32187
set hostname on different OS-es (#2831) 2021-12-23 14:48:42 +01:00
/rootzoll
3e831918ba
#2556 change to uvicorn (#2844) 2021-12-23 14:03:46 +01:00
rootzoll
9652f0542b fix string output 2021-12-22 02:09:01 +01:00
rootzoll
67878d87ad #2556 lnbits switch to fastAPI 2021-12-21 21:49:45 +01:00
openoms
02425de990
lnd.service: avoid hanging on stop #2827 2021-12-21 15:33:41 +00:00
openoms
58ae87e3cb
typos 2021-12-21 15:30:45 +00:00
rootzoll
729247d921 #2617 give menu more width 2021-12-21 15:55:55 +01:00
rootzoll
fab8e6b52a #2617 fix deletion of files 2021-12-21 15:53:58 +01:00
d11n
cf4dae5a7d
Integrate Tallycoin Connect (#2617) 2021-12-21 15:45:01 +01:00
rootzoll
ccab24e8b6 #2639 check ln synced before main menu 2021-12-21 13:09:15 +01:00
rootzoll
43473db434 exit to terminal info again 2021-12-21 12:53:31 +01:00
openoms
1eda1adbc4
#2639 fix config after lnd rescuefile import 2021-12-21 07:54:51 +00:00
openoms
4919955fca
fix comment 2021-12-21 00:30:02 +00:00
rootzoll
518b425d73 Merge branch 'dev' of https://github.com/rootzoll/raspiblitz into dev 2021-12-21 00:40:14 +01:00
rootzoll
1c57fee848 #2639 check if wallet exists from resacue file 2021-12-21 00:38:51 +01:00
openoms
f1ed46afd3
provision.setup: register LNDRESCUE, fix #2639 2021-12-20 23:16:50 +00:00
openoms
c910a0e173
repairMenu: ask both CL and LND backup if active 2021-12-20 20:37:58 +00:00
openoms
e2eafc54aa
provison.setup: don't need passwordC for rescuefile #2639 2021-12-20 20:16:09 +00:00
rootzoll
48bbbac527 #2828 fix some more bad substitutions 2021-12-20 20:41:02 +01:00
rootzoll
c1ea6c4236 #2824 retest upstream 2021-12-20 20:34:37 +01:00
openoms
ba4a0ed801
fix bad substitutions for redis #2828 2021-12-20 19:28:25 +00:00
openoms
81621071bd
BBcashoutWallet: fix variable #2828 2021-12-20 19:26:34 +00:00
openoms
d78d35b4ec
BBfundwallet: fix variable #2828 2021-12-20 19:24:36 +00:00
openoms
c3a4eb3bfb
cl.install: keep using Type=simple
Type=forking hangs on restart
2021-12-20 16:41:36 +00:00
openoms
cf65db6023
cl.install: improve service file based on sample 2021-12-20 15:07:39 +00:00
openoms
ff3ab2585e
#2826 do not create system directories and format 2021-12-20 15:02:36 +00:00
openoms
4636f47aad
#2826 improve bitcoind service files 2021-12-20 14:20:06 +00:00
openoms
5706d38c1e
#2827 improve lnd.service files
added:
ExecStop=/usr/local/bin/lncli -n=${CHAIN} --rpcserver localhost:1${rpcportmod}009 stop
PIDFile=/home/bitcoin/.lnd/${netprefix}lnd.pid
Restart=on-failure # was always
Type=notify # was simple
MemoryDenyWriteExecute=true

Increased timeouts:
TimeoutStartSec=1200
TimeoutStopSec=3600
2021-12-20 14:09:24 +00:00
openoms
9658d49e60
99cLMenu: add check if the CL wallet is unlocked
#2812
2021-12-20 12:41:59 +00:00
rootzoll
7198044843 change fingerprint file used in menu 2021-12-20 12:41:00 +01:00
rootzoll
10464ebb5a add debug 2021-12-20 12:29:19 +01:00
rootzoll
c73a242a57 adapt pyblock info message 2021-12-20 11:44:55 +01:00
rootzoll
000eb7b6a5 fix small ui 2021-12-20 11:40:41 +01:00
rootzoll
5b1d0ea311 fix status info 2021-12-20 11:40:34 +01:00
openoms
8edaa3dbe0
fix lndlog alias check 2021-12-20 08:34:43 +00:00
openoms
48584bb434
lnd.check: add [Bitcoin] section 2021-12-20 08:04:15 +00:00
openoms
79c6ee78d0
lnd.install: improve aliases, add lndconf 2021-12-20 07:40:19 +00:00
arno
720a9c0403
preserve-timestamps (#2823) 2021-12-20 01:06:29 +01:00
openoms
eae7160422
cl, lnd.update: check version in reckless install
#2798
2021-12-19 23:56:40 +00:00
openoms
34b54f0553
lnd.setname: add alias if not present and set 2021-12-19 22:56:30 +00:00
rootzoll
18f696afa4 #2825 change insert of string data 2021-12-19 23:43:07 +01:00
openoms
cf8d454988
lnd.check: streamisolation false in hybrid mode
a simple logic to cover #2787
2021-12-19 22:36:39 +00:00
rootzoll
9844476804 #2824 remove exterbal proxy pass 2021-12-19 23:28:53 +01:00
rootzoll
772d9c8132 mute directory copy 2021-12-19 23:18:36 +01:00
rootzoll
800c76d4e4 more debug output 2021-12-19 23:18:00 +01:00
rootzoll
28e947dedb mete warnings 2021-12-19 23:15:34 +01:00
rootzoll
13be394f51 github patch always clean 2021-12-19 23:04:49 +01:00
rootzoll
7770efbde9 use -R 2021-12-19 22:47:42 +01:00
rootzoll
f09601da50 Merge branch 'dev' of https://github.com/rootzoll/raspiblitz into dev 2021-12-19 22:44:48 +01:00
rootzoll
1921e4e0fa add more redact data 2021-12-19 22:44:42 +01:00
openoms
dc581a9403
improve lightning backup texts 2021-12-19 18:35:27 +00:00
openoms
6986e7e020
lnd.compact: kill process without exiting
#2752
2021-12-19 18:06:16 +00:00
openoms
fe61c69c31
update: download both lnd and cl rescue if active 2021-12-19 16:56:38 +00:00
openoms
40d2df860c
lnd.compact: use pkill instead of killall
#2752
2021-12-19 16:47:06 +00:00
openoms
f5be48770b
remove duplicate sudos and improve clrescue import 2021-12-19 16:27:27 +00:00
rootzoll
95f979c734 add git pull config 2021-12-19 16:59:25 +01:00
rootzoll
37d1f05a85 double PAM file open limit 2021-12-19 16:40:08 +01:00
rootzoll
6a2e5525d0 Merge branch 'dev' of https://github.com/rootzoll/raspiblitz into dev 2021-12-19 15:43:33 +01:00
rootzoll
e66848a048 #2820 add more test & debug 2021-12-19 15:43:25 +01:00
openoms
139bb371d0
fixing typos including uasp-fix 2021-12-19 14:37:48 +00:00
openoms
2704406819
Create CL wallet from seedwords before start (#2822) 2021-12-18 23:07:37 +01:00
rootzoll
6e2f6dfec4 version v1.7.2rc1 2021-12-18 22:31:40 +01:00
/rootzoll
e1a028fe18
#2818 ssh keys backup refactor (#2819) 2021-12-18 19:18:57 +01:00
/rootzoll
167264ff50
privacy redact debug logs (#2817) 2021-12-18 14:18:42 +01:00
openoms
5afb635482
cl.hsmtool: correct passwordfile name everywhere 2021-12-18 02:52:25 +00:00
openoms
681e8c98bd
cl: move the autounlock file to /home/bitcoin/
to fix permission errors in #2812
2021-12-18 02:29:57 +00:00
rootzoll
1b7f9d51d8 pipe nginx check results into stdout 2021-12-18 01:04:51 +01:00
rootzoll
aca06e05ed dont check blitzapi if not installed 2021-12-18 01:02:09 +01:00
rootzoll
efb53e8e76 remove exit to terminal 2021-12-18 00:55:49 +01:00
rootzoll
dee23e98b6 Merge branch 'dev' of https://github.com/rootzoll/raspiblitz into dev 2021-12-18 00:38:55 +01:00
rootzoll
ab53050e3f make new scripts use blitz.conf.sh 2021-12-18 00:38:49 +01:00
nyxnor
83838472eb
improve debug logs readability and tips tp use without tor (#2815) 2021-12-17 23:28:17 +01:00
arno
72bfa88861
ssh is a directory (#2807) 2021-12-17 22:45:01 +01:00
rootzoll
9ada5b912c fix peer-kickstart 2021-12-17 22:28:35 +01:00
rootzoll
adc8549845 lnd & cl install on on if not done in fatpack 2021-12-17 21:43:19 +01:00
/rootzoll
399c278b15
#2759 update pyblock install (#2811) 2021-12-17 01:26:16 +01:00
Tracachang
08576a055c Add more time to avoid re-enter the password (#2795) 2021-12-16 23:25:14 +01:00
Tracachang
9f8fbc2f39 increase timeoutsec to avoid re-entering the password (#2794) 2021-12-16 23:23:36 +01:00
rootzoll
4ef931f6c4 delete modules if available 2021-12-16 23:23:00 +01:00
rootzoll
7272771664 opt out telemetry after install 2021-12-16 22:51:03 +01:00
rootzoll
7dc7ab9226 add debug 2021-12-16 22:46:58 +01:00
rootzoll
fc417ab19d Merge branch 'dev' of https://github.com/rootzoll/raspiblitz into dev 2021-12-16 22:45:47 +01:00
rootzoll
9194a341ea #2810 try mute user interaction 2021-12-16 22:45:38 +01:00
arno
18756426e7
extra names for variables used in other scripts (#2809) 2021-12-16 22:36:53 +01:00
rootzoll
a62f20c894 #2804 fix if syntax 2021-12-16 21:18:17 +01:00
rootzoll
0067437724 call tor.network.sh on provision 2021-12-16 21:11:34 +01:00
rootzoll
5be1452169 Merge branch 'dev' of https://github.com/rootzoll/raspiblitz into dev 2021-12-16 21:10:06 +01:00
rootzoll
b8b23b8a65 #2805 fix calling tor status 2021-12-16 21:10:00 +01:00
/rootzoll
88d77d4197
fix #2792 & #2556 LNbits c-lightning (#2808) 2021-12-16 20:10:03 +01:00
arno
f1478dff8a
/mnt/hdd/ssh is a directory (#2806) 2021-12-16 18:07:11 +01:00
rootzoll
37b6076117 #2799 fix chmod line 2021-12-15 23:32:19 +01:00
rootzoll
8fa4d4dbfa #2801 fix typo 2021-12-15 23:30:59 +01:00
rootzoll
faae20fbca #2796 update BTC RPC Explorer to 3.3.0 2021-12-15 00:22:53 +01:00
/rootzoll
85b0c97d41
big merge of 2388redis & 2669tor (#2790) 2021-12-14 23:34:35 +01:00
openoms
1cdb50d38f
update joininbox v0.6.5 with joinmarket v0.9.4 2021-12-14 17:27:51 +00:00
openoms
1a6ee15cd7
fix seedwordFile typos in outputs 2021-12-14 17:25:41 +00:00
openoms
95f32c2b92
blitz.copychain: fix retry after invalid transfer 2021-12-13 08:23:45 +00:00
openoms
521020a453
98repairBlockchain: fix COPY option 2021-12-13 01:13:11 +00:00
/rootzoll
6068b86d76
#2348 adding Zap back to SSH connect menu (#2783) 2021-12-11 19:38:35 +01:00
arno
a7fe5ffd24
typo-variable (#2782) 2021-12-09 20:46:00 +01:00
rootzoll
6efd09a236 #2647 remove full lnd directory backup 2021-12-09 19:00:57 +01:00
cxbtc
b2621f52b5 Small improvements to internet check (re: #2388) (#2726) 2021-12-09 18:30:17 +01:00
frennkie
e9869fb222 automatically create cronjob for kindle-display (#2657) 2021-12-09 18:26:38 +01:00
frennkie
1549f63eac allow custom e-mail server port for notify (#2700) 2021-12-09 18:23:19 +01:00
Christoph Stenglein
52952245e9
fix webui routing, fixes #2723 (#2770) 2021-12-09 18:01:23 +01:00
rootzoll
ab89fe87eb clean more old litecoin references 2021-12-09 14:08:04 +01:00
rootzoll
54bc9fa7ae #1578 remove edit of asset 2021-12-09 14:00:32 +01:00
rootzoll
504da588d4 Merge branch 'dev' of https://github.com/rootzoll/raspiblitz into dev 2021-12-09 11:45:03 +01:00
rootzoll
6d15c195c5 #1578 remove unneeded litecoin assests & code 2021-12-09 11:44:57 +01:00
openoms
fa3b981540
update BTCPay to v1.3.6, NBXplorer v2.2.18 2021-12-09 07:06:18 +00:00
openoms
f14ac5f3bf
lit update to v0.6.1-alpha 2021-12-09 07:04:07 +00:00
rootzoll
adf0e9d952 #2581 UASP check only if lsusb is available 2021-12-09 03:23:47 +01:00
openoms
2807623716
cl.install: fix mistune version to 0.8.4
related: https://github.com/refi64/mrkd/pull/6
2021-12-08 21:31:34 +00:00
openoms
2fcb10caa8
cl.install: source configfiles after install 2021-12-08 13:58:30 +00:00
rootzoll
1dee064452 #2743 adding --logLevel warn 2021-12-08 09:56:37 +01:00
cercatrova
ac20d1b1d5
Update Specter 1.7.2 (#2764) 2021-12-08 09:28:06 +01:00
/rootzoll
97dc925ed4
#2710 enable ctrl+c again in ssh sync info (#2775) 2021-12-08 09:21:12 +01:00
/rootzoll
f3773f2eda
fix #2703 keeping to RTL config changes thru reboot & sd card update (#2774)
* #2703 dont delete RTL config
* #2703 move RTL config to HDD
* fix config exists detection
2021-12-08 01:12:56 +01:00
rootzoll
6b5efb8e40 #2247 quick fix for the letsencrypt=on 2021-12-07 23:19:48 +01:00
rootzoll
236fc76e92 #2689 chown subscription directory admin 2021-12-07 21:59:37 +01:00
Aaron Dewes
fe651b4f1d
Update electrs to 0.9.3 (#2749)
* Update electrs to 0.9.3

https://github.com/romanz/electrs/blob/v0.9.3/RELEASE-NOTES.md

* Remove the unsupported verbose option from electrs.toml
2021-12-07 15:04:00 +01:00
Dipun Mistry
03f0318bed
Opt out of nextjs telemetry (#2751)
Fixes https://github.com/rootzoll/raspiblitz/issues/2620
2021-12-07 15:01:39 +01:00
openoms
7c18db7bd7
build_sdcard.sh to call config.scripts to install Bitcoin, LND and CL (#2754)
* move Bitcoin Core install to bitcoin.install.sh

* update lnd to v0.14.1, move to lnd.install.sh

* update CL to v0.10.2, move to cl.install.sh

* call config.scripts to install BITCOIN, LND and CL

* improve cpu and base image detection

* switch tor sources to bullseye for debian and co

* allow one parameter in install scripts

* PGPauthor is guggero for lnd v0.14.1

* lnd.install: improve output

* cl.install: fix links

* cl v0.10.2 signer is cdecker

* cl.install: add mrkd dependency

* make the bitcoin home directory readable
2021-12-07 15:00:44 +01:00
rootzoll
6dabdf9089 add debug info 2021-12-07 14:17:03 +01:00
rootzoll
fddf8e2547 #2761 check free HDD & whiptail dialog 2021-12-07 14:15:47 +01:00
openoms
40bc588fa3
New: Compact the LND channel.db on-demand from REPAIR and before backups (#2761)
* add lnd.compact.sh
* add interactive channel.db compacting to backups
* improve text output
* compact: restart LND after manual compacting
2021-12-07 12:13:03 +01:00
nyxnor
792b0a7bb2
improve go script (#2670) 2021-11-30 23:54:42 +01:00
rootzoll
38749562c4 Merge branch 'dev' of https://github.com/rootzoll/raspiblitz into dev 2021-11-30 23:13:51 +01:00
rootzoll
8d2eac4bec #2583 partions at 1024KiB & remove -a optimal 2021-11-30 23:13:46 +01:00
openoms
5e074d0cca
Merge branch 'dev' of https://github.com/rootzoll/raspiblitz into dev 2021-11-30 20:33:44 +00:00
openoms
9ac00f305f
update LIT to v0.6.0-alpha, everything over Tor 2021-11-30 20:33:36 +00:00
rootzoll
217c1766d2 #2649 stop bitcoind & delete small chainm data 2021-11-30 20:08:10 +01:00
rootzoll
3a4aae8ed7 #2642 add citadel as migration option 2021-11-30 18:27:04 +01:00
rootzoll
18a7ed9c3d #2644 disable password c when no lightning 2021-11-30 18:13:28 +01:00
openoms
3a910729b1 Merge branch 'dev' of https://github.com/rootzoll/raspiblitz into dev 2021-11-30 15:33:05 +00:00
openoms
f1a549171d SETTINGS: change Testnets if either changes 2021-11-30 15:32:51 +00:00
openoms
9fd9fb1670
copy systematically and unify script permissions (#2746) 2021-11-30 16:27:20 +01:00
openoms
8427dcb42e
update c-lightning to v0.10.2 (#2707)
do not offer updates to release candidates for LND and CL
fix #2706
2021-11-30 12:46:31 +00:00
openoms
e77a343dca
VM fixes - ongoing testing (#2745) 2021-11-30 13:22:10 +01:00
openoms
3c3df62a8a
Improve setup reliability and VM compatibility (#2744) 2021-11-30 12:58:06 +01:00
openoms
3a09f3a3e5
Git verify everywhere + updates (#2708) 2021-11-30 12:43:52 +01:00
pretyflaco
3762406fe5 Update blitz.debug.sh (#2740)
Changed lnd to c-lightning log output for c-lightning node
2021-11-30 12:00:18 +01:00
yzernik
773e0b9bf7 Add squeaknode to provision script 2021-11-29 21:23:58 -08:00
yzernik
8354830d2c Change name to uppercase in main menu 2021-11-26 20:59:07 -08:00
yzernik
52d34db7ac Close ports on firewall on set off 2021-11-26 17:09:59 -08:00
yzernik
6d9e68949c Add squeaknode app 2021-11-26 16:56:14 -08:00
openoms
27d5c63fc6
blitz.web.api.sh update-config for testnet (#2724) 2021-11-25 22:33:58 +01:00
FeedMyTummy
1c158759b1
Fix broken links. (#2681)
Old links are dead. Long live the new links.
2021-11-11 15:53:16 +01:00
openoms
608a5854f7 Fix RESET-LND (#2690)
* initialize LND wallet after reset
* diplay seed for mainnet after reset and init
* display and delete the seed for mainnet
* lnd.install: remove seedwordFile after shred

The seed will be safely deleted after having been displayed, the same as during the initial setup.
The seedwordFile is created and kept for testnet and signet if active.
2021-11-11 15:41:04 +01:00
/rootzoll
2c26fe40f4 add commit has info to github menu (#2674) 2021-10-28 11:59:11 +02:00
rootzoll
c681428740 #2667 fix 2021-10-28 01:03:46 +02:00
rootzoll
df1f10712d #2575 removing again 2021-10-27 00:33:52 +02:00
/rootzoll
02544f6b45 # 2084onlycopystation (#2664) 2021-10-25 11:31:49 +02:00
openoms
db74a04fa6
RTL: add lnServerUrl config for lnd testnets 2021-10-18 11:06:48 +01:00
openoms
4f1da190bf
CL: show port on infoscreen
fixing #2635
2021-10-17 10:34:46 +01:00
openoms
4c0e0d1b2d
CL: do not announce 127.0.0.1 and check in CLCONF
fixes #2634
2021-10-17 10:13:57 +01:00
theword3
b20c0146a3
bonus.rtl.sh: Fix C-Lightning changes of config (#2625)
fixes #2626
2021-10-17 09:54:26 +01:00
rootzoll
82805ca638 Merge branch 'v1.7' into dev 2021-10-12 16:05:06 +02:00
rootzoll
32b7bf94b0 prepare v1.7.1 torrent 2021-10-12 02:37:25 +02:00
openoms
a5ae1cad8e
unify cl help outputs 2021-10-12 01:09:46 +01:00
openoms
bc0c8ab7e8
99clMenu: consistent naming of REPAIR-CL 2021-10-11 23:50:54 +01:00
openoms
facf84374c
99clRepairMenu: fix restore from seed #2295 2021-10-11 23:48:58 +01:00
openoms
3cdeebfd34
cl.spark: correct purge message 2021-10-11 23:47:47 +01:00
rootzoll
323ad1714d prepeare v1.7.1 versioning 2021-10-12 00:05:20 +02:00
openoms
eeaebc4b1c
cl.spark: fix babel dependency #2584 2021-10-11 21:43:03 +01:00
openoms
f8ee4896f2
cl.backup: read key on BACKUP and improve output 2021-10-11 14:39:24 +01:00
rootzoll
592801e91a fix btc-rpc-explorer config dir 2021-10-10 23:49:11 +02:00
rootzoll
92411e7b5e mute debug error 2021-10-10 13:02:02 +02:00
openoms
7a1ec283d2
cl-plugin.http: fix rust installation #2579 2021-10-10 10:54:49 +01:00
openoms
3a7409033b
electrs: fix rust installation #2548 2021-10-10 10:50:23 +01:00
rootzoll
5f0760dcfa fix password c error on setup 2021-10-10 10:43:38 +02:00
openoms
31d6ef9e34
cl.setname: fix detection of CLCONF, clean #2608 2021-10-09 22:00:37 +01:00
openoms
3990f45aee
add clHTTPplugin with Fully noded connection (#2602)
* add clHTTPplugin with Fully noded connection
* clHTTPplugin: pin version to latest master
* MOBILE:extend menu, install clHTTPplugin for FN_CL
* spell out FULLYNODED in CONNECT
2021-10-08 17:12:43 +02:00
rootzoll
9726c25907 set rights on lnd.conf 2021-10-07 14:32:07 +02:00
rootzoll
b9f207fcf3 fix lnd config on migration 2021-10-07 13:57:03 +02:00
rootzoll
b8ffa0129a default network to bitcoin 2021-10-07 13:17:11 +02:00
rootzoll
0d6b1ac914 backup old lnd.conf 2021-10-07 13:10:16 +02:00
rootzoll
112109f0f2 final dialog add debug info delay 2021-10-07 12:06:24 +02:00
rootzoll
78101faae7 #2561 adapt node migration detection 2021-10-07 11:50:25 +02:00
rootzoll
5e853b4ef6 #2561 setting password B on migration 2021-10-07 11:21:52 +02:00
openoms
6967cd8da0
cl-plugin.standard-python: add persist option 2021-10-06 18:35:36 +01:00
openoms
735239886c
follow cl naming convention 2021-10-06 08:03:42 +01:00
rootzoll
0978ad77b6 reorder final reboot 2021-10-05 13:47:36 +02:00
rootzoll
e1aa621109 no loop within loop 2021-10-05 13:00:12 +02:00
rootzoll
a1ccef82a1 #2600 controlFinalDialof fixes 2021-10-05 12:36:56 +02:00
rootzoll
69d62a6929 #2600 move final rebot into controller 2021-10-05 12:27:52 +02:00
rootzoll
cd41455a6d update thunderhub v0.12.30 2021-10-05 11:42:41 +02:00
rootzoll
b30dfd8fe4 #2561 debug output 2021-10-05 11:35:33 +02:00
rootzoll
872ea17956 update lightning dialog 2021-10-05 09:14:46 +02:00
rootzoll
5dcdb06275 mute errors 2021-10-04 21:33:59 +02:00
rootzoll
81eedc635b #2597 update lnd to 0.13.3 2021-10-04 19:32:25 +02:00
rootzoll
c331437853 #2588 updated shutdown info 2021-10-04 09:57:57 +02:00
rootzoll
1803319cba #2588 updated time estimate for COPY 2021-10-04 09:56:16 +02:00
rootzoll
9d8f230102 Merge branch 'dev' of https://github.com/rootzoll/raspiblitz into dev 2021-10-04 09:53:25 +02:00
rootzoll
ad1dbc673a #2588 double enforce setup reboot 2021-10-04 09:53:17 +02:00
openoms
b891b5d74c
internet.tor.sh: fix btc-rpc-explorer ports 2021-10-03 12:53:25 +01:00
fusion44
8b30b03dbb
Update BlitzAPI startup command (#2589) 2021-10-03 12:21:19 +02:00
openoms
8585bd77cd
joininbox update to v0.6.1 with joinmarket v0.9.2 2021-10-02 16:23:20 +01:00
openoms
4c594ac9fa
fix spark choice in settings 2021-10-02 14:14:04 +01:00
rootzoll
5632ff668f remove debug output 2021-10-02 01:48:13 +02:00
rootzoll
7d23d2e293 fix unlock 2021-10-02 01:46:15 +02:00
rootzoll
cb1870cb7a add debug 2021-10-02 01:41:51 +02:00
rootzoll
a7efe6cebc patch raspiblitz state 2021-10-02 01:32:14 +02:00
rootzoll
ca05604ebf Merge branch 'dev' of https://github.com/rootzoll/raspiblitz into dev 2021-10-01 23:17:45 +02:00
rootzoll
8b54bebb9c make recovery 2021-10-01 23:17:36 +02:00
openoms
d39707042c
joinmarket: refactor installation
verify Joininboc commit with PGP
install JoinMarket with the JoininBox script
remove ssh loging with the joinmarket user
show JoininBox in main menu
2021-10-01 19:39:44 +01:00
rootzoll
88eabb92e6 excute migration file 2021-10-01 17:09:49 +02:00
rootzoll
ff783dae74 add chain to setup file 2021-10-01 15:51:00 +02:00
rootzoll
96dd5ef442 rename wallet options 2021-10-01 13:52:30 +02:00
rootzoll
58d70aa58a make window larger 2021-10-01 13:49:22 +02:00
rootzoll
5f807d6c08 fix options on mobily of both or on 2021-10-01 13:40:17 +02:00
rootzoll
976bb6719d enlarge settings menu 2021-10-01 13:21:22 +02:00
openoms
90d557679c
Spark Wallet integration (#2585) 2021-10-01 13:14:42 +02:00
rootzoll
0d191e5232 Merge branch 'dev' of https://github.com/rootzoll/raspiblitz into dev 2021-10-01 12:17:14 +02:00
rootzoll
58f21fa6f9 #2586 name it password C in c-lightning 2021-10-01 12:16:52 +02:00
rootzoll
e548f2e9c7 move LND & CL sub menus up in main menu 2021-10-01 12:16:18 +02:00
openoms
fd4e7eeed4
joinamrket: include all IRC servers 2021-10-01 10:35:27 +01:00
openoms
979c4af4ef
cl.install: mrkd fallback when building master 2021-10-01 10:35:05 +01:00
openoms
1b53bd41e4
cl.install: stop & add warning on update to master
this will not stop the script when updating to a chosen release
with "${clInterimsUpdate}" == "reckless"
#2564
2021-10-01 08:53:46 +01:00
openoms
488ffec0d3
cl.install: add logrotate 2021-10-01 07:41:44 +01:00
openoms
225891651c
cl.update: fix version syntax 2021-10-01 07:37:04 +01:00
rootzoll
312325e0fa Merge branch 'dev' of https://github.com/rootzoll/raspiblitz into dev 2021-09-30 21:32:59 +02:00
rootzoll
c0f1afbab7 more debug outputs 2021-09-30 21:32:53 +02:00
openoms
aaed8c8501
electrs update to v0.9.0 #2548 2021-09-30 20:25:28 +01:00
rootzoll
588748f710 deactivate litecoin & add debug 2021-09-30 20:37:00 +02:00
rootzoll
d21a79372b Merge branch 'dev' of https://github.com/rootzoll/raspiblitz into dev 2021-09-30 18:24:33 +02:00
rootzoll
9c36abff7e longer delay on testing bitcoind 2021-09-30 18:24:22 +02:00
openoms
2fdd0d6bd0 cl.rest: expose errors in journal 2021-09-30 12:28:08 +01:00
rootzoll
e9c537ee3b Merge branch 'dev' of https://github.com/rootzoll/raspiblitz into dev 2021-09-30 11:18:04 +02:00
rootzoll
9e753af793 change time of prepare reboot info 2021-09-30 11:17:58 +02:00
openoms
8a0d6b5c2a provision: fix CL entries 2021-09-30 09:56:52 +01:00
rootzoll
a0e24d0e93 remove -a optimal from parted for now 2021-09-30 10:52:20 +02:00
rootzoll
03b9da27c4 cat raspiblitz.provision-setup.log on setup error 2021-09-29 23:34:34 +02:00
rootzoll
85daa3e92f reboot info 2021-09-29 16:18:30 +02:00
rootzoll
06d0e05c20 fix syntax error from CL change 2021-09-29 15:28:52 +02:00
rootzoll
d66cb69d72 fix error state 2021-09-29 14:12:04 +02:00
rootzoll
b6d73d6cb5 fix syntax errors 2021-09-29 14:11:50 +02:00
rootzoll
54c6bd3304 remove text 2021-09-29 14:01:23 +02:00
rootzoll
48a5588cb5 react to error 2021-09-29 13:07:24 +02:00
rootzoll
cf3962c1ad parted -a optimal 2021-09-29 11:54:01 +02:00
rootzoll
2eeb659780 Merge branch 'dev' of https://github.com/rootzoll/raspiblitz into dev 2021-09-28 21:17:56 +02:00
rootzoll
8f8353383b parted -a optimal for EXT4 2021-09-28 21:17:04 +02:00
openoms
d5a7afc968
tor: reload instead of restart 2021-09-28 17:15:42 +01:00
openoms
0d7ac3168a suez update to latest master 2021-09-28 10:41:33 +01:00
openoms
ce6af54dc7 cl.install: git reset when version is given 2021-09-28 10:40:00 +01:00
openoms
6b34ce9e3a
CL: add update options for C-lightning 2021-09-27 23:34:49 +01:00
openoms
55390c9a53
rtl: remove typos. Fixing: #2580 2021-09-27 22:45:47 +01:00
openoms
09da8bdd26
bootstrap: check for outdated variables and reboot
related #2575
2021-09-27 19:24:02 +01:00
openoms
af3db7f534
add cl.check.sh #2433 2021-09-27 11:12:06 +01:00
openoms
486d2b4e3c
add cl-plugin: feeadjuster 2021-09-27 11:11:30 +01:00
openoms
37b2fb3e2d
replace CLN with CL 2021-09-27 10:46:30 +01:00
openoms
d84a9c2387
add quotes 2021-09-27 10:40:48 +01:00
openoms
56309541fe
replace CLN with CL in outputs 2021-09-27 10:39:36 +01:00
openoms
9a9158cd8d
Merge branch 'dev' into CLNtoCL 2021-09-27 00:49:41 +01:00
openoms
04ebfd7c87
cln-plugin.standard-pyhton - fix 3rd parameter 2021-09-27 00:47:47 +01:00
openoms
a801da84c1
uncomment ELECTRSVERSION= 2021-09-26 23:27:26 +01:00
openoms
cac14efc46
rename all cln / CLN to cl / CL except CLNETWORK 2021-09-26 10:30:09 +01:00
openoms
f9c095cb5a
electrs: override defaults in the config #2548 2021-09-25 18:06:17 +01:00
openoms
bed30badf8
reword payinvoice message 2021-09-25 18:02:46 +01:00
openoms
dcc5be20ac electrs update to v0.9.0-rc2 #2548 2021-09-24 15:14:36 +01:00
Stephan Oeste
92ff4231f6
Bisq changed to tor onion v3 (#2569) 2021-09-23 20:54:02 +02:00
rootzoll
9bec388fad add rc2 version info 2021-09-23 16:32:25 +02:00
rootzoll
7c1eba1b4a Merge branch 'dev' of https://github.com/rootzoll/raspiblitz into dev 2021-09-23 14:00:06 +02:00
rootzoll
3be9755cab #2546 add deprecatedrpc=addresses to bitcoin.conf 2021-09-23 13:59:55 +02:00
blackcoffeexbt
cfdeed6d37
Added timeout to blitz.subscriptions.py -> NEW1 menu option subprocess call (#2571)
If the sphinxrelay service is not available (removed port forwarding ot other cause) selecting  NEW1 from the subscriptions menu hangs the script. This commit adds a 10 second timeout to the  bonus.sphinxrelay.sh subprocess call to prevent this.
2021-09-23 13:47:55 +02:00
rootzoll
4b982ddaf8 #2486 adapt log rotate 2021-09-23 12:27:12 +02:00
rootzoll
c560d9960c fix broken shell status output 2021-09-23 12:13:10 +02:00
rootzoll
ae9ddeb768 #2271 deactivate DYNU from the menu 2021-09-22 23:31:08 +02:00
rootzoll
a5fac810bb fix debug output 2021-09-22 23:02:42 +02:00
rootzoll
16a00e216a add debug output 2021-09-22 23:00:41 +02:00
rootzoll
bfaaf84131 dont clean apitoken 2021-09-22 22:57:21 +02:00
rootzoll
4e91c43aea better error check 2021-09-22 22:21:57 +02:00
rootzoll
383fa34cd4 Merge branch 'dev' of https://github.com/rootzoll/raspiblitz into dev 2021-09-22 22:06:23 +02:00
rootzoll
139deb5b20 add debug output 2021-09-22 22:05:58 +02:00
openoms
e83196d903
rtl: fix check for npm 7 #2124 2021-09-22 20:57:14 +01:00
rootzoll
880db21993 add reboot info 2021-09-22 20:42:22 +02:00
rootzoll
ffc280796b Merge branch 'dev' of https://github.com/rootzoll/raspiblitz into dev 2021-09-22 19:57:16 +02:00
rootzoll
a2656ac0ad try fix final reboot bug 2021-09-22 19:56:15 +02:00
openoms
6cbbb7754f
Lightning Terminal update v0.5.1-alpha 2021-09-22 17:47:34 +01:00
openoms
8face72273
cln: improve help outputs 2021-09-22 16:06:37 +01:00
openoms
90421b1c3b
specter: install with apt-get, pip and conf after 2021-09-22 15:27:08 +01:00
openoms
716d027737
cln.install refactor and fix typos 2021-09-22 14:37:45 +01:00
openoms
153ce85e8c
Merge branch 'dev' of https://github.com/rootzoll/raspiblitz into dev 2021-09-21 20:01:34 +01:00
openoms
5cb9977782
specter: fix config, add parallel networks #2563 2021-09-21 19:57:45 +01:00
openoms
0f54b81d65
electrs update and fix status (#2562) 2021-09-21 19:38:21 +02:00
rootzoll
9d97c17ef2 move change of service after loop 2021-09-21 18:56:48 +02:00
rootzoll
3734b8be4b adapt signature check 2021-09-21 18:02:49 +02:00
rootzoll
c0847a4255 exit when lnd is not installed 2021-09-21 17:55:21 +02:00
rootzoll
780bc9450a update chantools 0.9.3 2021-09-21 17:54:41 +02:00
rootzoll
8b1811f1e2 add more debug for chantools PGP check 2021-09-21 17:51:27 +02:00
rootzoll
487d3ef760 fix specter config json 2021-09-21 16:51:08 +02:00
rootzoll
2cd16db544 fix specter configs path 2021-09-21 15:42:59 +02:00
rootzoll
774f084933 Merge branch 'dev' of https://github.com/rootzoll/raspiblitz into dev 2021-09-21 14:21:12 +02:00
rootzoll
462361d34d Update thunderhub v0.12.25 2021-09-21 14:21:00 +02:00
openoms
9a246c05e2
electrs: remove wait_duration_secs setting
as discussed in:
https://github.com/romanz/electrs/issues/495#issuecomment-923845230
and #2548
2021-09-21 11:30:13 +01:00
rootzoll
98e92a1a1d Merge branch 'dev' of https://github.com/rootzoll/raspiblitz into dev 2021-09-21 12:25:32 +02:00
rootzoll
c0d588dff6 fix dotnet call 2021-09-21 12:25:24 +02:00
openoms
6c2873ec90
electrs: use v0.8.12 until #2548 is resolved
move index-batch-size=10  to config
2021-09-21 10:16:51 +01:00
rootzoll
11bf41d362 #2264 remove DropBox Backup from menu 2021-09-20 21:20:20 +02:00
openoms
3014bcc3a4
Merge branch 'dev' of https://github.com/rootzoll/raspiblitz into dev 2021-09-20 19:36:19 +01:00
openoms
a15e058e9e
cln unlock cleanup 2021-09-20 19:36:01 +01:00
rootzoll
ab22f3c3cf reload status 2021-09-20 20:00:37 +02:00
rootzoll
927ad37dad add clear 2021-09-20 19:36:22 +02:00
rootzoll
b34d88812e clear after dialog 2021-09-20 19:35:23 +02:00
rootzoll
3c702138ad make dialog bigger 2021-09-20 19:33:15 +02:00
rootzoll
3c7cb34eb9 fix connection test 2021-09-20 19:31:21 +02:00
rootzoll
7d27ec6007 increase delay 2021-09-20 19:27:18 +02:00
rootzoll
531ebe7207 remove debug exit 2021-09-20 19:24:27 +02:00
rootzoll
e6840a69ba add sleep 2021-09-20 19:23:45 +02:00
rootzoll
f18d867dfd #2182 add SphinxApp Tor option 2021-09-20 19:22:23 +02:00
rootzoll
6968965dee prevent keysend double entries 2021-09-20 19:08:29 +02:00
rootzoll
a90959d89b ask Tor ofor Sphinx 2021-09-20 18:56:17 +02:00
rootzoll
d996b18dba test deactivate 2021-09-20 18:29:41 +02:00
rootzoll
360aed1b44 Merge branch 'dev' of https://github.com/rootzoll/raspiblitz into dev 2021-09-20 16:40:52 +02:00
rootzoll
cc16df256a test sphinx Tor 2021-09-20 16:40:44 +02:00
openoms
4e9660c33d
cln improve wallet unlock on start 2021-09-20 15:33:27 +01:00
openoms
e776be037f
add clnEncyptedHSM and clnAutoUnlock to SETTINGS 2021-09-20 14:45:59 +01:00
openoms
62f7d59acb
fix typos 2021-09-20 14:44:56 +01:00
openoms
46fdf6d0a6
check for CLNwalletLock and get password at start 2021-09-20 14:44:27 +01:00
openoms
6cc91f1f4d
add cln wallet password to PASSWORD menu 2021-09-20 12:19:07 +01:00
openoms
36e25dc3c6
cln: add CLBOSS to the SETTINGS menu #2295 2021-09-20 12:06:57 +01:00
openoms
01b95e2299
electrs: don't require restart after install #2548 2021-09-20 10:49:04 +01:00
openoms
0e129268d7
electrs update to v0.9.0-rc1
verbose=2 to not flood the logs
fix service file to not wait for lnd
whitelist=download@127.0.0.1 to bitcoin.conf
discussed in: #2548
2021-09-20 10:20:51 +01:00
rootzoll
e6f5006335 Merge branch 'dev' of https://github.com/rootzoll/raspiblitz into dev 2021-09-20 00:17:06 +02:00
rootzoll
68d0092b40 #2553 fix change of bitcoind service 2021-09-20 00:12:36 +02:00
openoms
7ac2d3ad5d
always set lightning instance in raspiblitz.conf 2021-09-17 08:02:29 +01:00
openoms
548e28ddfb
blitz.debug: quote variable to compare 2021-09-17 07:49:10 +01:00
openoms
11a67de7cb
bitcoin update with new verification process 2021-09-17 01:14:47 +01:00
rootzoll
4a5fac63c7 Merge branch 'dev' of https://github.com/rootzoll/raspiblitz into dev 2021-09-17 01:29:09 +02:00
rootzoll
4289cafceb adapt password info 2021-09-17 01:29:01 +02:00
openoms
9500480dbf
BTCPayServer update to v1.2.3
NBXplorer to v2.2.8
.NET v3.1.413
2021-09-17 00:26:35 +01:00
openoms
d9a4c2015f
set the lightningd.service on each active network 2021-09-16 22:15:54 +01:00
rootzoll
db83ca4b83 rename debug output 2021-09-16 21:05:59 +02:00
rootzoll
bb1afcef17 fix missing quote 2021-09-16 21:02:27 +02:00
rootzoll
a8874ea6ca Merge branch 'dev' of https://github.com/rootzoll/raspiblitz into dev 2021-09-16 20:39:44 +02:00
rootzoll
ae5c7353bd enable password when wallet active 2021-09-16 20:39:33 +02:00
Stephan Oeste
a9e2fefba5
Release file handle by restarting rsyslog service (#2401) 2021-09-16 20:00:45 +02:00
rootzoll
a13dd67e93 restart btc-rpc-explorer if installed 2021-09-16 19:23:38 +02:00
rootzoll
dc6f598394 fix sed 2021-09-16 19:10:33 +02:00
rootzoll
6e202765af try prestart fail loop wait 2021-09-16 18:41:43 +02:00
rootzoll
a91172f69b change startup times 2021-09-16 18:07:24 +02:00
rootzoll
8a79a8747f add more debug info 2021-09-16 17:23:18 +02:00
rootzoll
83ebf619b8 connect electrs & btc-rpc-explorer by prestart 2021-09-16 17:20:16 +02:00
rootzoll
1906cac606 remove sudo 2021-09-16 16:48:26 +02:00
rootzoll
a9cd70a578 update rpc password 2021-09-16 16:47:27 +02:00
rootzoll
d5f22e5345 adding prestart log 2021-09-16 16:04:10 +02:00
rootzoll
efed9f310f move prepare before stop all services 2021-09-16 16:00:52 +02:00
rootzoll
1d08ffe06d prepare prestart btc-rpc-explorer 2021-09-16 15:19:40 +02:00
rootzoll
0bbd3928a6 add info 2021-09-16 15:19:23 +02:00
rootzoll
ccf161b102 add BTC-RPC-Explorer to debug logs 2021-09-16 12:25:36 +02:00
rootzoll
853c29c922 re add the PrivateDevices=true 2021-09-16 00:41:23 +02:00
rootzoll
7a36a887ef source config file if setup is just recover data 2021-09-15 02:45:14 +02:00
rootzoll
ea42b716f0 debug output on bootstrap 2021-09-14 23:54:58 +02:00
rootzoll
7654897474 make sure to edit bitcoind.service 2021-09-14 22:41:41 +02:00
rootzoll
700672cf62 removePrivateDevices=true from basic services 2021-09-14 20:12:46 +02:00
rootzoll
dd94f8cc9b fix commands syntax 2021-09-14 18:12:21 +02:00
rootzoll
0e8795942b make help a seperate command 2021-09-14 18:10:37 +02:00
rootzoll
042aa84214 #2375 clean up 2021-09-14 18:06:13 +02:00
Tracachang
d417e0442d
npm audit fix (#2375) 2021-09-14 18:05:03 +02:00
rootzoll
19a349bc8c #2354 add info about credential storage 2021-09-14 18:00:50 +02:00
rootzoll
4d5d98af61 make dialogbox bigger 2021-09-14 17:53:15 +02:00
Igor Bubelov
ca69e4c5ad
Implement Nextcloud backups (optional) (#2354)
* Implement Nextcloud backups (optional)
* Add menu option for Nextcloud backups
* Create backup directory automatically
* Fix potential issue with url substitution
* Remove unused variable
* Ectract actions to functions with scoped vars
2021-09-14 17:36:54 +02:00
FeedMyTummy
e7e4b003d7
Update 00infoBlitz.sh (#2340)
Use headers for total number of blocks to sync.
2021-09-14 16:40:50 +02:00
rootzoll
ed4faadb20 #2318 factor 100 for real percent 2021-09-14 16:35:19 +02:00
rootzoll
f436a9dbe5 #2318 protection agsint divide by 0 2021-09-14 16:31:05 +02:00
nyxnor
b7ee540a71
show electrs sync progress(percentage) (#2318) 2021-09-14 16:27:39 +02:00
rootzoll
31b48bf8e8 Merge branch 'patch-19' of https://github.com/nyxnor/raspiblitz into nyxnor-patch-19 2021-09-14 16:22:04 +02:00
rootzoll
e36eff95a8 fix commands syntax 2021-09-14 14:08:52 +02:00
rootzoll
3fd1eb51fe Merge branch 'patch-12' of https://github.com/nyxnor/raspiblitz into nyxnor-patch-12 2021-09-14 13:15:53 +02:00
rootzoll
ecb5f67a12 Merge branch 'fix-notify' of https://github.com/frennkie/raspiblitz into frennkie-fix-notify 2021-09-14 12:58:23 +02:00
rootzoll
c4f3e19ba4 Merge branch 'patch-6' of https://github.com/nyxnor/raspiblitz into nyxnor-patch-6 2021-09-14 12:54:01 +02:00
PatrickScheich
03a8e10088
Minimize service restarts (#2207)
* whitespaces, fix typos, more logging
* whitespaces, typos, more validation for IPv6 to do less service restarts
2021-09-14 12:30:22 +02:00
openoms
ab0fbef5fc
blitz.datadrive: detect and protect bootPartition (#2538) 2021-09-14 11:43:03 +02:00
openoms
c411d6b43d
Merge branch 'dev' of https://github.com/rootzoll/raspiblitz into dev 2021-09-14 10:09:11 +01:00
openoms
e84b5cd6e5 blitz.copychain: sudo to remove root owned file 2021-09-14 09:15:42 +01:00
rootzoll
498462942f #2477 filter non-alphanumeric chars from vendor 2021-09-13 20:31:39 +02:00
openoms
d671aae4be
lnd: activate SIGNET 2021-09-13 10:36:45 +01:00
openoms
78989baeab
lnd.install: initwallet for correct chain 2021-09-13 10:26:38 +01:00
openoms
9b55ca632e
lnd.install: record seedwords with sudo 2021-09-13 10:08:23 +01:00
openoms
8ea4227f47
lnd.install: prepare directories 2021-09-13 09:56:04 +01:00
openoms
19c0298e91
Tor: remove tor@lnd instance
The separate tor instance for LND became redundant:
* now Tor is only reloaded, not restarted on config changes so the port remains open
* using LND streamisolation means every LND connection is on a new Tor circuit
2021-09-13 07:20:30 +01:00
rootzoll
0d8b69c361 add LND info 2021-09-12 23:19:10 +02:00
rootzoll
c22ccc2fe1 fix parameter order on lnd.initwallet.py calls 2021-09-12 22:55:29 +02:00
rootzoll
14a5eb3d63 fix temp path 2021-09-12 22:48:51 +02:00
rootzoll
cfef0c9b8f fix temp file 2021-09-12 22:46:42 +02:00
rootzoll
2db84cdb6c creating lnd wallet when activated as secondary 2021-09-12 22:36:57 +02:00
rootzoll
fa1aa29509 Merge branch 'dev' of https://github.com/rootzoll/raspiblitz into dev 2021-09-12 21:41:57 +02:00
rootzoll
3a88ca5789 prepare lnd wallet creation if running as second 2021-09-12 21:41:48 +02:00
openoms
b49864691f
provision: fix typos in output 2021-09-12 18:38:30 +01:00
openoms
512935f1b9
cln: use the binary lightning-hsmtool 2021-09-12 17:59:44 +01:00
rootzoll
7de8aaf802 fix syntax bug 2021-09-12 18:33:56 +02:00
rootzoll
ab6b947127 move change of bitcoin service after provision 2021-09-12 17:56:41 +02:00
rootzoll
92fc723e1f reduce sudo use of internet status if run as root 2021-09-12 17:45:57 +02:00
wiz
fe9807faa3
Upgrade mempool to v2.2.2 (#2521) 2021-09-11 23:31:57 +02:00
openoms
8b85690663
circuitbreaker update to v0.3.0 2021-09-11 14:08:55 +01:00
rootzoll
ecc73334ac no reboot on changing lnd keysend 2021-09-09 21:19:28 +02:00
rootzoll
d9bd83d067 add RAM & HDD GB to setup lcd info 2021-09-09 19:11:30 +02:00
rootzoll
02ccfe54d8 #2503 restart RTL on LIT install 2021-09-09 16:29:29 +02:00
rootzoll
71326772b1 show CLN seed words for testnet/signet 2021-09-09 15:33:01 +02:00
rootzoll
71ca792638 run display seed words as sudo 2021-09-09 15:13:44 +02:00
rootzoll
f1a8a9f245 run display seed as root 2021-09-09 15:12:14 +02:00
rootzoll
86d24e0e99 display cln wallet seeds 2021-09-09 15:08:21 +02:00
rootzoll
65409dbbfd cln display-seed basics 2021-09-09 14:56:58 +02:00
rootzoll
ddf9762f3d #2499 move .force file to raspiblitz.conf in code 2021-09-09 12:51:50 +02:00
Dipun Mistry
b7102bd446
Uasp force (#2499)
* implement a way to force UASP for your HDD
2021-09-09 12:33:31 +02:00
rootzoll
8bb7560dcc rename logs 2021-09-09 01:19:09 +02:00
rootzoll
37851d67b8 improve provision error debug 2021-09-09 00:12:46 +02:00
rootzoll
1362b9f480 add exit codes 2021-09-09 00:08:15 +02:00
rootzoll
228670f03e final setup reboot info 2021-09-09 00:04:37 +02:00
rootzoll
1de9431bb9 change lnd password at end of provision 2021-09-08 23:52:31 +02:00
rootzoll
ecf354798a Merge branch 'dev' of https://github.com/rootzoll/raspiblitz into dev 2021-09-08 22:37:34 +02:00
rootzoll
1999b0e771 migration reset password c 2021-09-08 22:37:29 +02:00
openoms
4300e1e9f3
blitz.migration: create migration dir 2021-09-08 20:04:55 +01:00
openoms
332e47c84a
always (re)init cln backup plugin 2021-09-08 09:02:02 +01:00
openoms
02ca76490a
cln-plugin.backup: fix typo 2021-09-08 08:48:03 +01:00
openoms
2b9bc8448f
bootstrap: fix quote 2021-09-08 08:46:12 +01:00
openoms
7b896c7faf
bootsrap: fix quote in error message 2021-09-08 08:37:27 +01:00
openoms
c2b8fc1b7c
_bootstrap: add missing blitz.hardware.sh status 2021-09-08 08:31:08 +01:00
openoms
a81bf3cebe
re-add bitcoinLOG and CONF to SYSTEM menu 2021-09-08 07:58:09 +01:00
openoms
7748f434a5
controlFinalDialog: improve welcome message 2021-09-07 17:42:49 +01:00
rootzoll
f09ea92941 Merge branch 'dev' of https://github.com/rootzoll/raspiblitz into dev 2021-09-07 16:36:26 +02:00
rootzoll
9eb44646b6 #2477 checking disk value before calculate 2021-09-07 16:36:16 +02:00
openoms
6214e81f3b
fix variable names of clnrescue 2021-09-07 15:00:52 +01:00
openoms
c9beeab72f
create configfile to set owner and mod 2021-09-07 14:54:37 +01:00
openoms
0bf797f43a
make clnrescue='${clnrescue}' +comment typos 2021-09-07 14:45:18 +01:00
openoms
a067cb0ae7
fix typos 2021-09-07 14:12:51 +01:00
openoms
75bbd10017
srm: remove verbal and fix for rm 2021-09-07 14:11:32 +01:00
rootzoll
1dbf593c02 Merge branch 'dev' of https://github.com/rootzoll/raspiblitz into dev 2021-09-07 14:38:34 +02:00
rootzoll
a2c21f26fd improve debug logs on migration 2021-09-07 14:38:22 +02:00
openoms
6f4be206ed
srm: limit to two passess and make verbal 2021-09-07 13:29:51 +01:00
rootzoll
8fb0412236 remove old edit leftover 2021-09-06 23:36:15 +02:00
rootzoll
1d3a1d2828 fix comaprisons in case of missing vars 2021-09-06 22:02:09 +02:00
rootzoll
65d90f6cab remove syntax fix 2021-09-06 21:57:11 +02:00
rootzoll
ff0f09a9ef add CLN repair menu to repair 2021-09-06 21:45:16 +02:00
rootzoll
9196e041eb make new base script executable on patch 2021-09-06 21:42:02 +02:00
rootzoll
26488eb0e9 final setup SSH info 2021-09-06 21:08:30 +02:00
rootzoll
1acb0c7854 remove debug 2021-09-06 20:28:27 +02:00
rootzoll
39d7df86f6 fix ui 2021-09-06 20:26:49 +02:00
rootzoll
e901002fae debug 2021-09-06 20:25:42 +02:00
rootzoll
37421e46fb test ui 2021-09-06 20:24:18 +02:00
rootzoll
09dce10d61 test ui 2021-09-06 20:23:08 +02:00
rootzoll
440a67d846 test 2021-09-06 20:22:14 +02:00
rootzoll
36520ace5a test 2021-09-06 20:21:18 +02:00
rootzoll
868725e235 debug 2021-09-06 20:20:26 +02:00
rootzoll
072d98509a debug info 2021-09-06 20:18:27 +02:00
rootzoll
3d9809ad55 fix dialog call 2021-09-06 20:16:01 +02:00
rootzoll
0a87285672 fix basic setup choices 2021-09-06 20:13:44 +02:00
rootzoll
41f64b07ed add stop on manual provision login 2021-09-06 20:03:59 +02:00
rootzoll
636311c15d remove space 2021-09-06 19:38:17 +02:00
openoms
011e9be0fa
Merge pull request #2512 from periodic1236/periodic1236-patch-1
Fix typo in systemctl command
2021-09-06 15:05:11 +01:00
openoms
1afd0a040c
bootstrap.sh typo fixes 2021-09-06 14:57:05 +01:00
openoms
8323399f85
bonus.nodejs: npm update to v7 2021-09-06 14:52:33 +01:00
openoms
02f8574641
RTL update to v0.11.2 2021-09-06 14:52:04 +01:00
openoms
ac65ee3339
blitz.statusscan: use LNTYPE from raspiblitz.conf 2021-09-06 14:50:20 +01:00
rootzoll
9f9c38bf37 offer mingration/update/recover also in setup menu 2021-09-06 15:40:57 +02:00
rootzoll
bf9625188e prevent lnd wallet unlock if setup id not done 2021-09-05 18:45:15 +02:00
rootzoll
c55c69dcbe prevent unlocks on shutdown/reboot 2021-09-05 17:04:26 +02:00
rootzoll
9eb8b8c160 make sure of temp mount 2021-09-05 15:05:45 +02:00
rootzoll
b00aada2f4 update deleting logs 2021-09-05 14:34:30 +02:00
rootzoll
01137b36e6 make sure new directories are linked correctly 2021-09-05 13:51:39 +02:00
rootzoll
5f886fe6ab fix bitcoin directory creation 2021-09-05 13:05:35 +02:00
rootzoll
9e9f913131 dont delete - just clean raspiblitz.info 2021-09-04 22:55:50 +02:00
rootzoll
e4df7a37fb add line 2021-09-04 21:57:25 +02:00
rootzoll
433ae886fa remove raspiblitz info / logs 2021-09-04 21:55:56 +02:00
rootzoll
f8c0abb66a remove debug prints 2021-09-04 21:41:59 +02:00
rootzoll
6fd9eed0bf Merge branch 'dev' of https://github.com/rootzoll/raspiblitz into dev 2021-09-04 21:21:08 +02:00
rootzoll
b45d83b5c6 ssh temp mount earlier 2021-09-04 21:21:03 +02:00
Mike Qian
7eb751bbe9
Fix typo in systemctl command 2021-09-04 16:45:05 +00:00
openoms
f47b077ea7
cln.backup: detect imported file encryption
cln.hsmtool: improve unlock logic
2021-09-02 19:49:23 +01:00
openoms
4949977ed4
clnRepair: decrypt, autounlock-off on seed restore 2021-09-02 19:44:13 +01:00
openoms
6d52f742f3
cln-plugin.bakup: fix alias and backup when off 2021-09-02 19:43:26 +01:00
openoms
ccda78fe5f
cln.hsmtool: set conf if wallet is not encrypted 2021-09-02 16:28:04 +01:00
openoms
2246a06085
clnRepair: set wallet unencrypted after reset 2021-09-02 16:25:58 +01:00
rootzoll
9760e11e52 Merge branch 'dev' of https://github.com/rootzoll/raspiblitz into dev 2021-09-02 14:06:25 +02:00
rootzoll
5ad7308186 remove unlock before final setup reboot 2021-09-02 14:06:17 +02:00
openoms
59e8772f2d
clnRepair: always use the appropriate CHAIN 2021-09-02 12:34:14 +01:00
openoms
5402efea38
use trap to delete tempfiles on exit
as discussed in #2498
2021-09-02 11:34:30 +01:00
openoms
274c8e5e6f
create tmpfile in /dev/shm and trap until EXIT
fixing: #2498
2021-09-02 11:22:27 +01:00
openoms
a5fe1a7f95
specter update to v1.6.0 2021-09-01 19:36:30 +01:00
openoms
0a5d710e0d
fix signetnet var names to signet 2021-09-01 17:49:53 +01:00
openoms
c81f4f13f5
rename lnd.chain.sh to lnd.install.sh 2021-09-01 17:47:28 +01:00
openoms
a8734bbb7a
rename bitcoin.chains.sh to bitcoin.install.sh 2021-09-01 17:43:38 +01:00
openoms
c02235ad0a
cln.rest: update to v0.5.1, run parallel testnet 2021-09-01 11:39:29 +01:00
openoms
6bbb731ae5
Tor: capitalization 2021-09-01 11:37:28 +01:00
rootzoll
55779a400a connect RTL with LIT or LOOP 2021-09-01 09:39:55 +02:00
rootzoll
41c7a61d3d fix typo 2021-09-01 09:32:45 +02:00
openoms
436f060a4b
rtl: set up cln.rest, clean variables 2021-09-01 07:44:33 +01:00
rootzoll
ba430b4c96 install code just on first run 2021-09-01 01:18:13 +02:00
rootzoll
80de89ede9 add params to menu 2021-09-01 01:07:11 +02:00
rootzoll
606fd619d3 fix json path 2021-09-01 01:02:46 +02:00
rootzoll
2c654419e1 fix var name 2021-09-01 01:00:54 +02:00
rootzoll
ba8f869187 move prepare config into ON 2021-09-01 00:57:22 +02:00
rootzoll
bd419743ed move system stop into OFF 2021-09-01 00:55:30 +02:00
rootzoll
d0ffb060ce fix syntax 2021-09-01 00:51:58 +02:00
rootzoll
f1d7478127 fix syntax 2021-08-31 23:58:21 +02:00
rootzoll
c7bb50752c determine LNCONF in prepare 2021-08-31 23:53:22 +02:00
rootzoll
87c1f57a6f Merge branch 'dev' of https://github.com/rootzoll/raspiblitz into dev 2021-08-31 23:46:43 +02:00
rootzoll
cb1d716682 remove RTL update for now 2021-08-31 23:41:35 +02:00
rootzoll
06a7d83b2b refactoring RTL install script 2021-08-31 23:41:24 +02:00
openoms
aec26f9b52
hsmtool: show only existing words 2021-08-31 20:41:04 +01:00
openoms
a673ee64a4
cln: fix config path everywhere 2021-08-31 20:31:48 +01:00
openoms
44f0247421
RTL: update to v0.11.1, fix cln config path 2021-08-31 20:08:41 +01:00
rootzoll
71ed083b9b updating to NodeJS v14.17.6 LTS 2021-08-31 20:15:41 +02:00
rootzoll
f014d3bd60 update NodeJS to 14.17.8 LTS 2021-08-31 20:12:11 +02:00
rootzoll
da454684c7 Merge branch 'dev' of https://github.com/rootzoll/raspiblitz into dev 2021-08-31 18:23:12 +02:00
rootzoll
c5054eee24 move config out of function 2021-08-31 18:23:02 +02:00
openoms
2586f46ea7
only show seedwords if present on ENCRYPT 2021-08-31 14:54:33 +01:00
openoms
a66821eeba
add seedwords.info near the unencrypted hsm_secret
safely deleted when the  hsm_secret is encrypted after being shown again
2021-08-31 14:26:49 +01:00
openoms
55adfdb27a
remove cln.plugin.spark.sh - not ready yet 2021-08-31 14:08:06 +01:00
openoms
6e34421bc9
CLNREPAIR: enable ENCRYPT / DECRYPT / AUTOUNLOCK 2021-08-31 13:51:53 +01:00
openoms
16a6f0404a
cln menu: add CLNREPAIR and fix capitalization 2021-08-31 12:58:31 +01:00
openoms
92625ce7cc
cln: add 99clnRepairMenu.sh 2021-08-31 12:58:02 +01:00
openoms
ddd9be99f3
stop all cln services for backup 2021-08-31 12:57:34 +01:00
rootzoll
66fd41e796 write tor small 2021-08-31 13:48:28 +02:00
rootzoll
0786fddf73 Add chain info to headline 2021-08-31 13:47:02 +02:00
rootzoll
ea7a056c52 add chain info to headline 2021-08-31 13:45:43 +02:00
rootzoll
a0357dcc4f remove options on testnet/signet view 2021-08-31 13:43:28 +02:00
rootzoll
ff7d6ad7b9 comment splitter 2021-08-31 13:39:06 +02:00
rootzoll
64dfac0f74 test splitter 2021-08-31 13:37:53 +02:00
rootzoll
97af2c7f3c move INFO to top 2021-08-31 13:30:57 +02:00
rootzoll
45fd101836 Reduced Options ParallelMenu 2021-08-31 13:27:35 +02:00
rootzoll
9beda86434 Merge branch 'dev' of https://github.com/rootzoll/raspiblitz into dev 2021-08-31 13:22:11 +02:00
rootzoll
6ff0f3a1bc fix comapre 2021-08-31 13:22:02 +02:00
openoms
81d34f319a
cln: use log-level=info as default 2021-08-31 11:51:33 +01:00
rootzoll
1cc0d98088 remove disable services after provision 2021-08-31 12:03:03 +02:00
rootzoll
0518c0b7ab fix chain-unlock 2021-08-31 11:09:05 +02:00
rootzoll
7445ddf590 lnd wallet option unlock 2021-08-31 11:06:35 +02:00
rootzoll
3d65345653 fix LND as default 2021-08-31 10:53:03 +02:00
rootzoll
4ef18ece36 RTL just status with 10 lines logs 2021-08-31 01:25:23 +02:00
rootzoll
e4c28007ff debug RTL no pager 2021-08-31 01:23:46 +02:00
rootzoll
a0444ba8be fix raspiblitz.log.setup 2021-08-31 01:19:51 +02:00
rootzoll
bfa6606664 Add cRTL logs 2021-08-31 01:17:42 +02:00
rootzoll
f13cfa518f fix lightning impl on RTL install 2021-08-31 00:01:43 +02:00
rootzoll
718d40d14c RTL C-Lightning & LND 2021-08-30 23:57:44 +02:00
rootzoll
bf0f775033 fix network in services 2021-08-30 23:38:08 +02:00
rootzoll
ebffb38875 Service Menu UI 2021-08-30 23:35:55 +02:00
rootzoll
de96278a92 remove debug 2021-08-30 22:00:02 +02:00
rootzoll
f0e32db2a3 rewrite if statement 2021-08-30 21:59:14 +02:00
rootzoll
cfa97f234b add debug info 2021-08-30 21:57:13 +02:00
rootzoll
a5763c87ab LND Options UI 2021-08-30 21:54:13 +02:00
rootzoll
8d96ce761b Eanble parallel Wallet Options 2021-08-30 21:49:27 +02:00
rootzoll
3ce714a63f Lightning Options UI fix 2021-08-30 21:46:35 +02:00
rootzoll
75f781be2c Fix Update Options 2021-08-30 21:43:39 +02:00
rootzoll
78b7313d80 Mobile Wallet UI fix 2021-08-30 21:40:18 +02:00
rootzoll
8588319444 System Options fix syntax 2021-08-30 21:37:25 +02:00
rootzoll
11e2d057f8 System Options LND optional 2021-08-30 21:36:06 +02:00
rootzoll
56786d7a19 Adapt Infoscreen to no Lightning 2021-08-30 21:27:29 +02:00
rootzoll
78edc87088 subscriptions only work with lnd 2021-08-30 21:23:58 +02:00
rootzoll
8c9bb20ce6 rename password change menu 2021-08-30 21:23:44 +02:00
rootzoll
466a45760a Optional LND Options in Connect Menu 2021-08-30 21:18:06 +02:00
rootzoll
dd5675422b fix repair menu 2021-08-30 21:15:59 +02:00
rootzoll
fc0f3fb9d8 make LND repair options optional 2021-08-30 21:14:58 +02:00
rootzoll
3e67cd3224 dynamic lighting add in backtitle 2021-08-30 20:59:52 +02:00
rootzoll
57592bf9ca raspiblitz menu loop fix for no lightning 2021-08-30 20:57:02 +02:00
rootzoll
5d6ce14d72 move cln chain check into on 2021-08-30 20:53:37 +02:00
rootzoll
03fffc6473 fix cln settings 2021-08-30 20:49:48 +02:00
rootzoll
9d0f835dbf mark change 2021-08-30 20:39:13 +02:00
rootzoll
6012cbfbbf write Tor not TOR in mainmenu 2021-08-30 20:37:47 +02:00
rootzoll
1d21ad981a show default lightning in main menu backtitle 2021-08-30 20:36:45 +02:00
rootzoll
3738820f2c parallel testnets & lightning impl 2021-08-30 20:19:57 +02:00
rootzoll
ee10fb4a70 reboot signaling 2021-08-30 12:13:05 +02:00
rootzoll
2691cb0a33 Final Setup Reboot 2021-08-30 12:06:18 +02:00
rootzoll
0aae081c11 remove debug output 2021-08-30 03:14:32 +02:00
rootzoll
3117713278 detect statusscan fix 2021-08-30 01:29:07 +02:00
rootzoll
0b91f084f7 fix lcd rotate default 2021-08-30 00:03:20 +02:00
rootzoll
286438d3af fix jump to main menu 2021-08-29 22:10:50 +02:00
rootzoll
063df54d1c remove debug 2021-08-29 21:18:08 +02:00
rootzoll
fea0b63359 add debug 2021-08-29 21:17:03 +02:00
rootzoll
1906e608ea make sure to re-activate auto-unlock after recover 2021-08-29 18:13:32 +02:00
rootzoll
d314aae823 set access tp pwd autounlock file 2021-08-29 14:21:10 +02:00
rootzoll
85e2ca5d6a remove old interims update setting 2021-08-29 13:32:27 +02:00
rootzoll
25dbe24b4c fix loop / pool recover 2021-08-29 13:29:45 +02:00
rootzoll
4f7c66b4ee fix lnd testnet / signet not started 2021-08-29 13:25:40 +02:00
rootzoll
2feb3a439c fix alt net provisions 2021-08-29 12:37:29 +02:00
rootzoll
714a41990c downgrade specter for now 2021-08-29 12:28:41 +02:00
rootzoll
6d30b72e96 fix result test 2021-08-29 12:26:02 +02:00
rootzoll
1ab999c889 add more info 2021-08-29 12:24:52 +02:00
rootzoll
b5f88f2c46 fix parralel install scripts 2021-08-29 11:26:35 +02:00
rootzoll
6b632970ef provision test & signet 2021-08-29 10:43:23 +02:00
rootzoll
75806ade10 fix timeout 2021-08-29 10:25:19 +02:00
rootzoll
2a4e91787a debug info 2021-08-29 10:23:07 +02:00
rootzoll
86bfd09d5b non blocking statusscan 2021-08-29 10:20:38 +02:00
rootzoll
1db01cfd68 status scan fix when lnd & cln running 2021-08-28 22:21:23 +02:00
rootzoll
7c09016e94 when running tor no external ip 2021-08-28 22:13:47 +02:00
rootzoll
486f4327f7 add cln testnet & signet 2021-08-28 20:55:18 +02:00
rootzoll
cf786af9a3 cln istall improvements 2021-08-28 20:51:10 +02:00
rootzoll
7d019d57e9 fix debug files 2021-08-28 19:53:15 +02:00
rootzoll
dcf64d9754 fix details for parallel servies 2021-08-28 19:19:02 +02:00
rootzoll
36ba34983e fix switch off 2021-08-28 18:57:49 +02:00
rootzoll
8d7ab95739 check bitcoin config 2021-08-28 18:53:32 +02:00
rootzoll
e2b5433838 remove old line 2021-08-28 18:06:45 +02:00
rootzoll
88b06e1a13 full path 2021-08-28 16:58:34 +02:00
rootzoll
dfeb0a940f escape correctly 2021-08-28 16:57:45 +02:00
rootzoll
344cad50ff test 2021-08-28 16:55:59 +02:00
rootzoll
9b100f8d48 escape unserscore 2021-08-28 16:54:56 +02:00
rootzoll
801b01a085 full test key path 2021-08-28 16:54:04 +02:00
rootzoll
4d5921d42f test2 key path 2021-08-28 16:53:12 +02:00
rootzoll
32ca5201e6 test path value 2021-08-28 16:52:02 +02:00
rootzoll
f3de13a76b escape tor path 2021-08-28 16:51:03 +02:00
rootzoll
527b47e352 move lnd tor config to lnd.check.sh prestart 2021-08-28 16:41:51 +02:00
rootzoll
29c8128460 migrate keysend to raspibltz.conf & lnd.check.sh 2021-08-27 22:38:33 +02:00
rootzoll
c1e977d195 fix syntax 2021-08-27 20:20:52 +02:00
rootzoll
4bd38fe7f0 fix synatx 2021-08-27 20:19:16 +02:00
rootzoll
b70268f411 test change 2021-08-27 20:17:31 +02:00
rootzoll
247bdbf5c5 test change 2021-08-27 20:15:44 +02:00
rootzoll
a474c66cb9 syntax change 2021-08-27 20:13:08 +02:00
rootzoll
3f07283cbe Update Specter 1.6.0 2021-08-27 19:51:39 +02:00
rootzoll
9e91772c66 fix syntax 2021-08-27 19:44:28 +02:00
rootzoll
f56a22e9f8 testnet & signet lnd debug 2021-08-27 19:43:38 +02:00
rootzoll
0958946db4 lnd.check.sh prestart alse set REST/RPC ports 2021-08-27 16:54:13 +02:00
rootzoll
9f3ac78a75 let lnd.chain use lnd.check.sh prestart 2021-08-27 16:21:29 +02:00
rootzoll
73ded8124e use lnd.check.sh prestart in lnd service 2021-08-27 16:15:07 +02:00
rootzoll
447bcb8470 remove sudo 2021-08-27 16:06:50 +02:00
rootzoll
d01b784e2d needs to run as user bitcoin 2021-08-27 16:05:30 +02:00
rootzoll
539abd91e8 insert dynamic user password 2021-08-27 15:42:15 +02:00
rootzoll
00c9d27276 debug filelines 2021-08-27 15:30:24 +02:00
rootzoll
57fd7c6a9a new line for inserts 2021-08-27 15:28:45 +02:00
rootzoll
8f0bb15518 use function 2021-08-27 15:24:46 +02:00
rootzoll
6a696503b0 remove debug section insert 2021-08-27 15:12:27 +02:00
rootzoll
1ababb979c fix section insert 2021-08-27 15:11:50 +02:00
rootzoll
a26e9d48c3 try fix insert 2021-08-27 15:08:01 +02:00
rootzoll
6ad3f2e923 fix section input 2021-08-27 15:03:55 +02:00
rootzoll
ad9f9447e2 fix lnd conf value 2021-08-27 15:02:01 +02:00
rootzoll
fc399cff81 fix sed expression 2021-08-27 15:00:30 +02:00
rootzoll
6111ea3d6e fix sed replacment 2021-08-27 14:53:01 +02:00
rootzoll
ee1969a1b4 add settings 2021-08-27 14:51:18 +02:00
rootzoll
cc2d62bc76 add section if needed 2021-08-27 14:24:46 +02:00
rootzoll
72d81f77cb fix check 2021-08-27 14:11:08 +02:00
rootzoll
08caee40c5 Prepare lnd.check.sh 2021-08-27 14:09:00 +02:00
rootzoll
2b257cb568 Fix syntax bitcoind service 2021-08-27 13:43:02 +02:00
rootzoll
cbcb50c01e Prepare LND just if activated 2021-08-27 13:41:32 +02:00
nyxnor
1e61cdd901
whitepaper viewable through terminal (#2238) 2021-08-27 10:13:37 +02:00
rootzoll
1c59fb73eb Merge branch 'v1.7' into dev 2021-08-27 10:08:58 +02:00
Tommy Smith
79ccb8d343
Typo fixes (#2360) 2021-08-27 09:59:21 +02:00
nyxnor
98b238796a
make sure right owner of /mnt/hdd/tor before last Tor restart (#2322) 2021-08-27 09:52:51 +02:00
Tracachang
4629948dde
privacy mode = true (#2374)
Privacy mode it is disabled by default
2021-08-27 09:48:29 +02:00
rootzoll
7650c99398 force debug.log by exec parameter from service 2021-08-27 09:34:55 +02:00
rootzoll
1c06b405ee make copy of log before reboot 2021-08-26 23:56:07 +02:00
rootzoll
df8a3d426f fix grep count 2021-08-26 22:18:46 +02:00
rootzoll
fa1eb0e233 user RAM drive instead of temp 2021-08-26 22:16:19 +02:00
rootzoll
6925cdc902 network flexible 2021-08-26 22:07:06 +02:00
rootzoll
bf98b314ee switch debug.log in 2021-08-26 22:05:35 +02:00
rootzoll
a1d80ca673 #2372 update to 3.2.0 2021-08-26 20:50:05 +02:00
Tracachang
77cb7ffa55
Update bonus.btc-rpc-explorer.sh (#2372)
* Fix two typos in README.md (#2315)

transfere -> transfer
connectec -> connected

* Correct typos (#2324)

* fix anchors in faq toc (#2345)

* Update bonus.btc-rpc-explorer.sh

bump to the last version 3.1.1

Co-authored-by: Glen Cooper <glen@glencooper.com>
Co-authored-by: Igor Bubelov <igor@bubelov.com>
Co-authored-by: Steffen Rörtgen <sroertgen@gmail.com>
Co-authored-by: /rootzoll <christian@fulmo.org>
2021-08-26 20:45:23 +02:00
rootzoll
4bdbd5077e add password A hint again 2021-08-26 20:41:58 +02:00
rootzoll
c87b9ccf62 Merge branch 'v1.7' of https://github.com/originaljeremy/raspiblitz into originaljeremy-v1.7 2021-08-26 20:40:13 +02:00
rootzoll
5850765e70 edit verified updat options 2021-08-26 20:27:42 +02:00
rootzoll
4e5083ae92 change lnd verified update 2021-08-26 20:24:31 +02:00
rootzoll
877e079880 readd network use to infoscreen 2021-08-26 17:43:07 +02:00
rootzoll
b6c96f133a reboot to activate touchscreen 2021-08-26 17:41:53 +02:00
rootzoll
0fbba2b8e5 reset lcd info 2021-08-26 17:34:30 +02:00
rootzoll
eabb94b34f lcd show wallet locked 2021-08-26 17:22:41 +02:00
rootzoll
467edeb201 debug delay time 2021-08-26 17:05:33 +02:00
rootzoll
c8c3038930 change font 2021-08-26 17:03:58 +02:00
rootzoll
114f33ace4 change font 2021-08-26 17:03:00 +02:00
rootzoll
ab49c689fc change font 2021-08-26 17:02:17 +02:00
rootzoll
75ed63d581 change font 2021-08-26 17:00:49 +02:00
rootzoll
89f6273bef change font 2021-08-26 17:00:01 +02:00
rootzoll
39247d21e1 cahnge back to big printf 2021-08-26 16:50:23 +02:00
rootzoll
c03c606676 add line breaks 2021-08-26 16:47:57 +02:00
rootzoll
9d9d164063 make multiple lines 2021-08-26 16:43:36 +02:00
rootzoll
521b01efc6 test echo info screen 2021-08-26 16:42:31 +02:00
rootzoll
3ff6855694 Remove RX from StatusSreen 2021-08-26 16:37:17 +02:00
rootzoll
bf50b3d1f7 how to react on wallet lock 2021-08-26 16:21:54 +02:00
rootzoll
a0db8ecfe3 fix permission on temp results 2021-08-26 16:20:33 +02:00
rootzoll
f70ff8c13e check also for new wallet locked error message 2021-08-26 16:09:17 +02:00
rootzoll
e8464ae657 info on lnd.upsate.sh 2021-08-26 14:51:38 +02:00
rootzoll
9be5332164 update interims upadte 2021-08-26 14:42:33 +02:00
rootzoll
e82e6d839a make status scan use ram disk instead of hdd temp 2021-08-26 13:39:43 +02:00
rootzoll
c459a0f5cf #2433 raspiblitz.conf permissions after migration 2021-08-26 13:14:00 +02:00
rootzoll
dc16df2dc8 adapt migration to new setup process 2021-08-26 12:29:13 +02:00
rootzoll
bab23b459e adapt migration to new setup process 2021-08-26 12:03:45 +02:00
rootzoll
7543d3c3ba improve error reporting 2021-08-26 11:28:56 +02:00
rootzoll
b44e45c5d0 Merge branch 'dev' of https://github.com/rootzoll/raspiblitz into dev 2021-08-26 11:14:10 +02:00
rootzoll
e51246a245 fix migration dialog 2021-08-26 11:14:07 +02:00
openoms
b5e10b76c9
Tor: fix capitalization in SETTINGS 2021-08-25 11:11:25 +01:00
openoms
b519150536
change all LNdefault vars to lightning 2021-08-25 11:07:26 +01:00
rootzoll
0a8dc032c6 catch missing values 2021-08-24 22:04:22 +02:00
rootzoll
5d3f8cb3fb reduce debug outputs 2021-08-24 20:57:33 +02:00
rootzoll
cef53442fc rearrange code 2021-08-24 20:52:19 +02:00
rootzoll
503e21dadc ensure provision flag gets deleted 2021-08-24 20:28:32 +02:00
rootzoll
28e0c55c10 add debug info to ssh menu loop 2021-08-24 20:21:40 +02:00
rootzoll
1aa50a2181 #2433 raspiblitz.conf permissions change 2021-08-24 19:35:11 +02:00
rootzoll
4c84fd3c2c fix snytax 2021-08-24 18:45:58 +02:00
rootzoll
b4fa36ce6b bitcoid is disabled during blockchain LAN copy 2021-08-24 18:26:55 +02:00
openoms
4874d7dd15
Tor: reload only to activate torrc changes 2021-08-24 13:19:34 +01:00
openoms
e0c374f81a
show QR codes to connect CLN to Zeus and Spark
Showing the Tor address and Acces Key / Macaroon individually
to be scanned and pasted into the wallets
Discussed in: https://github.com/ZeusLN/zeus/issues/515
and #2295
2021-08-24 13:17:41 +01:00
openoms
40f0711dcc
fix suez CLN config path 2021-08-24 11:34:05 +01:00
openoms
b7199c5797
fix RTL installation when the source is present 2021-08-23 18:35:22 +01:00
openoms
6c089ea317
joinmarket update to v0.9.1, joininbox to v0.6.0 2021-08-23 17:36:52 +01:00
openoms
7c329f85a6
Specter Desktop update to v1.5.1, config fix, rename 2021-08-23 17:23:01 +01:00
rootzoll
735da0a0c2 remove debug outputs 2021-08-21 23:12:06 +02:00
openoms
be3af06cf0
electrs update to v0.8.11 and fix cargo path 2021-08-21 18:17:12 +01:00
rootzoll
adcc29c5e8 remove hardening from root services 2021-08-21 17:52:18 +02:00
rootzoll
295e63f1c1 add touch 2021-08-21 17:42:18 +02:00
rootzoll
50f83fbbf9 add mount debug info 2021-08-21 17:40:29 +02:00
rootzoll
01d99a0699 remove explicit directory 2021-08-21 17:39:50 +02:00
rootzoll
3a2cb57d5f remove sudo 2021-08-21 17:26:44 +02:00
rootzoll
9e39b323ca make test directory 2021-08-21 00:12:59 +02:00
rootzoll
0775f476d7 test other path 2021-08-20 23:57:48 +02:00
rootzoll
728158feaa test different dir 2021-08-20 23:51:36 +02:00
rootzoll
5c5085e5df add debug to logfile 2021-08-20 23:30:53 +02:00
rootzoll
95a7b1e69c try again in boostrap script 2021-08-20 23:23:37 +02:00
rootzoll
a11f92737c fix background task errors 2021-08-20 18:54:21 +02:00
rootzoll
e0cfb5ce70 test ssh repair in background thread 2021-08-20 18:48:48 +02:00
rootzoll
625c010896 move ssh repair to first wait loop 2021-08-20 18:42:25 +02:00
rootzoll
2172de1b55 move ssh repair after network available 2021-08-20 18:38:16 +02:00
rootzoll
b7bda4c744 add reconfigure 2021-08-20 15:24:05 +02:00
rootzoll
d4478e5fd6 ssh debug output 2021-08-20 15:00:05 +02:00
rootzoll
271064c49c remove old ssh key generation 2021-08-20 14:53:17 +02:00
rootzoll
0f1c4d253d add to logfile 2021-08-20 12:45:52 +02:00
rootzoll
7b569c3bd2 improve blitz.ssh.sh 2021-08-20 12:44:16 +02:00
rootzoll
0b68c6694f introduce blitz.ssh.sh 2021-08-20 12:27:07 +02:00
rootzoll
aefa359115 make setup scripts executable 2021-08-20 01:45:49 +02:00
rootzoll
4b439f2379 move ssh repair up 2021-08-20 00:38:28 +02:00
rootzoll
38cc41f069 make sure ssd is started 2021-08-20 00:36:11 +02:00
rootzoll
018ef7eb4b Copy old SSH host keys 2021-08-20 00:33:20 +02:00
rootzoll
48d974415b debug bootstrap/provision 2021-08-20 00:20:16 +02:00
rootzoll
e3cd075245 Merge branch 'dev' of https://github.com/rootzoll/raspiblitz into dev 2021-08-19 23:34:13 +02:00
rootzoll
d08902fa1a remove warning 2021-08-19 23:34:04 +02:00
MR
8daad18e10
Corrected typo in config scripts for lnbits and btcpayserver Webrowser > Web Browser (#2406)
Co-authored-by: Mark Williams <mark.williams@legroomagency.co.uk>
2021-08-19 22:06:27 +02:00
Alex Sears
9c7923dc50
fix spelling of Web Browser (#2336) 2021-08-19 22:05:45 +02:00
rootzoll
85e3eec3de Merge branch 'dev' of https://github.com/rootzoll/raspiblitz into dev 2021-08-19 21:02:53 +02:00
rootzoll
efba30a660 #2414 Update RTL to v0.11.0 for new config file 2021-08-19 21:02:43 +02:00
nyxnor
60fa889c6b
correct to path docs/Sample-RTL-Config.json (#2414) 2021-08-19 20:59:03 +02:00
rootzoll
2e716b2444 make sure ssh certs configured during bootstrap 2021-08-19 20:23:12 +02:00
Fitti
ac72abd3fa
Fix LNbits lnurl support over tor (#2485) 2021-08-19 16:41:50 +02:00
openoms
81cc367c87
Merge branch 'dev' of https://github.com/rootzoll/raspiblitz into dev 2021-08-19 10:37:16 +01:00
openoms
9ede089b7e
add at he qr shortcut to _commands.sh 2021-08-19 10:31:10 +01:00
openoms
d192ade8ef
zeus: add Apple App Store link 2021-08-18 17:49:29 +01:00
openoms
e88a0e449f
lndconnect: fix macaroon path for all chains 2021-08-18 17:49:05 +01:00
rootzoll
2f4ded8f5b more debig on boostrap 2021-08-17 23:57:04 +02:00
rootzoll
baa5cccb81 add more debug delay before reboot 2021-08-17 21:54:20 +02:00
rootzoll
c54a1a45c3 add some pause before reboot on bootstrap 2021-08-17 19:52:04 +02:00
rootzoll
1e9656fead #2448 allow custom scpBackupOptions 2021-08-17 17:59:38 +02:00
openoms
34e901e827
LiT and Pool fixes and update (#2331)
* LiT fixes, pool PGP check and update to v0.5.1
* update CHANGES.md
Co-authored-by: /rootzoll <christian@fulmo.org>
2021-08-17 15:59:33 +02:00
openoms
f9cb4261ab
Bos data (#2278)
* bos update to 8.0.10
* add to CHANGES.md
* bos: create data folder on the disk
* bos update to 10.7.8
2021-08-17 15:57:07 +02:00
openoms
273ee95ace
fully noded: fix displaying the hidden service (#2353) 2021-08-17 15:56:10 +02:00
rootzoll
799744c7f5 prepare version for 1.7.1rc1 2021-08-17 15:53:59 +02:00
openoms
f286189466
electrs: install rust with apt install cargo (#2279) 2021-08-17 15:51:54 +02:00
rootzoll
9f120db6df Merge branch 'pre-1.7.1' into dev 2021-08-17 13:09:25 +02:00
rootzoll
1eb6f9a3db #1427 refresh lable for lsblk 2021-08-17 11:38:26 +02:00
rootzoll
39afa8246f #2463 reducing dbcache to revent out of memory 2021-08-16 20:14:09 +02:00
rootzoll
aaf82facae give link to swagger docs 2021-08-16 19:51:46 +02:00
wiz
f286380ba8
Bump mempool to v2.2.1 and set npm install to use --no-optional (#2475) 2021-08-16 19:50:59 +02:00
rootzoll
c7abbd1360 fix systemd for web API 2021-08-16 19:27:06 +02:00
rootzoll
e5a54fe4fd prevent subscription menu from exiting to terminal on cancel 2021-08-16 16:51:19 +02:00
rootzoll
216cd98c0a dynamic menu HEIGHT & CHOICE_HEIGHT 2021-08-16 16:41:23 +02:00
openoms
b34d409f02
use $lightning and $chain for status display 2021-08-13 09:30:57 +01:00
openoms
08f9ad6eeb
fix aliases with new cln config path 2021-08-13 09:11:56 +01:00
openoms
78817c1991
keep TESTNET Service options if testnet is default 2021-08-11 11:42:28 +01:00
openoms
367da3d355
keep clboss in /home/bitcoin/cln-plugins-available 2021-08-11 11:41:02 +01:00
openoms
6feda8bfb0
cln sparko config path fix 2021-08-10 19:57:43 +01:00
openoms
52d71f74ee
add CLBOSS cln plugin install script 2021-08-10 19:43:00 +01:00
openoms
37aa111de1
cln testnet path fixes 2021-08-10 17:06:06 +01:00
openoms
97db88bcf3
cln update to v0.10.1 2021-08-10 16:11:40 +01:00
openoms
5e925e2c4b
use $lightning option for INFO 2021-08-10 11:41:02 +01:00
rootzoll
fb4e7f7bdd adapt api install 2021-08-04 11:00:41 +02:00
rootzoll
270bbe708f cln RTL in service menu 2021-08-04 09:58:38 +02:00
rootzoll
a0d38a48b3 optimize raspiblitz conf default entry 2021-08-04 09:31:15 +02:00
rootzoll
8ffa433a3c adding raspiblitz.conf 2021-08-04 09:27:46 +02:00
rootzoll
967bf4fa46 RTL default config 2021-08-04 09:25:13 +02:00
rootzoll
f089a63811 downgrade RTL for sample config 2021-08-04 08:52:02 +02:00
/rootzoll
074c9d8549
merging pre-1.7.1 (#2462)
* fix copychain returns

* typo in sync loop

* stop services on inconsistent state

* calling correct provisioning

* apply bitcoin and lncli aliases in all scripts

* network.aliases: add CLNETWORK

* 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

* move shutdown script

* change all place where shutdown script is used

* change notify & release

* moved shutdown script

* moved shutdown scripts

* add more debug info

* moving github script

* remove chain in sync

* no longer needed chain in sync

* 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

* avoid scrolling in menus

* use new selfsignedcert if no lnd tls.cert present

* sparko: add info and connect menu with own cert

https://github.com/rootzoll/raspiblitz/issues/2295

* cln.rest: add connect option for Zeus

https://github.com/rootzoll/raspiblitz/issues/2295

* 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

* 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

* shellcheck: change all `egrep` to `grep -E`

https://github.com/koalaman/shellcheck/wiki/SC2196

* do not resolve aliases, use as variables

* lnd: fix lnd.conf for parallel networks

discussed in: https://github.com/rootzoll/raspiblitz/issues/2290

* lnd: add LND option for parallel networks

* deprecate Testnet in SETTINGS
keysend and autopilot only for mainnet

due to: https://github.com/rootzoll/raspiblitz/issues/2290

* lnd: autopilot and autounlock for testnet

* fix comments

* add the SYSTEM menu for parallel chains

* 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

* lnd.setname.sh for testnet

* display ${CHAIN} in the SYSTEM menu options

* keep _aliases file when live patches are applied

* all lncli_aliases to be used as variables

* 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

* 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

* 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

* use symlink to cln-plugins-enabled for all plugins

* keep lnd autopilot and autounlock mainnet only

mainnet only settings:
lnd autopilot
lnd keysend
circuibreaker
lnd autounlock
StaticChannelBackup to DropBox and USB

* cln FUNDING fix parsing address

* cln.hsmtool: add change-password and lock options

* 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

* #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

* lnd.unlock: fix typo

* netwok.monitor.sh debug

* cln-plugin.summary: fix paths

* rtl: fix permission of config on copy

* CASHOUT: use aliases for lnd

* rtl: install correctly for paralell chains

* use CHAIN in CLN and LND menu

* cln: add  CASHOUT option

* CLOSEALL and  CASHOUT: Improve labels and comments

Explaining CASHOUT in the label as discussed in:
https://github.com/rootzoll/raspiblitz/issues/2358

* cln.install: fix tor config

* cln: installthe  latest master until the next release

* _commands: source _aliases only if exists

* network aliases: fall back to 'main' for 'chain'

* new setup: keep testnet3 blocks and chainstate

* new setup: improve capitalization in menu

* improve help and comments

* cln: install Sparko if configured, but not present

* cln: add new wallet and import seed options

* fix peernum

* make sure that aliases get created on lnd setup

* no error if aliases not yet exist

* debug state

* fix network alias when not set

* fix syntax error

* add debug error info

* mute unlocking echos

* add debug wait

* add debug wait

* make sure info is uptodate

* make alias info as defaults

* rename option

* update sync info for no lightning

* add action string

* update sync info

* move name dialog

* wait for sync progress info

* wait for syncprogress info

* fix syntax

* get fresh data

* make sure to disable lnd

* add c-lightning to debug

* add setup logs to debug output

* fix syntax error

* add new-force wallet

* try fix call hsmtool

* hsm output tool

* fix output

* add seed-force

* refactor blitz.mnemonic.py

* test seed

* debug info

* dump object

* try check

* correct putput

* fix syntax

* check lnd for valid seed

* fix gui

* add Suez install script

discussed in:
https://github.com/rootzoll/raspiblitz/issues/2366

* cln rescue file export

* get correct version

* add cln export gui

* cln.backup.sh cln-import

* correct bytesize

* generate cln wallet with passwordc

* fix syntax

* fix syntax

* mute not needed error msg

* PEERING: correct message on success

* cln.install-service: fix sparko check

* add Suez to menu for CLN and LND

needs to be installed with the bitcoin user to be able to interact with CLN
related: https://github.com/rootzoll/raspiblitz/issues/2366

* debug _provison.setup.sh

stop bitcoind and restart with new config to avoid rpc password error
disable and enable service instead of daemon-reload
CLN: don't use passwordC  as seedPassword

* add cln.setname.sh

make lnd.setname.sh work with parallel wallets

* improve comments

* SYSTEM: add CLNLOG and CLNCONF options

* SYSTEM menu fixes

* cln: add more aliases cln, clnlog, clnconf

* cln: activate the backup plugin on every install

* SERVICES menu: fix chantools/CLN switch

* cln: load plugins from ${netprefix}cln-plugins-enabled

changed the config paths to $lightning-dir/config or /networkname/config

plugins are downloaded to the SDcard:
/home/bitcoin/cln-plugins-available/
symlinked and loaded automatically from:
/home/bitcoin/${netprefix}cln-plugins-enabled

Related: #2295

* sparko: don't show logs after install

* #2425 Adding experimental Blitz WebUI & API (#2426)

* no password C & D when cln

* add debug echos

* set defaults before

* #2228 wider grep to detect nvms (#2427)

* cln.hsmtool: init backup with the new wallet

* cln.install: fix access to raspiblitz.conf

* cln-plugin.backup: fix path to backup-cli

* cln: hide unhelpful warnings during setup

* remove old jinja template rendering

* fix lnd unlock detection

* cln: look for files in .lightning dir with sudo

* cln: correct lightning name in FInalDialog + typo

* cln: make sure .lightning/bitcoin dir exists

* FinalDialog: make the 24 words fit

* cln.install.sh: create cln config if not present

* Simplify localIP detection and improve compatibility (#2432)

* show tail info on provision

* only show lnd options when activated

* fix syntax

* only show main lightning impl options for RC1

* cln: always start the lightnind.service

* cln: clear before showing summary

* start cln on the end of provisioning

* exit 0 on cln menu

* press key after single actions

* remove key press on cln actions

* change to none

* detect cln running

* fix syntax

* fix lightniing info

* add TODO for CLN

* add clnblockheight

* zty with user bitcoin

* check synced to chain for cln

* fix increment

* try scanprogress

* use cln sync detection and progress

* replace LNTYPE

* next line

* fix spaces

* fix spaces

* Update README.md (#2456)

Fix 404

* Fix FAQ links (#2441)

* Fix invalid URL ( (#2440)

* support channels (#2382)

* use #2370 height optimization

* adjust exit codes in menu scripts

* adjust password menu exit codes

* adapt shutdown for cln

* settings adapt to running lightning impl

* fix syntax

* debug info

* add debug

* better height

* add default values

* add config entry if not there yet

* change default value

* Added exit info for cln

* make sure to load config file if available

* add sparko to menu

* add default for sparko

* replace default sparko entry

* show sparko installed or not

* add more description to sparko option

* RTL for clightnign in service menu

* main menu item rtl

* add RTL description

* debug in RTL install

* install sparko on recovery

* update menu with cln

* rework menu options

Co-authored-by: openoms <oms@tuta.io>
Co-authored-by: openoms <43343391+openoms@users.noreply.github.com>
Co-authored-by: rek79 <rek79@users.noreply.github.com>
Co-authored-by: Bitpaint <67663265+bitpaint@users.noreply.github.com>
Co-authored-by: João Thallis <joaothallis@icloud.com>
Co-authored-by: Peter Flock <78184669+peterflock@users.noreply.github.com>
Co-authored-by: nyxnor <nyxnor@protonmail.com>
2021-08-04 00:18:30 +02:00
rootzoll
aa146d5d2d rework menu options 2021-08-03 23:15:22 +02:00
rootzoll
992b5da49b update menu with cln 2021-08-03 23:09:45 +02:00
rootzoll
1915baf98a install sparko on recovery 2021-08-03 22:59:39 +02:00
rootzoll
d55e20811d debug in RTL install 2021-08-03 22:46:14 +02:00
rootzoll
1703c7c354 add RTL description 2021-08-03 22:35:44 +02:00
rootzoll
840014a1c7 main menu item rtl 2021-08-03 22:34:08 +02:00
rootzoll
07b0e3e36f RTL for clightnign in service menu 2021-08-03 22:31:56 +02:00
rootzoll
f52642134c add more description to sparko option 2021-08-03 22:26:36 +02:00
rootzoll
583517cf1e show sparko installed or not 2021-08-03 22:25:36 +02:00
rootzoll
f9234ed3de replace default sparko entry 2021-08-03 22:07:02 +02:00
rootzoll
a9a53302d5 add default for sparko 2021-08-03 22:05:20 +02:00
rootzoll
81736a6c10 add sparko to menu 2021-08-03 21:51:19 +02:00
rootzoll
327019e282 make sure to load config file if available 2021-08-03 21:33:24 +02:00
rootzoll
182c069703 Added exit info for cln 2021-08-03 21:31:17 +02:00
rootzoll
5ec136cd46 change default value 2021-08-03 21:26:08 +02:00
rootzoll
74a72d698c add config entry if not there yet 2021-08-03 21:21:06 +02:00
rootzoll
8f1f1739eb add default values 2021-08-03 21:07:07 +02:00
rootzoll
9b49b2a64a better height 2021-08-03 21:03:47 +02:00
rootzoll
9cd517008f add debug 2021-08-03 21:03:10 +02:00
rootzoll
6938f566db debug info 2021-08-03 21:02:33 +02:00
rootzoll
7fba3472cd fix syntax 2021-08-03 17:23:31 +02:00
rootzoll
c4937558ab settings adapt to running lightning impl 2021-08-03 17:17:07 +02:00
rootzoll
3d2ffcf2da adapt shutdown for cln 2021-08-03 16:29:43 +02:00
rootzoll
9b6f69a9f8 adjust password menu exit codes 2021-08-03 16:22:05 +02:00
rootzoll
ff07a294df adjust exit codes in menu scripts 2021-08-03 16:15:32 +02:00
rootzoll
949dc19d2c use #2370 height optimization 2021-08-03 15:34:50 +02:00
rootzoll
481db3209a fix spaces 2021-07-25 01:09:25 +02:00
rootzoll
df5ec8d7b8 fix spaces 2021-07-25 01:07:41 +02:00
rootzoll
8a4bbe1fed next line 2021-07-25 01:06:33 +02:00
rootzoll
59fbc2ac9c replace LNTYPE 2021-07-25 01:04:23 +02:00
rootzoll
70ad40f809 use cln sync detection and progress 2021-07-25 00:55:02 +02:00
rootzoll
af4b604050 try scanprogress 2021-07-25 00:50:57 +02:00
rootzoll
88edf77ee8 fix increment 2021-07-25 00:47:50 +02:00
rootzoll
2dc53d1b18 check synced to chain for cln 2021-07-25 00:47:11 +02:00
rootzoll
56a294b24a zty with user bitcoin 2021-07-25 00:41:11 +02:00
rootzoll
90669b40d0 add clnblockheight 2021-07-25 00:39:24 +02:00
rootzoll
25e695306f add TODO for CLN 2021-07-25 00:03:25 +02:00
rootzoll
cc36357bea fix lightniing info 2021-07-25 00:01:55 +02:00
rootzoll
b7641b6a8b fix syntax 2021-07-25 00:00:39 +02:00
rootzoll
3f937dec9e detect cln running 2021-07-24 23:59:16 +02:00
rootzoll
7ce01df694 change to none 2021-07-24 01:13:19 +02:00
rootzoll
36624395d8 remove key press on cln actions 2021-07-24 00:42:38 +02:00
rootzoll
5014799f6e press key after single actions 2021-07-24 00:33:51 +02:00
rootzoll
90d6f8ba54 exit 0 on cln menu 2021-07-24 00:31:30 +02:00
openoms
b906120e3d
start cln on the end of provisioning 2021-07-23 10:36:45 +01:00
openoms
1638961e7a cln: clear before showing summary 2021-07-23 10:25:32 +01:00
openoms
5bde0c97e4 cln: always start the lightnind.service 2021-07-23 00:19:59 +01:00
rootzoll
594f62ecd9 only show main lightning impl options for RC1 2021-07-23 00:56:18 +02:00
rootzoll
77d86b51e1 fix syntax 2021-07-23 00:51:18 +02:00
rootzoll
b21af26147 only show lnd options when activated 2021-07-23 00:49:30 +02:00
rootzoll
09d89fd410 show tail info on provision 2021-07-22 23:52:12 +02:00
wiz
efd6c6b151
Bump mempool to v2.2.0 (#2397) 2021-07-22 19:12:23 +02:00
rek79
bd3c5668f9
Simplify localIP detection and improve compatibility (#2432) 2021-07-22 19:09:36 +02:00
openoms
a2c07c4184
cln.install.sh: create cln config if not present 2021-07-21 23:47:22 +01:00
openoms
db24ad1d57
FinalDialog: make the 24 words fit 2021-07-21 23:37:26 +01:00
openoms
6bb0c12308
cln: make sure .lightning/bitcoin dir exists 2021-07-21 21:13:15 +01:00
openoms
a5747ba796
cln: correct lightning name in FInalDialog + typo 2021-07-21 19:43:53 +01:00
openoms
402f1a8a17
cln: look for files in .lightning dir with sudo 2021-07-21 19:31:30 +01:00
rootzoll
84e17f5def fix lnd unlock detection 2021-07-20 22:58:24 +02:00
rootzoll
45d4f7867f remove old jinja template rendering 2021-07-20 22:40:12 +02:00
openoms
91fbbaadce
cln: hide unhelpful warnings during setup 2021-07-20 19:21:58 +01:00
openoms
477c36f382
cln-plugin.backup: fix path to backup-cli 2021-07-20 19:12:15 +01:00
openoms
101039ef21
cln.install: fix access to raspiblitz.conf 2021-07-20 19:11:48 +01:00
openoms
ca5ace8a15
cln.hsmtool: init backup with the new wallet 2021-07-20 18:21:44 +01:00
/rootzoll
9a77f765df
#2228 wider grep to detect nvms (#2427) 2021-07-20 19:19:34 +02:00
rootzoll
11948ede38 set defaults before 2021-07-20 18:41:45 +02:00
rootzoll
1d0d368b83 add debug echos 2021-07-20 18:26:17 +02:00
rootzoll
cb04f09483 no password C & D when cln 2021-07-20 17:45:38 +02:00
/rootzoll
2434875723
#2425 Adding experimental Blitz WebUI & API (#2426) 2021-07-20 16:57:41 +02:00
openoms
d98ce4d601
sparko: don't show logs after install 2021-07-20 14:15:27 +01:00
openoms
bcc5ba502a
cln: load plugins from ${netprefix}cln-plugins-enabled
changed the config paths to $lightning-dir/config or /networkname/config

plugins are downloaded to the SDcard:
/home/bitcoin/cln-plugins-available/
symlinked and loaded automatically from:
/home/bitcoin/${netprefix}cln-plugins-enabled

Related: #2295
2021-07-20 14:05:58 +01:00
openoms
626b07400e
SERVICES menu: fix chantools/CLN switch 2021-07-20 09:33:56 +01:00
openoms
588e394b46 cln: activate the backup plugin on every install 2021-07-18 20:29:07 +01:00
openoms
ae3adc7a32 cln: add more aliases cln, clnlog, clnconf 2021-07-18 20:28:04 +01:00
openoms
7ca6b68cb7 SYSTEM menu fixes 2021-07-18 20:07:07 +01:00
openoms
6d82b93faf SYSTEM: add CLNLOG and CLNCONF options 2021-07-18 16:37:40 +01:00
openoms
12fd7006a6 improve comments 2021-07-18 15:21:01 +01:00
openoms
d3a7e40fc5 add cln.setname.sh
make lnd.setname.sh work with parallel wallets
2021-07-18 15:19:52 +01:00
openoms
b20a3ee8c3 debug _provison.setup.sh
stop bitcoind and restart with new config to avoid rpc password error
disable and enable service instead of daemon-reload
CLN: don't use passwordC  as seedPassword
2021-07-18 11:03:06 +01:00
openoms
abd4d1ded1
add Suez to menu for CLN and LND
needs to be installed with the bitcoin user to be able to interact with CLN
related: https://github.com/rootzoll/raspiblitz/issues/2366
2021-07-17 20:31:27 +01:00
openoms
7819ff90db
cln.install-service: fix sparko check 2021-07-17 19:30:04 +01:00
openoms
421e328b7e
PEERING: correct message on success 2021-07-17 17:14:37 +01:00
rootzoll
a20ef864a0 Merge branch 'pre-1.7.1' into 1126-provision 2021-07-17 17:25:53 +02:00
rootzoll
c5b2643294 mute not needed error msg 2021-07-17 17:23:48 +02:00
rootzoll
b918dd6cfa fix syntax 2021-07-17 17:15:18 +02:00
rootzoll
53428fb2fe fix syntax 2021-07-17 16:55:34 +02:00
rootzoll
afad204944 generate cln wallet with passwordc 2021-07-17 16:18:34 +02:00
rootzoll
be03fea776 correct bytesize 2021-07-17 15:28:03 +02:00
rootzoll
a64cc77dcb cln.backup.sh cln-import 2021-07-17 15:25:32 +02:00
rootzoll
3bcb0748ed add cln export gui 2021-07-17 15:14:52 +02:00
rootzoll
0fd6b829a0 get correct version 2021-07-17 15:13:02 +02:00
rootzoll
aa23ebcc38 cln rescue file export 2021-07-17 15:07:06 +02:00
openoms
529e8cdb84
add Suez install script
discussed in:
https://github.com/rootzoll/raspiblitz/issues/2366
2021-07-17 10:36:36 +01:00
rootzoll
8a3bff53cc fix gui 2021-07-17 02:29:50 +02:00
rootzoll
7bdf519a51 check lnd for valid seed 2021-07-17 02:27:35 +02:00
rootzoll
3f939deb74 fix syntax 2021-07-17 02:19:38 +02:00
rootzoll
0b806e6cac correct putput 2021-07-17 02:19:14 +02:00
rootzoll
660592eae8 try check 2021-07-17 02:17:21 +02:00
rootzoll
343b1e7981 dump object 2021-07-17 02:12:38 +02:00
rootzoll
67c41be9ae debug info 2021-07-17 02:11:15 +02:00
rootzoll
f022969217 test seed 2021-07-17 02:03:59 +02:00
rootzoll
8470d9bb36 refactor blitz.mnemonic.py 2021-07-17 01:55:02 +02:00
rootzoll
2c218d35b4 add seed-force 2021-07-17 00:54:31 +02:00
rootzoll
71420a0e23 fix output 2021-07-17 00:14:30 +02:00
rootzoll
b13e72408f hsm output tool 2021-07-17 00:03:57 +02:00
rootzoll
dfeaa4469b try fix call hsmtool 2021-07-17 00:01:19 +02:00
rootzoll
38ab24b144 add new-force wallet 2021-07-16 23:41:46 +02:00
rootzoll
2fbe009a28 fix syntax error 2021-07-16 21:50:26 +02:00
rootzoll
7c060800ef add setup logs to debug output 2021-07-16 21:45:56 +02:00
rootzoll
3f7f1c8b2e Merge branch 'pre-1.7.1' into 1126-provision 2021-07-16 20:36:25 +02:00
rootzoll
dd425da37d add c-lightning to debug 2021-07-16 20:16:48 +02:00
rootzoll
c7d6af8ce9 make sure to disable lnd 2021-07-16 20:16:39 +02:00
rootzoll
62f9e144cd get fresh data 2021-07-16 14:30:22 +02:00
rootzoll
6b2f9c8def fix syntax 2021-07-16 14:17:32 +02:00
rootzoll
355600566d wait for syncprogress info 2021-07-16 13:47:06 +02:00
rootzoll
8929a9714e wait for sync progress info 2021-07-16 13:41:57 +02:00
rootzoll
5ebe334e42 move name dialog 2021-07-16 13:13:06 +02:00
rootzoll
c87032aa60 update sync info 2021-07-16 12:22:40 +02:00
rootzoll
451b6865e5 add action string 2021-07-16 12:21:39 +02:00
rootzoll
4f6818fc17 update sync info for no lightning 2021-07-16 12:19:14 +02:00
rootzoll
bfe7d2b4d4 rename option 2021-07-16 00:10:00 +02:00
rootzoll
f4a72ed98f make alias info as defaults 2021-07-16 00:08:55 +02:00
rootzoll
9dc24445a9 make sure info is uptodate 2021-07-16 00:07:54 +02:00
rootzoll
a28c517691 add debug wait 2021-07-15 23:36:53 +02:00
rootzoll
ada8e4ae21 add debug wait 2021-07-15 23:34:50 +02:00
rootzoll
33c27630b5 mute unlocking echos 2021-07-15 23:32:27 +02:00
rootzoll
0a17aecff2 add debug error info 2021-07-15 22:12:38 +02:00
rootzoll
30159d775e fix syntax error 2021-07-15 22:05:53 +02:00
rootzoll
bbf0068878 fix network alias when not set 2021-07-15 21:40:51 +02:00
rootzoll
bf691d594b debug state 2021-07-15 21:28:47 +02:00
rootzoll
ba7a1eb6e6 no error if aliases not yet exist 2021-07-15 21:11:08 +02:00