com.r3corda.core.contracts / TransactionForVerification / verify

verify

fun verify(): Unit

Verifies that the transaction is valid:

TODO: Move this out of the core data structure definitions, once unit tests are more cleanly separated.



Exceptions

TransactionVerificationException - if a contract throws an exception (the original is in the cause field) or the transaction has references to more than one Notary