Creates an instance of DeepSparseMerkleSubTree.
merkle root
Optional options: { hasher: The hash function to use, defaults to PoseidonHasherFunc; hashKey: whether to hash the key, the default is true; hashValue: whether to hash the value, the default is true.
DeepSparseMerkleSubTree
Private configPrivate hasherPrivate keyPrivate nodePrivate rootPrivate valuePrivate valueAdd a branch to the tree, a branch is generated by smt.prove.
Optional value: VOptional ignoreInvalidProof: boolean = falsewhether to throw an error when proof is invalid
DeepSparseMerkleSubTree
Private getPrivate getOptional value: VCreate a merkle proof for a key against the current root.
{SparseMerkleProof}
DeepSparseMerkleSubTree
DeepSparseMerkleSubTree is a deep sparse merkle subtree for working on only a few leafs.
DeepSparseMerkleSubTree