Pieter Wuille
f5857e5cb5
Inline signature serializer
...
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.
2013-09-28 18:37:00 +02:00
..
2013-08-20 15:13:34 +02:00
2013-09-10 22:26:00 +00:00
2013-09-24 16:10:38 +02:00
2013-09-28 18:37:00 +02:00
2013-09-18 07:07:41 -04:00
2013-09-18 20:39:25 +10:00
2013-09-18 20:39:25 +10:00
2013-09-18 20:39:25 +10:00
2013-03-19 15:16:30 -04:00
2013-05-30 05:20:23 +02:00
2013-07-15 01:05:25 +02:00
2013-04-12 12:17:28 +02:00
2013-08-22 11:05:45 +10:00
2013-09-22 16:44:35 -07:00
2013-09-12 22:53:54 -04:00
2013-08-20 02:27:26 -07:00
2013-08-20 02:27:26 -07:00
2013-08-15 16:40:03 -07:00
2013-08-22 11:05:44 +10:00
2013-08-20 17:30:33 +10:00
2013-05-24 11:10:53 -04:00
2013-04-03 19:57:13 -04:00
2013-09-05 21:31:03 -04:00
2013-09-05 21:31:03 -04:00
2013-09-18 20:39:25 +10:00
2013-09-24 14:11:20 +02:00
2013-07-24 22:35:44 +02:00
2013-05-30 05:20:21 +02:00
2013-09-18 20:39:25 +10:00
2013-06-19 16:28:52 +02:00
2013-06-24 00:56:45 +02:00
2013-06-24 00:56:45 +02:00
2013-09-18 20:39:25 +10:00
2013-07-04 17:19:36 +02:00
2013-09-20 09:30:41 +02:00
2013-07-15 01:05:25 +02:00
2013-05-30 05:20:21 +02:00
2013-05-30 05:20:21 +02:00
2013-09-18 20:39:25 +10:00
2013-09-18 20:39:25 +10:00
2013-04-01 11:56:22 -04:00
2013-09-25 15:48:11 +02:00
2013-09-25 15:48:11 +02:00
2013-09-16 12:53:11 -04:00
2013-09-16 12:53:11 -04:00
2013-09-25 15:48:11 +02:00
2013-09-25 15:48:11 +02:00
2013-09-18 20:39:25 +10:00
2013-09-18 20:39:25 +10:00
2013-09-18 20:39:25 +10:00
2013-09-05 21:31:03 -04:00
2013-09-18 20:39:25 +10:00
2013-09-18 20:39:25 +10:00
2013-06-19 16:28:52 +02:00
2013-09-12 22:53:54 -04:00
2013-09-18 20:39:25 +10:00
2013-08-24 00:45:17 -04:00
2013-06-19 16:28:52 +02:00
2013-09-22 16:44:35 -07:00
2013-09-12 22:54:43 -04:00
2013-09-28 18:37:00 +02:00
2013-09-23 14:23:14 -07:00
2013-03-29 23:56:26 +01:00
2013-09-18 20:39:25 +10:00
2013-06-25 16:54:58 -07:00
2013-09-18 20:39:25 +10:00
2013-02-22 09:01:30 -08:00
2013-04-03 19:58:47 -04:00
2013-09-18 20:39:25 +10:00
2013-09-20 10:49:34 +02:00
2013-09-18 20:39:25 +10:00
2013-06-29 14:16:50 +02:00
2013-09-20 10:49:34 +02:00
2013-09-18 20:39:25 +10:00
2013-09-18 20:39:25 +10:00
2013-08-22 16:18:25 +10:00