-
Notifications
You must be signed in to change notification settings - Fork 38.8k
Chainparams: Refactor: Remove redundant AllowMinDifficultyBlocks() getter #5998
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
Conversation
src/miner.h
Outdated
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.
Forward-declare instead?
|
ut ACK other than the nit. |
|
ut ACK |
d6bcc6a to
bce7b6e
Compare
|
nit (forward declaration of Consensus::Params) fixed |
src/miner.h
Outdated
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.
I don't agree on removing the argument names here, they serve as a kind of documentation.
|
utACK apart from above nit |
|
Fixed @laanwj 's nit (do not remove the parameter names of the functions in the header file). |
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.
Nit: If you mind add a new-line here, but that's not meant to be of any interrest if this is going to get merged now :).
bebe728 Chainparams: Refactor: Remove redundant AllowMinDifficultyBlocks() getter (Jorge Timón)
A small part of #5970.