dash/src/consensus
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
..
consensus.h Restore MedianTimePast for locktime. 2015-11-03 17:12:36 +00:00
merkle.cpp Switch blocks to a constant-space Merkle root/branch algorithm. 2015-11-27 15:36:52 +01:00
merkle.h Switch blocks to a constant-space Merkle root/branch algorithm. 2015-11-27 15:36:52 +01:00
params.h Make skipping BIP30 check chain agnostic 2015-11-02 20:11:55 -05:00
validation.h Add debug message to CValidationState for optional extra information 2015-08-06 09:47:01 +02:00