Batch insert multiple leaves into the tree.
Leaves to insert into the tree.
Height of the tree.
Height of the subtree.
If true, the uncommitted changes are included in the search.
Finds the index of the largest leaf whose value is less than or equal to the provided value.
The new value to be inserted into the tree.
If true, the uncommitted changes are included in the search.
The found leaf index and a flag indicating if the corresponding leaf's value is equal to newValue
.
A flag indicating if the corresponding leaf's value is equal to newValue
.
The index of the found leaf.
Gets the latest LeafData copy.
Index of the leaf of which to obtain the LeafData copy.
If true, the uncommitted changes are included in the search.
A copy of the leaf data at the given index or undefined if the leaf was not found.
Returns the value of a leaf at the specified index.
The index of the leaf value to be returned.
Set to true to include uncommitted updates in the data set.
Returns the sibling path for a requested leaf index.
The index of the leaf for which a sibling path is required.
Set to true to include uncommitted updates in the sibling path.
Exposes the underlying tree's update leaf method.
The hash to set at the leaf.
The index of the element.
Indexed merkle tree.