-
Notifications
You must be signed in to change notification settings - Fork 37
Add BlockHeader::clear_witness and ::is_dynafed methods #31
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
Conversation
3fe644d to
de82b59
Compare
|
Fixed for 1.22. |
jonasnick
left a comment
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.
Code looks good. What's the motivation?
|
Those matches over complex enum variants are super painful and inflated line-wise. I think we would have better have had 2 structs and simpler tuple variants taking that one struct instead of the variant taking fields. So just some simple utilities to save lines and improve readability of code using these enums. |
|
Sorry, should have been more specific. I get that it's more concise but I was wondering where |
|
@jonasnick witness-stripped blockheaders for when you don't need witness data to persist after witness is validated |
jonasnick
left a comment
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.
ACK de82b59
|
Needs rebase. |
de82b59 to
3e7c7b1
Compare
|
rebased |
3e7c7b1 Add BlockHeader::clear_witness method (Steven Roose) 8b0d786 Add BlockHeader::is_dynafed (Steven Roose) Pull request description: Top commit has no ACKs. Tree-SHA512: df4b899bec11b24da2abcfeed2a81f607fb62e28159ad7c0aa1937101d847cd2dbf6531ba177eae274aed3301a523e24a947a90db1f8ece3d8e2fa23e8962cef
No description provided.