-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
add command pop_blocks monerod #4903
add command pop_blocks monerod #4903
Conversation
try | ||
{ | ||
uint64_t nblocks = boost::lexical_cast<uint64_t>(args[0]); | ||
if (nblocks < 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.
Please keep the same brace style as the code you're modifying, and consistent within the patch. Most code has the brace on a new line, and half your code here also does.
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.
Looks good, thanks.
Please squash |
add new public method to Blockchain and update according to code review update after review: better lock/unlock, try catch and coding style
4d92676
to
dc1c125
Compare
did I do the squash correctly? |
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.
Looks like you did.
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.
Reviewed
dc1c125 add command pop_blocks (Jason Wong)
The pull request adds a command "pop_blocks " to monerod.