recordTransactions

open override fun recordTransactions(statesToRecord: StatesToRecord, txs: Iterable<SignedTransaction>)

Stores the given SignedTransactions in the local transaction storage and then sends them to the vault for further processing if statesToRecord is not StatesToRecord.NONE. This is expected to be run within a database transaction.

As of platform version TWO_PHASE_FINALITY also performs signature verification and will throw an IllegalStateException with details of the cause of error upon failure. Of course, you should not be recording transactions to the ledger that are not fully signed. It is possible, but not recommended, to revert to non-signature verification behaviour by setting the system property "net.corda.recordtransaction.signature.verification.disabled" to true upon node start-up.

Parameters

txs

The transactions to record.

statesToRecord

how the vault should treat the output states of the transaction.


fun recordTransactions(txn: SignedTransaction, disableSignatureVerification: Boolean): <Error class: unknown class>
fun recordTransactions(txs: Iterable<SignedTransaction>, disableSignatureVerification: Boolean)