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

multi: Flush cache before fetching UTXO stats. #2767

Merged
merged 1 commit into from Oct 22, 2021

Conversation

rstaudt2
Copy link
Member

This updates the UTXO cache to flush all entries to the backend before UTXO stats are fetched. This ensures that the UTXO stats are always in sync with the current best block.

This also does not impact the effectiveness of the UTXO cache since entries are still only evicted if necessary.

This updates the UTXO cache to flush all entries to the backend before
UTXO stats are fetched.  This ensures that the UTXO stats are always in
sync with the current best block.

This also does not impact the effectiveness of the UTXO cache since
entries are still only evicted if necessary.
@davecgh davecgh added this to the 1.7.0 milestone Oct 21, 2021
@davecgh davecgh merged commit 22316ad into decred:master Oct 22, 2021
@rstaudt2 rstaudt2 deleted the flush-cache-utxo-stats branch October 28, 2021 21:58
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

Successfully merging this pull request may close these issues.

None yet

4 participants