Creates an instance of DeepMerkleSubTree.
DeepMerkleSubTree
Private
hashPrivate
hasherPrivate
heightPrivate
nodePrivate
rootPrivate
valuePrivate
valueAdd a branch to the tree, a branch is generated by smt.prove.
Optional
value: VOptional
ignoreInvalidProof: boolean = falseDeepMerkleSubTree
Private
getOptional
value: VCheck whether there is a corresponding key and value in the tree
{boolean}
DeepMerkleSubTree
Create a merkle proof for a key against the current root.
{BaseMerkleProof}
DeepMerkleSubTree
Update a new value for a key in the tree and return the new root of the tree.
Optional
value: V{Field}
DeepMerkleSubTree
DeepMerkleSubTree is a deep merkle subtree for working on only a few leafs.
DeepMerkleSubTree