Pieter Wuille eece63fa72 Switch blocks to a constant-space Merkle root/branch algorithm.
This switches the Merkle tree logic for blocks to one that runs in constant (small) space.
The old code is moved to tests, and a new test is added that for various combinations of
block sizes, transaction positions to compute a branch for, and mutations:
 * Verifies that the old code and new code agree for the Merkle root.
 * Verifies that the old code and new code agree for the Merkle branch.
 * Verifies that the computed Merkle branch is valid.
 * Verifies that mutations don't change the Merkle root.
 * Verifies that mutations are correctly detected.
2015-11-27 15:36:52 +01:00
..
2015-03-06 15:54:53 +01:00
2015-11-04 23:46:47 +01:00
2015-11-27 14:08:40 +01:00
2015-11-27 12:59:37 +01:00
2015-11-19 13:32:14 +11:00
2015-07-23 21:10:22 +02:00
2015-06-04 19:34:18 +02:00
2015-08-03 22:58:30 +01:00
2015-10-13 01:04:39 -07:00
2015-10-27 17:39:42 +01:00
2015-05-02 15:23:59 +00:00
2015-10-20 17:06:28 +02:00
2015-07-23 21:10:22 +02:00
2015-05-01 11:21:27 +00:00
2015-11-02 21:27:15 -05:00
2015-10-22 17:57:48 +00:00
2015-07-30 19:56:00 -04:00
2015-10-27 17:39:42 +01:00
2015-09-03 10:59:18 +02:00
2015-11-13 11:10:48 +01:00
2015-11-27 14:08:40 +01:00
2015-11-13 00:12:53 +01:00
2015-05-06 18:37:49 +02:00
2015-08-17 12:15:32 -04:00
2015-11-27 13:29:54 +01:00
2015-05-01 11:21:27 +00:00
2015-11-20 16:07:12 -08:00
2015-11-20 16:07:12 -08:00
2015-11-27 13:29:54 +01:00
2015-11-27 12:59:37 +01:00
2015-11-20 16:07:12 -08:00
2015-09-03 10:59:18 +02:00
2015-05-16 17:59:23 -04:00
2015-05-14 01:02:01 -04:00
2015-08-10 22:06:27 +01:00
2015-11-12 17:58:15 +01:00
2015-11-27 13:20:39 +01:00