Skip to content
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

blockchain: Fix revocation fee limit bug. #2948

Merged
merged 1 commit into from May 17, 2022

Conversation

rstaudt2
Copy link
Member

This retroactively fixes a bug that resulted in the fee limit not being properly enforced for revocation transactions. The exploitation risk of this was that in a split transaction, one party could intentionally increase the fee paid to miners for another party.

It is no longer possible to exploit this on mainnet since the automatic revocations agenda has activated, which enforces that the fee must be zero for revocation transactions.

The fee limit for revocation transactions was never violated on mainnet, so this logic can be safely corrected without impacting consensus. This has been validated by running a full sync with checkpoints and assume valid disabled.

This retroactively fixes a bug that resulted in the fee limit not being
properly enforced for revocation transactions.  The exploitation risk of
this was that in a split transaction, one party could intentionally
increase the fee paid to miners for another party.

It is no longer possible to exploit this on mainnet since the automatic
revocations agenda has activated, which enforces that the fee must be
zero for revocation transactions.

The fee limit for revocation transactions was never violated on mainnet
so this logic can be safely corrected without impacting consensus.  This
has been validated by running a full sync with checkpoints and assume
valid disabled.
@davecgh davecgh added this to the 1.8.0 milestone May 13, 2022
@davecgh davecgh added the non-forking consensus Changes that involve modifying consensus code without causing any forking changes. label May 13, 2022
@davecgh davecgh merged commit 46305c7 into decred:master May 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
non-forking consensus Changes that involve modifying consensus code without causing any forking changes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants