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: Validate pool size in header context. #1018

Merged

Conversation

davecgh
Copy link
Member

@davecgh davecgh commented Feb 2, 2018

This requires #1017.

This moves the test for validating the pool size specified by the header matches the calculated size into the checkBlockHeaderContext function where it more naturally belongs since it is only dependent on the header and its contextual position within the chain.

@davecgh davecgh force-pushed the blockchain_validate_poolsize_header_context branch 2 times, most recently from 35701d1 to 51a61e8 Compare February 3, 2018 04:56
This moves the test for validating the pool size specified by the header
matches the calculated size into the checkBlockHeaderContext function
where it more naturally belongs since it is only dependent on the header
and its contextual position within the chain.
@davecgh davecgh force-pushed the blockchain_validate_poolsize_header_context branch from 51a61e8 to c5a7115 Compare February 14, 2018 19:21
Copy link
Member

@dajohi dajohi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@davecgh davecgh merged commit c5a7115 into decred:master Feb 14, 2018
@davecgh davecgh deleted the blockchain_validate_poolsize_header_context branch February 14, 2018 20:17
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.

3 participants