Uses of Class
io.crums.util.mrkl.Tree
| Package | Description |
|---|---|
| io.crums.util.mrkl |
-
Uses of Tree in io.crums.util.mrkl
Subclasses of Tree in io.crums.util.mrkl Modifier and Type Class Description classDeltaTreeA Merkle tree constructed from another with more leaves appended.classFixedLeafTreeA more compact Tree appropriate if the leaves are fixed-width and it'all fits under 2 gigabytes.classFreeLeafTreeA Tree allowing variable length leaves.Methods in io.crums.util.mrkl that return Tree Modifier and Type Method Description TreeBuilder. build()Builds and returns the tree.TreeDeltaBuilder. build()TreeFixedLeafBuilder. build()protected TreeBuilder. packageTree()protected TreeFixedLeafBuilder. packageTree()TreeNode. tree()Methods in io.crums.util.mrkl with parameters of type Tree Modifier and Type Method Description static intDeltaTree. computeNewLeafCount(Tree base, byte[] deltaNodes)Infers and returns the number of leaves in the new tree given an array of deltas (additions) from a base tree.Constructors in io.crums.util.mrkl with parameters of type Tree Constructor Description DeltaBuilder(Tree tree)Constructs a copy-on-write instance.DeltaBuilder(Tree tree, boolean copyOnWrite)Creates a new instance.DeltaTree(Tree base, byte[] deltaNodes)Creates a new instance.Proof(Tree tree, int leafIndex)Tree(Tree copy)Copy constructor.