Electric-Coin-Company / zcash-android-wallet-sdk

Native Android SDK for Zcash
MIT License
5 stars 9 forks source link

Improve fetch UTXOs interval #1552

Open HonzaR opened 1 month ago

HonzaR commented 1 month ago

Is your feature request related to a problem? Please describe.

After we implemented these two PRs below we fetch UTXOs at the beginning and end of each sync state machine cycle and also as part of the sync cycle with every 1000 downloaded blocks.

We might want to improve the UTXOs fetching interval to something like this: (once per updateChainTip or per X blocks, whichever occurs sooner since the last time it was called).

Describe the solution you'd like

Alternatives you've considered

Additional context

The request is based on this discussion