Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-06-21 | Add CMutableTransaction and make CTransaction immutable. | Pieter Wuille | |
In addition, introduce a cached hash inside CTransaction, to prevent recalculating it over and over again. | |||
2014-03-31 | add checks for deserialization errors | Manuel Araoz | |
2014-03-31 | Add code generating data/sighash.json test data | Manuel Araoz | |
2014-03-31 | Add sighash tests from data file | Manuel Araoz | |
2014-03-18 | Add licenses for tests and test data | Wladimir J. van der Laan | |
- Add license headers to source files (years based on commit dates) in `src/test` as well as `qa` - Add `README.md` to `src/test/data` specifying MIT license Fixes #3848 | |||
2013-09-28 | Inline signature serializer | Pieter Wuille | |
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. |