Merge rust-bitcoin/rust-bitcoin#711: Add unit test for bitcoin_merkle_root functions
e04795093f
Add unit test for bitcoin_merkle_root functions (Tobin Harding) Pull request description: We test `bitcoin_merkle_root` over in the `blockdata::block` module. Although the `bitcoin_merkle_root` and `bitcoin_merkle_root_inline` functions are almost identical there is enough index manipulation done that it is not immediately obvious that the code is error free. Add a unit test that verifies that the two functions return the same resulting merkle root. This was done in response to #394. ACKs for top commit: RCasatta: ACKe04795093f
Kixunil: ACKe04795093f
Tree-SHA512: 68a1cdb3612a9beb6359e3ced1b00aeee48354d9882f13ed56afe5e01062f81deeaad7b1ffb7c1110f5352170f5587704a98fb5304a9bad309ee283223bad22b
This commit is contained in:
commit
615a900c88
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue