[QA] Renaming rawTx into rawtx #10083

pull NicolasDorier wants to merge 1 commits into bitcoin:master from NicolasDorier:fundrawtransactionfix changing 1 files +18 −18
  1. NicolasDorier commented at 5:48 AM on March 26, 2017: contributor

    Follow up from #10069

    fundrawtransaction.py is using two variables: rawtx and rawTx, which can be easily confused (see #10069). This PR rename everything in rawtx.

    It was discussed to have separate function for each test case of fundrawtransaction.py, however, it seems a bit overkill to me, I think this PR is good enough. (Other followup #10078)

  2. [QA] Renaming rawTx into rawtx dd5be2c7b3
  3. NicolasDorier cross-referenced this on Mar 26, 2017 from issue [QA] Fix typo in fundrawtransaction test by NicolasDorier
  4. dcousens approved
  5. fanquake added the label Tests on Mar 26, 2017
  6. jonasschnelli commented at 6:34 AM on March 27, 2017: contributor

    utACK dd5be2c7b35f0ecd1650a7f8cf08e692f6f41ccb

  7. laanwj commented at 7:05 AM on March 27, 2017: member

    Yes, utACK, thanks, this should have been the solution in the first place.

  8. laanwj merged this on Mar 27, 2017
  9. laanwj closed this on Mar 27, 2017

  10. laanwj referenced this in commit c044f03f99 on Mar 27, 2017
  11. droark commented at 8:35 PM on March 27, 2017: contributor

    Just curious, any reason why rawtx was chosen over rawTx? Personally, I prefer the latter. Making everything lowercase obfuscates the fact that multiple words/abbreviations are being used. There's also some inconsistency in the code's variable names at that point. Not a big deal, just something I'm curious about.

  12. MarcoFalke commented at 8:53 PM on March 27, 2017: member

    @droark Feel free to use raw_tx if you think that it is clearer than rawtx. Though, the python code should stay free of camelCase in variable names of local scope.

  13. droark commented at 8:56 PM on March 27, 2017: contributor

    Fair enough. Thanks for clarifying.

  14. jnewbery cross-referenced this on Apr 5, 2017 from issue [qa] Fundraw: Use named args to limit scope of names by MarcoFalke
  15. PastaPastaPasta referenced this in commit 702d566213 on Mar 14, 2019
  16. PastaPastaPasta referenced this in commit 4791fc9128 on May 20, 2019
  17. PastaPastaPasta referenced this in commit 1209417938 on May 21, 2019
  18. PastaPastaPasta referenced this in commit 3ccae7d2c2 on May 21, 2019
  19. barrystyle referenced this in commit e72f7bef29 on Jan 22, 2020
  20. bitcoin locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-05-20 06:55 UTC