public static class PartialMerkleTree.PartialTree
The structure is a little different than that of Merkle Tree. Partial Tree might not be a full binary tree. Leaves represent either original Merkle tree leaves or cut subtree node with stored hash. We differentiate between the leaves that are included in a filtered transaction and leaves that just keep hashes needed for calculation. Reason for this approach: during verification it's easier to extract hashes used as a base for this tree.
Modifier and Type | Class and Description |
---|---|
static class |
PartialTree.IncludedLeaf |
static class |
PartialTree.Leaf |
static class |
PartialTree.Node |