mirror of
https://github.com/corda/corda.git
synced 2025-01-31 00:24:59 +00:00
4799df9b80
Contract class version non-downgrade rule is check by LedgerTransaction.verify(). TransactionBuilder.toWireTransaction(services: ServicesForResolution) selects attachments for the transaction which obey non downgrade rule. New ServiceHub method loadAttachmentConstraint(stateRef: StateRef, forContractClassName: ContractClassName? = null) retrieves the attachment contract related to transaction output states of given contract class name.