-
Notifications
You must be signed in to change notification settings - Fork 107
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
change(mempool): Return verification result after attempting to insert transactions in the mempool #8901
change(mempool): Return verification result after attempting to insert transactions in the mempool #8901
Conversation
Is there a related issue for this PR? |
It's related to #8778. Zebra began returning errors from the
|
Do we still want to do this one? Otherwise we should just close for now |
b3b88b4
to
7c4ad87
Compare
e1a3691
to
e0861ec
Compare
… inserted or has failed to be inserted into the mempool
…cellations or timeouts.
7c4ad87
to
89a747a
Compare
We should still do it, it's ready for review now it makes it easier to debug the |
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.
Looks good to me, thanks.
@mergify queue |
🟠 Waiting for conditions to match
|
9eb8a99
into
avoid-reverifying-mined-mempool-txs
…t transactions in the mempool (#8901) * respond with mempool verification result after a transaction has been inserted or has failed to be inserted into the mempool * returns mempool verification errors early, and fixes handling for cancellations or timeouts. * Adds a comment in test warning against code reuse with buffered services.
…t transactions in the mempool (#9067) * change(mempool): Return verification result after attempting to insert transactions in the mempool (#8901) * respond with mempool verification result after a transaction has been inserted or has failed to be inserted into the mempool * returns mempool verification errors early, and fixes handling for cancellations or timeouts. * Adds a comment in test warning against code reuse with buffered services. * De-duplicates handling for timeout errors
Motivation
We want to return a verification result from the mempool after a transaction has been inserted into its verified set (or has failed some final checks in the mempool).
Solution
Download
structTests
Updates the
mempool_responds_to_await_output
test to expect the mempool storage to include a transaction immediately after receiving its verification result.PR Author's Checklist
PR Reviewer's Checklist