Skip to content

Encoding + Merkle

Luke Champine requested to merge merkle into master

Lots of ugly code for binary encoding of most types. I'll work on replacing this with a more sophisticated approach using reflection. Also swapped sha512 for sha256 and implemented MerkleRoot(). Need to add tests to make sure it's calculating the root correctly, especially for odd-length trees.

Merge request reports