PartialMerkleTree.PartialTree
Keywords: net.corda.core.crypto.PartialMerkleTree.PartialTree class
Date: 2023-09-18

net.corda.core.crypto

## Class PartialMerkleTree.PartialTree

- net.corda.core.crypto.PartialMerkleTree.PartialTree

- Enclosing class:
    PartialMerkleTree

      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.