-
Notifications
You must be signed in to change notification settings - Fork 38.7k
Clean up bctest.py and bitcoin-util-test.py #9069
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
|
utACK dd76c14?w= |
Oh yes that was irking me, had to change editor settings all the time just for that file. utACK dd76c14 |
src/test/bitcoin-util-test.py
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 think this comment is wrong, too? It looks for --srcdir not --src.
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.
Good spot. Thanks.
src/test/bctest.py
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.
µNit: no need to mention what fmt can be, when it is mentioned in the code just a line below.
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.
µACK. Comment shortened.
- remove newlines - change tabs for spaces, to align with convention in other py files - add comments - add 'Bitcoin Core Developers' copyright notice
dd76c14 to
2b175d4
Compare
|
Nits addressed and commits squashed. |
2b175d4 Clean up bctest.py and bitcoin-util-test.py (John Newbery)
2b175d4 Clean up bctest.py and bitcoin-util-test.py (John Newbery)
2b175d4 Clean up bctest.py and bitcoin-util-test.py (John Newbery)
2b175d4 Clean up bctest.py and bitcoin-util-test.py (John Newbery)
bitcoin-util-test.py backports Cherry-picked from the following upstream PRs: - bitcoin/bitcoin#8829 - bitcoin/bitcoin#8830 - bitcoin/bitcoin#8836 - bitcoin/bitcoin#8881 - bitcoin/bitcoin#9032 - bitcoin/bitcoin#9023 - bitcoin/bitcoin#9069 - bitcoin/bitcoin#9945
Apologies for code churn, but I've updated almost all of the code in these files, so I thought I might as well tidy up the code: