-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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 GethMiner snake case methods #1579
Add GethMiner snake case methods #1579
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.
Thank you for taking this on @billbsing! This is looking great. If you would, let's change all instances of camelCase methods to their snake_case equivalents unless we're explicitly testing for a deprecation warning. I noticed some instances of gasPrice
still floating around, and there may be others that need to be switched too. I also added a few small comments, but nothing major. Let me know if you need more clarification!
docs/web3.miner.rst
Outdated
|
||
.. py:method:: GethMiner.startAutoDAG() |
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.
This is existing, but we only have a startAutoDag
method, not startAutoDAG
. Do you mind changing?
.. py:method:: GethMiner.startAutoDAG() | |
.. py:method:: GethMiner.startAutoDag() |
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 to me! Thanks @billbsing!
887b0aa
to
21cc309
Compare
What was wrong?
Related to Issue #1429
How was it fixed?
add new methods, and mark the current non snake case method names as depreciated.