raspiblitz
raspiblitz copied to clipboard
CLN add peers manually when peers 0
On several testnodes with CLN it stayed with 0 peers for looong time. And the LCD already showed ready, while the SSH menu was still showing the sync page. WebUI only showed spinning loading.
The background service should add peers to CLN & LND when "0 peeers" like it does for BTC. Sync screens should show a waiting for peers. screen with options to "enter manually" or "deactivate LN".
To get a list of Fallback Lightning nodes ... just take a LND with a fully snyced network graph and call:
lncli describegraph | jq -r '.nodes[] | select(.addresses != null and (.addresses[0].addr | type == "string")) | select(.addresses[0].addr | test("^[0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+:[0-9]+$")) | "\(.pub_key)@\(.addresses[0].addr)"' > fallback.lightning.nodes
take that file and put into RaspiBlitz github assets folder and then yuse for CLN & LND peerkickstart as its done for bitcoin.