public static class WireTransaction.Companion
Modifier and Type | Method and Description |
---|---|
java.util.List<net.corda.core.transactions.ComponentGroup> |
createComponentGroups(java.util.List<net.corda.core.contracts.StateRef> inputs,
java.util.List<? extends net.corda.core.contracts.TransactionState<? extends net.corda.core.contracts.ContractState>> outputs,
java.util.List<? extends net.corda.core.contracts.Command<?>> commands,
java.util.List<? extends net.corda.core.crypto.SecureHash> attachments,
Party notary,
TimeWindow timeWindow)
Deprecated.
|
SerializedBytes<net.corda.core.contracts.TransactionState> |
resolveStateRefBinaryComponent(StateRef stateRef,
ServicesForResolution services)
This is the main logic that knows how to retrieve the binary representation of
class StateRef s. |
public java.util.List<net.corda.core.transactions.ComponentGroup> createComponentGroups(java.util.List<net.corda.core.contracts.StateRef> inputs, java.util.List<? extends net.corda.core.contracts.TransactionState<? extends net.corda.core.contracts.ContractState>> outputs, java.util.List<? extends net.corda.core.contracts.Command<?>> commands, java.util.List<? extends net.corda.core.crypto.SecureHash> attachments, Party notary, TimeWindow timeWindow)
public SerializedBytes<net.corda.core.contracts.TransactionState> resolveStateRefBinaryComponent(StateRef stateRef, ServicesForResolution services)
This is the main logic that knows how to retrieve the binary representation of class StateRef
s.
For class ContractUpgradeWireTransaction
or class NotaryChangeWireTransaction
it knows how to recreate the output state in the
correct classloader independent of the node's classpath.