Closed rootzoll closed 2 years ago
At which setup step can we assume that Bitcoin Core and a LN node is fully available to connect to?
From Redis:
setupStep="100"
setupPhase="done"
state="ready"
I'd say that I check for the setupStep
and turn off all non-setup functionality below a certain value.
Then I could listen to changes to setupStep
or wait for a reboot when the system is finished setting up lightning.
OK this looks good now. Closing.
I want to test the blitzapi for setup - so I take a fresh sd card image and run
blitz.web.api.sh on
... but theblitzapi
service is in constant restart - this is the error:So it seems the blitzapi does not start if there no bitcoind/lnd yet. How can we make the API tolerate a missing bitcoind/lnd until its available?