Automatic Hash Constraint
Deprecated
The name is no longer valid as multiple constraints were added.
Replace with
AutomaticPlaceholderConstraint
Content copied to clipboard
Functions
Link copied to clipboard
fun AttachmentConstraint.canBeTransitionedFrom(input: AttachmentConstraint, attachment: ContractAttachment): Boolean
This method will be used in conjunction with NoConstraintPropagation. It is run during transaction verification when the contract is not annotated with NoConstraintPropagation. When constraints propagation is enabled, constraints set on output states need to follow certain rules with regards to constraints of input states.
Link copied to clipboard
Returns whether the given contract attachment can be used with the ContractState associated with this constraint object.