Optional
root: FieldProtected
Optional
cachedProtected
dbProtected
hasherProtected
Readonly
maxProtected
sizeProtected
addGets the value at the given index.
The index of the leaf.
Indicates whether to include uncommitted changes.
Leaf value at the given index or undefined.
Returns a sibling path for the element at the given index.
The index of the element.
Indicates whether to get a sibling path incorporating uncommitted changes.
A sibling path for the element at the given index. Note: The sibling path is an array of sibling hashes, with the lowest hash (leaf hash) first, and the highest hash last.
Protected
write
A Merkle tree implementation that uses a LevelDB database to store the tree.