Creates a new tree.
The class of the tree to be instantiated.
Rest
A database used to store the Merkle tree data.
A hasher used to compute hash paths.
Name of the tree.
Depth of the tree.
A number of leaves that are prefilled with values.
The newly created tree.
Creates a new tree.