SIGBlockchain / project_aurum

SIG Blockchain blockchain project in Go
https://acm.cs.uic.edu/sigblockchain
MIT License
7 stars 0 forks source link

Merkle-Root Hash Comparison #350

Closed HarryL5004 closed 5 years ago

HarryL5004 commented 5 years ago

Package context: internal/hashing Branch: MerkleRootcmp

For this issue, add code to the function stub MerkleRootHashOf in internal/hashing. The function should return false if the given merkle-root hash is not the merkle root hash of the array of SHA-256 hashes given in the parameter.

A test for this function is provided in the test file of package hashing.

HarryL5004 commented 5 years ago

Completed