-
Notifications
You must be signed in to change notification settings - Fork 59
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
perf(wallet): cache mapped addresses and utxo #1545
Conversation
wallets with large # of utxo were performing poorly, because every subscription to utxo ran some computation notably, each call to input resolver was running firstValueFrom(utxo.available$) which triggered a series of computations
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, nice work @mkazlauskas 🕵️
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work @mkazlauskas 🧙🏼
Context
wallets with large # of utxo were performing poorly, because every subscription to utxo ran some computation
notably, each call to input resolver was running
firstValueFrom(utxo.available$)
which triggered a series of computationsProposed Solution
Important Changes Introduced