Expand description
merkle_root contains types and methods for building and working with merkle trees.
Structs§
- Merkle
Tree - A
MerkleTreecontains levels of hashes that can be used to verify the integrity of data. - Merkle
Tree Builder - A
MerkleTreeBuildergenerates aMerkleTreefrom one or more write calls. - Merkle
Tree Writer - A
MerkleTreeWriterwraps aMerkleTreeBuilderand another type that implementsstd::io::Write.
Enums§
Constants§
- BLOCK_
SIZE - The size of a single block of data (or hashes), in bytes.
Functions§
- hash_
block - Compute the merkle hash of a block of data.
- hash_
hashes - Compute the merkle hash of a block of hashes.