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

checkdevpremine: Small improvements and fixes #969

Merged
merged 4 commits into from
Jan 10, 2018

Conversation

markusrichter
Copy link
Contributor

@markusrichter markusrichter commented Jan 9, 2018

This PR makes some small improvements to the checkdevpremine command: It removes the unimplemented --skipverify option, implements the unimplemented --notls option, and fixes a comment which didn't fit the code it was documenting.

It also renames the file main.go to checkdevpremine.go to make the naming more consistent with other utilities.

@markusrichter markusrichter changed the title Checkdevpremine Some improvements to the checkdevmine command. Jan 9, 2018
Copy link
Member

@davecgh davecgh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR. Please name the commit(s) according to the Model Git Commit Message section of the Code Contribution Guidelines.

Also, please explicitly call out that intended changes in the PR description.

The option --skipverify has never been implemented, therefore it is
better to remove it altogether.
Similar to all other utilities in github.com/decred/dcrd/cmd/...
The main Go file for "utility" is usually named utility.go and not
main.go.
The comment didn't reflect the code (probably a copy and paste error).
@markusrichter
Copy link
Contributor Author

Thanks for the feedback and pointer @davecgh. I made the requested changes, I hope in the correct way. Otherwise, please let me know.

@markusrichter markusrichter changed the title Some improvements to the checkdevmine command. checkdevpremine: Small improvements and fixes Jan 9, 2018
Copy link
Member

@davecgh davecgh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the updates. Looks good.

@davecgh davecgh merged commit 321d504 into decred:master Jan 10, 2018
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.

2 participants