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: Remove unused CheckWorklessBlockSanity. #1496

Merged

Conversation

davecgh
Copy link
Member

@davecgh davecgh commented Oct 15, 2018

This removes the CheckWorklessBlockSanity function since nothing uses it anymore. It was used for testing templates and unit tests in the past, but the former is now handled by CheckConnectBlockTemplate and the latter is handled by the full block tests.

It should be noted that this is a breaking change to the API and thus will need a major version bump of the blockchain module to be published before the next release.

@davecgh davecgh added this to the 1.4.0 milestone Oct 15, 2018
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

This removes the CheckWorklessBlockSanity function since nothing uses
it anymore.  It was used for testing templates and unit tests in the
past, but the former is now handled by CheckConnectBlockTemplate and the
latter is handled by the full block tests.

It should be noted that this is a breaking change to the API and thus
will need a major version bump of the blockchain module to be published
before the next release.
@davecgh davecgh force-pushed the blockchain_remove_checkworklessblocksanity branch from a4b8824 to 274815a Compare October 16, 2018 11:10
@davecgh davecgh merged commit 274815a into decred:master Oct 16, 2018
@davecgh davecgh deleted the blockchain_remove_checkworklessblocksanity branch October 16, 2018 11:15
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