minor cleanups (indentation, formatting and ordering) #5067

pull Diapolo wants to merge 4 commits into bitcoin:master from Diapolo:cleanup changing 6 files +31 −41
  1. Diapolo commented at 11:15 AM on October 9, 2014: none

    No description provided.

  2. correct indentation in main.cpp cd38f16c66
  3. correct indentation in pow.cpp 32d2ce970a
  4. cleanup weird comment formating in sync.h 97101727a5
  5. ensure alphabetical ordering
    - in main.cpp also move 2 locations for class, struct stuff where it
      belongs
    9b9752144a
  6. in src/main.cpp:None in 9b9752144a
    1463 | -        if (*outs != outsBlock)
    1464 | -            fClean = fClean && error("DisconnectBlock() : added transaction mismatch? database corrupted");
    1465 | -
    1466 | -        // remove outputs
    1467 | -        outs->Clear();
    1468 | +            CCoins outsEmpty;
    


    laanwj commented at 11:57 AM on October 9, 2014:

    Please, no whitespace changes...


    Diapolo commented at 12:18 PM on October 9, 2014:

    Come on @sipa merged a similar fix for a missing LOCK indentation yesterday or 2 days ago -_-.


    laanwj commented at 12:28 PM on October 9, 2014:

    Well, sure, a whitespace change can slip through the cracks once in a while. That shouldn't be an encouragement to do even more.

  7. laanwj commented at 12:32 PM on October 9, 2014: member

    I know you mean well with pulls like this, but can you please go back to solving actual issues?

  8. gavinandresen closed this on Oct 9, 2014

  9. Diapolo commented at 8:32 AM on October 10, 2014: none

    Thanks for closing and discussion instead of merging... (not @laanwj).

  10. MarcoFalke locked this on Sep 8, 2021
Contributors

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-21 18:15 UTC

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