-
Notifications
You must be signed in to change notification settings - Fork 220
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
feat!: remove coinbases from weight calculations #6738
base: development
Are you sure you want to change the base?
feat!: remove coinbases from weight calculations #6738
Conversation
Test Results (CI) 3 files 129 suites 40m 12s ⏱️ Results for commit 62933e2. ♻️ This comment has been updated with latest results. |
Test Results (Integration tests)18 tests 18 ✅ 6m 46s ⏱️ For more details on these parsing errors, see this check. Results for commit 62933e2. ♻️ This comment has been updated with latest results. |
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.
I think we need to verify that the maximum block size of 4MB for comms purposes will still be adhered to when we have full blocks with say 1000 coinbases in the block. When we get a new block template for mining this limitation must be taken into account, and not only discovered when we try to transmit such a mined block.
Good point about the comms block size, |
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.
utACK
4da79c3
to
62933e2
Compare
Description
removes coinbases from the weight calculations making calculations regarding weight simpler.
Adds max coinbase constant, currently 1000.
Motivation and Context
This will simplify the mining and verification of coinbases and weights, by making coinbases not count towards block weight.
How Has This Been Tested?
unit tests