[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. dcousens approved
  4. fanquake added the label Tests on Mar 26, 2017
  5. jonasschnelli commented at 6:34 AM on March 27, 2017: contributor

    utACK dd5be2c7b35f0ecd1650a7f8cf08e692f6f41ccb

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

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

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

  9. laanwj referenced this in commit c044f03f99 on Mar 27, 2017
  10. 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.

  11. 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.

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

    Fair enough. Thanks for clarifying.

  13. PastaPastaPasta referenced this in commit 702d566213 on Mar 14, 2019
  14. PastaPastaPasta referenced this in commit 4791fc9128 on May 20, 2019
  15. PastaPastaPasta referenced this in commit 1209417938 on May 21, 2019
  16. PastaPastaPasta referenced this in commit 3ccae7d2c2 on May 21, 2019
  17. barrystyle referenced this in commit e72f7bef29 on Jan 22, 2020
  18. MarcoFalke 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-04-17 09:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me