-
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
fix: enforce unique commitments in utxo set #3173
fix: enforce unique commitments in utxo set #3173
Conversation
c8fcb29
to
99e11a3
Compare
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, a few small nits, and a question.
cca28e0
to
5dbd6ae
Compare
5dbd6ae
to
a6e3096
Compare
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.
LGTM
90b5e09
to
88b8c06
Compare
PR queued successfully. Your position in queue is: 2 |
PR is on top of the queue now |
PR failed to merge with reason: Some CI status(es) failed |
Adds a unique commitment db index for the UTXO set as well as unique commitment check in the block validator.
cca6b4b
to
7c30d65
Compare
Waiting for approval before queuing |
Description
Adds a unique commitment db index for the UTXO set as well as unique
commitment check in the block validator.
Motivation and Context
Prevents the a consensus disagreement between pruned and unpruned nodes by
reusing a commitment.
How Has This Been Tested?
After that UTXO is spent, the duplicate UTXO is allowed to be included in a block.
rewind-blockchain
commandChecklist:
development
branch.