decred / dcrlnd

Decred Lightning Network Daemon ⚡️
MIT License
36 stars 24 forks source link

mult: Only perform account discovery once in embedded wallets #145

Closed matheusd closed 3 years ago

matheusd commented 3 years ago

This adds a new record in the database that tracks whether account discovery is needed on the wallet. By default, dcrlnd will perform an account discovery process and will only mark as account discovery not needed once the wallet is fully synced at least once.

This is only applicable to the embedded wallet, given that remote wallets are controlled externally.

The dependencies are updated in an initial commit to be able to use recently introduced methods to the wallet module.