data class HashAttachmentConstraint : AttachmentConstraint
An AttachmentConstraint that verifies by hash. The state protected by this constraint can only be used in a transaction created with that version of the jar. And a receiving node will only accept it if a cordapp with that hash has (is) been deployed on the node.
<init> |
An AttachmentConstraint that verifies by hash. The state protected by this constraint can only be used in a transaction created with that version of the jar. And a receiving node will only accept it if a cordapp with that hash has (is) been deployed on the node. HashAttachmentConstraint(attachmentId: SecureHash) |
attachmentId |
val attachmentId: SecureHash |
isSatisfiedBy |
Returns whether the given contract attachment can be used with the ContractState associated with this constraint object. fun isSatisfiedBy(attachment: Attachment): Boolean |
disableHashConstraints |
val disableHashConstraints: Boolean |