Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Speed up utxo scanning #17

Open
landabaso opened this issue Jul 5, 2022 · 1 comment
Open

Speed up utxo scanning #17

landabaso opened this issue Jul 5, 2022 · 1 comment

Comments

@landabaso
Copy link
Member

landabaso commented Jul 5, 2022

Cache old scans.

Learn different approaches from electrum, bluewallet, ...

Discussion: Maybe it is a good idea to bring some kind of stage management (such as redux) to farvault-lib.
Perhaps something that already implements caching mechanisms and so on. RTK-Query helps with caching but does not do data normalization. Normalization is something really nice to have.

@landabaso landabaso changed the title Scan utxo from a blockheight Speed up utxo scanning Jul 26, 2022
@landabaso
Copy link
Member Author

landabaso commented Nov 4, 2022

esplora is quite fast already although it does not allow batching.
The guys al Bluewallet use batching for electrum (and also trigger queries in parallel).

For the moment we keep electrum using sequential & non-batched queries which is rock solid.
Note that batched queries are not supported in all electrum servers anyway...
A faster electrum client is left for the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant