xmr-rs / xmr

Monero node.
Apache License 2.0
30 stars 9 forks source link

Move `H256::tree_hash` to `Block`. #9

Open jeandudey opened 6 years ago

jeandudey commented 6 years ago

This function calculates the merkle tree root hash and shouldn't be in H256::tree_hash, possibly should be renamed to something like merkle_root_hash or a more descriptive one.