-
Notifications
You must be signed in to change notification settings - Fork 219
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
feat: adaptable min difficulty check #5896
feat: adaptable min difficulty check #5896
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some suggestions for the checked_div_u64
functions. I probably need a clarification on the way we're using the min difficulty we're calculating because it looks like it could be possible to keep the value at 1.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, utAck
Co-authored-by: Brian Pearce <brianp@users.noreply.github.com>
2a73ef7
to
b66d588
Compare
Description
This includes an adaptable min difficulty check for incoming blocks.
Motivation and Context
See issue: #5620 for the reasoning behind why this needs to include an adaptable min difficulty check.