dogecoin/src/primitives
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
..
block.cpp Switch blocks to a constant-space Merkle root/branch algorithm. 2015-11-27 15:36:52 +01:00
block.h Switch blocks to a constant-space Merkle root/branch algorithm. 2015-11-27 15:36:52 +01:00
transaction.cpp Resolve issue 3166. 2015-07-30 19:56:00 -04:00
transaction.h transaction_tests: Be more strict checking dust 2015-11-09 21:00:16 +01:00