ReceiveFinalityFlow

constructor(otherSideSession: FlowSession, expectedTxId: SecureHash? = null, statesToRecord: StatesToRecord = ONLY_RELEVANT)


constructor(otherSideSession: FlowSession, expectedTxId: SecureHash? = null, statesToRecord: StatesToRecord = ONLY_RELEVANT, handlePropagatedNotaryError: Boolean? = null)

Parameters

otherSideSession

The session which is providing the transaction to record.

expectedTxId

Expected ID of the transaction that's about to be received. This is typically retrieved from SignTransactionFlow. Setting it to null disables the expected transaction ID check.

statesToRecord

Which states to commit to the vault. Defaults to StatesToRecord.ONLY_RELEVANT.

handlePropagatedNotaryError

Whether to catch and propagate Double Spend exception to peers.