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

chaingen: Add revocation generation infrastructure. #1120

Merged

Conversation

davecgh
Copy link
Member

@davecgh davecgh commented Mar 5, 2018

This adds infrastructure to track missed votes and automatically generate revocations for them along with a new assertion helper named AssertTipNumRevocations which, as it name suggests, allows the caller to
assert the header commits to the specified number of revocations.

This will be useful for porting the rest of the block validation tests to the fullblocktests framework.

@davecgh davecgh force-pushed the chaingen_add_revocation_infastructure branch 2 times, most recently from d33d866 to ed1d03f Compare March 5, 2018 03:37
@davecgh davecgh force-pushed the chaingen_add_revocation_infastructure branch from ed1d03f to 71332c6 Compare March 5, 2018 18:37
This adds infrastructure to track missed votes and automatically
generate revocations for them along with a new assertion helper named
AssertTipNumRevocations which, as it name suggests, allows the caller to
assert the header commits to the specified number of revocations.

This will be useful for porting the rest of the block validation tests
to the fullblocktests framework.
@davecgh davecgh force-pushed the chaingen_add_revocation_infastructure branch from 71332c6 to a0bdb17 Compare March 5, 2018 18:40
@davecgh davecgh merged commit a0bdb17 into decred:master Mar 5, 2018
@davecgh davecgh deleted the chaingen_add_revocation_infastructure branch March 5, 2018 18:55
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.

4 participants