-
Notifications
You must be signed in to change notification settings - Fork 110
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
fix(rpc): Fix Merkle root transaction order in getblocktemplate RPC method #5953
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #5953 +/- ##
==========================================
+ Coverage 78.06% 78.13% +0.06%
==========================================
Files 311 311
Lines 38919 38919
==========================================
+ Hits 30384 30410 +26
+ Misses 8535 8509 -26 |
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.
Thanks for this fix!
Failed due to #5958:
https://github.com/ZcashFoundation/zebra/actions/runs/3925766571/jobs/6710902148#step:9:931 |
@Mergifyio refresh |
✅ Pull request refreshed |
did we create an issue for this? it's ok if not just trying to track things |
We didn't create an issue for this. |
Motivation
Block templates returned by the getblocktemplate RPC need to be valid.
Solution
mempool_txs
before generating a default merkle root for the templateReview
Anyone can review.
See #5884 for testing.
Reviewer Checklist