aboutsummaryrefslogtreecommitdiff
path: root/src/test/compilerbug_tests.cpp
diff options
context:
space:
mode:
authorsoroosh-sdi <soroosh.sardari@gmail.com>2019-09-13 18:45:26 +0430
committersoroosh-sdi <soroosh.sardari@gmail.com>2019-09-16 23:36:43 +0430
commit8573429d46f1e014663695e95109c10dfe4d54c9 (patch)
treea2af70c15d8c51571d7dd722012253d05cd00c75 /src/test/compilerbug_tests.cpp
parent08bb4c31563505a30a9b7dd8e7ed98966d2c8494 (diff)
test: add some unit tests for merkle.cpp
following situations are covered: - empty block - one Tx - Merkle root of a block with odd Txs should not change with repeating last one - Merkle root is computed with combining Merkle root of left subtree and right subtree - block witness is Merkle root of a block when setting first Tx to zero. Signed-off-by: soroosh-sdi <soroosh.sardari@gmail.com>
Diffstat (limited to 'src/test/compilerbug_tests.cpp')
0 files changed, 0 insertions, 0 deletions