public TraversableTransaction
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 | Interface and Description |
---|---|
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 |
---|---|
java.util.List<net.corda.core.crypto.SecureHash> |
calculateLeavesHashes() |
java.util.List<net.corda.core.crypto.SecureHash> |
getAttachments() |
java.util.List<net.corda.core.contracts.Command> |
getCommands() |
java.util.List<net.corda.core.contracts.StateRef> |
getInputs() |
java.util.List<net.corda.core.crypto.CompositeKey> |
getMustSign() |
Party |
getNotary() |
java.util.List<net.corda.core.contracts.TransactionState> |
getOutputs() |
Timestamp |
getTimestamp() |
java.util.List<java.lang.Object> |
getTraversableList()
Traversing transaction fields with a list function over transaction contents. Used for leaves hashes calculation
and user provided filtering and checking of filtered transaction.
|
TransactionType |
getType() |
java.util.List<net.corda.core.contracts.StateRef> getInputs()
java.util.List<net.corda.core.crypto.SecureHash> getAttachments()
java.util.List<net.corda.core.contracts.TransactionState> getOutputs()
java.util.List<net.corda.core.contracts.Command> getCommands()
Party getNotary()
java.util.List<net.corda.core.crypto.CompositeKey> getMustSign()
TransactionType getType()
Timestamp getTimestamp()
java.util.List<java.lang.Object> getTraversableList()
Traversing transaction fields with a list function over transaction contents. Used for leaves hashes calculation and user provided filtering and checking of filtered transaction.
java.util.List<net.corda.core.crypto.SecureHash> calculateLeavesHashes()