-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lnd+chainregistry: initialize neutrino light client before wallet setup
In this commit, we slightly refactor the startup of lnd when running with a Neutrino light client backend. We'll now begin syncing our backend as soon as lnd starts and passes all configuration checks. Since this is all done before lnd's wallet setup, the light client will be syncing in the background while the user notes/inputs their wallet seed. This is done in order to provide a better UX from the point of the user, such that most of the chain will already be synced by the time they get to deposit funds into the wallet.
- Loading branch information
Showing
2 changed files
with
93 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters