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: Explicit hash in next stake diff calcs. #2494

Merged
merged 1 commit into from
Dec 14, 2020

Conversation

davecgh
Copy link
Member

@davecgh davecgh commented Dec 9, 2020

This requires #2493.

This modifies the CalcNextRequiredStakeDifficulty function to accept a hash instead of using the current chain tip as part of an overall effort to make the blockchain module more explicit and less reliant on the current state.

@davecgh davecgh added this to the 1.7.0 milestone Dec 9, 2020
This modifies the CalcNextRequiredStakeDifficulty function to accept a
hash instead of using the current chain tip as part of an overall effort
to make the blockchain module more explicit and less reliant on the
current state.
@davecgh davecgh force-pushed the blockchain_next_stake_diff_by_hash branch from 8a563a9 to d735ac1 Compare December 14, 2020 01:28
@davecgh davecgh merged commit d735ac1 into decred:master Dec 14, 2020
@davecgh davecgh deleted the blockchain_next_stake_diff_by_hash branch December 14, 2020 01:31
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.

None yet

3 participants