-
Notifications
You must be signed in to change notification settings - Fork 15
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
Add finalizer commits merkle root to block header #815
Add finalizer commits merkle root to block header #815
Conversation
ConceptACK 0d64ed0 |
That crusade against commas is unnecessary code churn in my opinion. |
19b28e1
to
0de215a
Compare
rebased with master and force-pushed because of the issue with unit tests |
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.
ConceptACK 1fc80f7, I wanna see where the comma argument settled before acking.
1fc80f7
to
4214e90
Compare
Force-pushed because had to resolve conflicts with master |
55a6f4e
to
ecdc68b
Compare
rebased with master and force-pushed because we renamed |
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 ecdc68b
Comma argument is too rocket science to me ;D
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 ecdc68b
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 ecdc68b
This PR adds merkle root of finalizer commits to the block header. Having this merkle root in a header will allow us to verify the consistency of headers+commits P2P messages. Notice, original "hashMerkleRoot" also takes finalizer commits into account. The reason is that it's needed for Bloom Filter. We can review the possibility of not including finalizer commits into hashMerkleRoot and refactor Bloom Filters/SPV clients in a separate issue or PR. We also have an issue how to optimize our merkle roots dtr-org/unit-e#806 and this will be discussed/tackled in a separate PR. Signed-off-by: Kostiantyn Stepaniuk <kostia@thirdhash.com>
Signed-off-by: Kostiantyn Stepaniuk <kostia@thirdhash.com>
Signed-off-by: Kostiantyn Stepaniuk <kostia@thirdhash.com>
Signed-off-by: Kostiantyn Stepaniuk <kostia@thirdhash.com>
Signed-off-by: Kostiantyn Stepaniuk <kostia@thirdhash.com>
Signed-off-by: Kostiantyn Stepaniuk <kostia@thirdhash.com>
Signed-off-by: Kostiantyn Stepaniuk <kostia@thirdhash.com>
Signed-off-by: Kostiantyn Stepaniuk <kostia@thirdhash.com>
Signed-off-by: Kostiantyn Stepaniuk <kostia@thirdhash.com>
ecdc68b
to
2359426
Compare
had to rebase and force-push because of the conflict with master. |
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 2359426
This PR adds merkle root of finalizer commits to the block header.
Having this merkle root in a header will allow us to verify
the consistency of headers+commits P2P messages.
Notice, original "hashMerkleRoot" also takes finalizer commits into account.
The reason is that it's needed for Bloom Filter. We can review
the possibility of not including finalizer commits into hashMerkleRoot
and refactor Bloom Filters/SPV clients in a separate issue or PR.
We also have an issue of how to optimize our merkle roots #806
and this will be discussed/tackled in a separate PR.
Signed-off-by: Kostiantyn Stepaniuk kostia@thirdhash.com