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: Accept header in CheckProofOfWork. #977

Merged
merged 1 commit into from
Jan 19, 2018

Conversation

davecgh
Copy link
Member

@davecgh davecgh commented Jan 19, 2018

This modifies the CheckProofOfWork function to accept a block header instead of an entire block since there is no reason to force the caller to have access to a full block when only the header is required.

This modifies the CheckProofOfWork function to accept a block header
instead of an entire block since there is no reason to force the caller
to have access to a full block when only the header is required.
Copy link
Member

@dnldd dnldd 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 fc102fa into decred:master Jan 19, 2018
@davecgh davecgh deleted the blockchain_checkproofofwork_header branch January 19, 2018 20:37
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