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: Reject params with mask approval bit. #3073

Merged

Conversation

davecgh
Copy link
Member

@davecgh davecgh commented Mar 7, 2023

This adds an additional validation check to the chain initialization process to validate that the mask of the deployments in the given chain params do not use the bit that is reserved for use to signal whether or not the regular transaction tree of the parent block should be considered valid.

It also adds a test for the new validation logic.

@davecgh davecgh added this to the 1.8.0 milestone Mar 7, 2023
@davecgh davecgh force-pushed the blockchain_reject_params_with_mask_approval_bit branch 3 times, most recently from fe57759 to 6f8490c Compare March 7, 2023 21:47
This adds an additional validation check to the chain initialization
process to validate that the mask of the deployments in the given chain
params do not use the bit that is reserved for use to signal whether or
not the regular transaction tree of the parent block should be
considered valid.

It also adds a test for the new validation logic.
@davecgh davecgh force-pushed the blockchain_reject_params_with_mask_approval_bit branch from 6f8490c to fdfc39d Compare March 12, 2023 17:12
@davecgh davecgh merged commit fdfc39d into decred:master Mar 12, 2023
@davecgh davecgh deleted the blockchain_reject_params_with_mask_approval_bit branch March 12, 2023 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants