Documentation
¶
Overview ¶
In-memory Merkle Tree which implements an authenticated list.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var InternalSeparator = []byte("MT::InternalNode")
View Source
var LeafSeparator = []byte("MT::LeafNode")
View Source
var MerklePlaceholderDigest = Digest([]byte("MERKLE_PLACEHOLDER_HASH_________"))
Functions ¶
func MaxProofLength ¶
MaxProofLength returns the maximum possible length of a Merkle proof (i.e. number of sibling digests) for a tree with the given number of leaves. This is an upper bound on the proof length, not necessarily the exact length of all proofs for a given leaf count.
Types ¶
Click to show internal directories.
Click to hide internal directories.