1. 22 Oct, 2013 1 commit
  2. 28 Sep, 2013 1 commit
    • Pieter Wuille's avatar
      Inline signature serializer · 705c2a17
      Pieter Wuille authored
      Instead of building a full copy of a CTransaction being signed, and
      then modifying bits and pieces until its fits the form necessary
      for computing the signature hash, use a wrapper serializer that
      only serializes the necessary bits on-the-fly.
      
      This makes it easier to see which data is actually being hash,
      reduces load on the heap, and also marginally improves performances
      (around 3-4us/sigcheck here). The performance improvements are much
      larger for large transactions, though.
      
      The old implementation of SignatureHash is moved to a unit tests,
      to test whether the old and new algorithm result in the same value
      for randomly-constructed transactions.
      705c2a17
  3. 16 Sep, 2013 1 commit
    • Cory Fields's avatar
      included-tests: generate binary data from test files for inclusion into test binaries · 09cc4490
      Cory Fields authored
      This change moves test data into the binaries rather than reading them from
      the disk at runtime.
      
      Advantages:
      - Tests become distributable
      - Cross-compile friendly. Build on one machine and execute in an arbitrary
        location on another.
      - Easier testing for backports. Users can verify that tests pass without having
        to track down corresponding test data.
      - More trustworthy test results and easier quality assurance as tests make
        fewer assumptions about their environment.
      - Tests could theoretically run at client/daemon startup and exit on failure.
      
      Disadvantages:
      - Required 'hexdump' build-dependency. This is a standard bsd tool that should
        be usable everywhere. It is likely already installed on all build-machines.
      - Tests can no longer be fudged after build by altering test-data.
      09cc4490
  4. 10 Sep, 2013 1 commit
  5. 25 Aug, 2013 1 commit
    • Peter Todd's avatar
      Document and test OP_RESERVED weirdness · b98c93e6
      Peter Todd authored
      Seems it was forgotten about when IsPushOnly() and the unittests were
      written. A particular oddity is that OP_RESERVED doesn't count towards
      the >201 opcode limit unlike every other named opcode.
      b98c93e6
  6. 23 Jul, 2013 1 commit
  7. 30 May, 2013 1 commit
  8. 15 Nov, 2012 1 commit
    • Pieter Wuille's avatar
      Introduce script verification flags · 31508129
      Pieter Wuille authored
      These flags select features to be enabled/disabled during script
      evaluation/checking, instead of several booleans passed along.
      Currently these flags are defined:
      * SCRIPT_VERIFY_P2SH: enable BIP16-style subscript evaluation
      * SCRIPT_VERIFY_STRICTENC: enforce strict adherence to pubkey/sig encoding standards.
      31508129
  9. 21 Oct, 2012 1 commit
  10. 20 Sep, 2012 1 commit
  11. 05 Jul, 2012 1 commit
    • Gavin Andresen's avatar
      Implement raw transaction RPC calls · 7d5e2f6b
      Gavin Andresen authored
      Implement listunspent / getrawtransaction / createrawtransaction /
      signrawtransaction, to support creation and
      signing-on-multiple-device multisignature transactions.
      7d5e2f6b
  12. 24 May, 2012 2 commits
  13. 26 Apr, 2012 1 commit
  14. 21 Apr, 2012 1 commit
  15. 20 Feb, 2012 1 commit
  16. 13 Jan, 2012 1 commit
  17. 19 Dec, 2011 3 commits
  18. 26 Aug, 2011 1 commit
  19. 08 Aug, 2011 1 commit