Crate algae_merkle

Source

Modules§

proofs

Structs§

Layer
MerkleDimension
MerkleTree
Node

Enums§

Payload

Traits§

MerkleShape

Functions§

add_hash
Combines two hashes into a single hash
combine_hash_str
Merges two hashes into a string
create_merkle_tree
Creates a Merkle tree from a slice of data
is_merkle_valid
Verify that the datum hash with a vector of proofs will produce the Merkle root. Also need the index of datum and leaf_size, the total number of leaves.
merkle_hash
Takes the hash of the given information to the second degree