Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Thv/#145 reorganization of mempool #153
Thv/#145 reorganization of mempool #153
Changes from all commits
fe65beb
384ca41
71ea84c
7b4502b
2d01f14
998ba57
11e1261
f5ce7f2
315586f
ff19ec3
1e78855
80b3b34
108cfc4
d76d3a6
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What happens if my wallet has a (monitored) utxo that gets dropped from the mempool during re-org? iiuc, it seems the wallet would be out-of-sync with the mempool, but not the wallet's fault.
edit: I guess that prune-abandoned-monitored-utxos can deal with this situation. Perhaps it deserves a mention here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The wallet currently only deals with and displays transactions that have been mined. It completely ignores anything that's in the mempool.
I'd be happy to have the wallet be able to read from the mempool eventually, but that is not a concern for this PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does that address your question? If not, please elaborate :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, so that implies that spends are not reflected in the wallet prior to confirmation either.
Eg, when I send a payment P for amount A, and P is not yet confirmed in a block:
Is the above accurate?
If so, then I think this behavior deserves a mention in the docs somewhere also, until such time as the wallet becomes mempool-aware.