vulpemventures / ocean

:ocean: Elements/Liquid wallet daemon
MIT License
5 stars 7 forks source link

Update neutrino #13

Closed altafan closed 1 year ago

altafan commented 2 years ago

This updates the version of the embedded neutrino node to the latest version v0.1.2.

Since in this version the original inmemory header and filter repos have been dropped from pkg, a new badger implementation has been added, which fixes the required persistency of filters and headers.

Closes #12.

BONUS: This fixes a bug affecting the account service of app layer. Before this, it tried to watch addresses for existing accounts before the wallet was unlocked. With this, we now register a function doing the same thing only after receiving a WalletUnlocked event from the repo manager.

Please @tiero review