public static class TraversableTransaction.DefaultImpls
Interface implemented by WireTransaction and FilteredLeaves. Property traversableList assures that we always calculate hashes in the same order, lets us define which fields of WireTransaction will be included in id calculation or partial merkle tree building.
Modifier and Type | Method and Description |
---|---|
static java.util.List<net.corda.core.crypto.SecureHash> |
calculateLeavesHashes(TraversableTransaction $this) |
static java.util.List<java.lang.Object> |
getTraversableList(TraversableTransaction $this)
Traversing transaction fields with a list function over transaction contents. Used for leaves hashes calculation
and user provided filtering and checking of filtered transaction.
|
public static java.util.List<java.lang.Object> getTraversableList(TraversableTransaction $this)
Traversing transaction fields with a list function over transaction contents. Used for leaves hashes calculation and user provided filtering and checking of filtered transaction.
public static java.util.List<net.corda.core.crypto.SecureHash> calculateLeavesHashes(TraversableTransaction $this)