Skip to content

Conversation

@jnewbery
Copy link
Contributor

@jnewbery jnewbery commented Nov 2, 2016

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:

  • remove newlines
  • change tabs for spaces, to align with convention in other py files
  • add comments
  • add 'Bitcoin Core Developers' copyright notice

@maflcko
Copy link
Member

maflcko commented Nov 3, 2016

utACK dd76c14?w=

@laanwj
Copy link
Member

laanwj commented Nov 3, 2016

change tabs for spaces, to align with convention in other py files

Oh yes that was irking me, had to change editor settings all the time just for that file. utACK dd76c14

Copy link
Member

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good spot. Thanks.

Copy link
Member

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.

Copy link
Contributor Author

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
@jnewbery
Copy link
Contributor Author

jnewbery commented Nov 3, 2016

Nits addressed and commits squashed.

@fanquake
Copy link
Member

fanquake commented Nov 4, 2016

utACK 2b175d4
The non-whitespace diff is seen with ?w=1.

@laanwj laanwj merged commit 2b175d4 into bitcoin:master Nov 4, 2016
laanwj added a commit that referenced this pull request Nov 4, 2016
2b175d4 Clean up bctest.py and bitcoin-util-test.py (John Newbery)
@jnewbery jnewbery deleted the btutiltestcleanup branch November 4, 2016 08:33
codablock pushed a commit to codablock/dash that referenced this pull request Jan 13, 2018
2b175d4 Clean up bctest.py and bitcoin-util-test.py (John Newbery)
andvgal pushed a commit to energicryptocurrency/gen2-energi that referenced this pull request Jan 6, 2019
2b175d4 Clean up bctest.py and bitcoin-util-test.py (John Newbery)
CryptoCentric pushed a commit to absolute-community/absolute that referenced this pull request Feb 15, 2019
2b175d4 Clean up bctest.py and bitcoin-util-test.py (John Newbery)
zkbot added a commit to zcash/zcash that referenced this pull request Nov 9, 2020
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants