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

bucketUnminedCredits contains outputs from mined transactions, is not fixed by rescan #2217

Open
jrick opened this issue Mar 24, 2023 · 1 comment

Comments

@jrick
Copy link
Member

jrick commented Mar 24, 2023

It's been observed that bucketUnminedCredits contains spent outputs of mined transactions, and that rescan does not fix this inconsistency. This can lead to double spending errors, and is possibly also inflating the unconfirmed balances.

While rescan can and should be changed to fix this issue, as it is very real state that wallets may wind up in, it's not yet known what is causing this situation. Until it is properly fixed, even more rescans may be necessary.

@jrick
Copy link
Member Author

jrick commented Apr 18, 2024

I don't recall the exact circumstances or wallet settings leading to the original issue, but recently saw this again. The problem eventually went away after I dropped my --watchlast setting and performed a new rescan of all addresses from genesis. So my guess is that was part of the initial problem, and this needs more investigation that rescans properly work with --watchlast.

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