Cleanups suggested by genjix #716

pull gavinandresen wants to merge 3 commits into bitcoin:master from gavinandresen:cleanup changing 15 files +35 −78
  1. gavinandresen commented at 12:20 AM on December 20, 2011: contributor

    Several miscellaneous code cleanups:

    • Removed all mention of BORLAND_C : we don't (and never have, as far as I know) support that compiler.
    • All modern C++ compilers support 'long long' for 64-bit integers, so removed the windows #ifdefs
    • Replaced all occurrences of INT_MAX/etc with the typesafe std::numeric_limits<> methods
    • Replaced a constant 10,000-byte buffer with a properly ECDSA_size'ed vector (and removed a memcpy)
  2. Cleanup: removed dead code, and use C99 typedefs for int64 (supported by all modern c++ compilers) bd846c0e56
  3. Use std::numeric_limits<> for typesafe INT_MAX/etc 26ce92b352
  4. Code cleanup: use ECDSA_size() instead of fixed 10,000 byte sig buffer, and explicity init static var 9ef7fa3447
  5. TheBlueMatt commented at 1:19 AM on December 20, 2011: member

    ACK

  6. gavinandresen referenced this in commit 74f5435e10 on Dec 20, 2011
  7. gavinandresen merged this on Dec 20, 2011
  8. gavinandresen closed this on Dec 20, 2011

  9. coblee referenced this in commit fea5ea8305 on Jul 17, 2012
  10. destenson referenced this in commit 4474de8573 on Jun 26, 2016
  11. destenson referenced this in commit 73ff4b7235 on Aug 8, 2017
  12. dexX7 referenced this in commit deeb085877 on Aug 13, 2018
  13. Losangelosgenetics referenced this in commit 0e1a03575e on Mar 12, 2020
  14. DrahtBot 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-02 15:16 UTC

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