corda / net.corda.testing.node / MockServices / recordTransactions

recordTransactions

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

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.

Parameters

txs - The transactions to record.

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