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

Wallet can miss processing spend txs in the pool #8670

Open
j-berman opened this issue Dec 7, 2022 · 1 comment
Open

Wallet can miss processing spend txs in the pool #8670

j-berman opened this issue Dec 7, 2022 · 1 comment

Comments

@j-berman
Copy link
Collaborator

j-berman commented Dec 7, 2022

When the user has a spend tx in the pool that their wallet hasn't scanned yet (e.g. if the user rescans the chain, or uses the same seed in a different wallet), the wallet won't process the spend tx correctly. The user could end up trying to re-spend output(s) in this case and the daemon will reject the tx as a double spend.

The wallet process receive txs as expected. This issue appears isolated to spends.

@afungible
Copy link

I have noticed this behavior a couple months ago and I can confirm this occured. This results in double spend that the daemon rejects. I used same wallet file twice and used two monero-cli instances while fiddling around, on same PC.

Note, this also sort of corrupted my LMDB database (i.e. it showed a double spend txn) but I couldn't repair the DB locally. The only way was to download the whole Blockchain again, as whenever I spent from wallets outputs, it randomly popped up outputs are being double spent (when I clearly wasn't then) and was annoying.

Basically, one issue followed another in such a case.

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

2 participants