[][src]Module sparse_merkle_tree::merge

Functions

hash_leaf

hash_leaf = hash(key | value) zero value represent delete the key, this function return zero for zero value

merge

Merge two hash this function optimized for ZERO_HASH if one of lhs or rhs is ZERO_HASH, this function just return another one