corda / net.corda.core.contracts / HashAttachmentConstraint / <init>

<init>

HashAttachmentConstraint(attachmentId: SecureHash)

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.