zcash-android-wallet-sdk icon indicating copy to clipboard operation
zcash-android-wallet-sdk copied to clipboard

Improve fetch UTXOs interval

Open HonzaR opened this issue 6 months ago • 0 comments

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.

  • https://github.com/Electric-Coin-Company/zcash-android-wallet-sdk/pull/1547
  • https://github.com/Electric-Coin-Company/zcash-android-wallet-sdk/pull/1548

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

HonzaR avatar Aug 07 '24 07:08 HonzaR