Reduce bignum.h now it is only needed for scriptnum_tests #4160

pull sipa wants to merge 2 commits into bitcoin:master from sipa:nobignumatall changing 8 files +182 −670
  1. sipa commented at 3:40 PM on May 9, 2014: member

    No description provided.

  2. Reduce bignum.h now it is only needed for scriptnum_tests ccc84e0963
  3. gmaxwell commented at 3:41 PM on May 9, 2014: contributor

    perhaps also move it to the test directory?

  4. laanwj commented at 3:49 PM on May 9, 2014: member

    See #4159

  5. Move bignum.h to test/ 7cd0af7cc2
  6. sipa commented at 3:57 PM on May 9, 2014: member

    @gmaxwell Done. @laanwj Dang, double work :)

  7. laanwj commented at 4:14 PM on May 9, 2014: member

    Well you also slimmed bignum.h down, so let's go with this one.

  8. BitcoinPullTester commented at 5:25 PM on May 9, 2014: none

    Automatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/7cd0af7cc222d0694ce72e71458aef460698ee2c for binaries and test log. This test script verifies pulls every time they are updated. It, however, dies sometimes and fails to test properly. If you are waiting on a test, please check timestamps to verify that the test.log is moving at http://jenkins.bluematt.me/pull-tester/current/ Contact BlueMatt on freenode if something looks broken.

  9. sipa commented at 12:07 PM on May 10, 2014: member

    Alternatively, we could replace the scriptnum tests by data-driven ones, and get rid of bignum.h entirely.

  10. in src/protocol.h:None in 7cd0af7cc2
      13 | @@ -14,6 +14,7 @@
      14 |  #include "netbase.h"
      15 |  #include "serialize.h"
      16 |  #include "uint256.h"
      17 | +#include "version.h"
    


    Diapolo commented at 1:01 PM on May 10, 2014:

    Why is this needed here?


    sipa commented at 1:18 PM on May 10, 2014:

    Because of CADDR_TIME_VERSION. It was indirectly included through bignum.h.

  11. laanwj commented at 1:31 PM on May 10, 2014: member

    Having bignum in the tests directory is fine for now. At some point we could move to data-driven tests, but it seems low-priority as long as we need OpenSSL for other things.

  12. laanwj merged this on May 10, 2014
  13. laanwj closed this on May 10, 2014

  14. laanwj referenced this in commit 2653e00b12 on May 10, 2014
  15. 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-04-13 21:15 UTC

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