Receive Finality Flow
constructor(otherSideSession: FlowSession, expectedTxId: SecureHash? = null, statesToRecord: StatesToRecord = ONLY_RELEVANT)
constructor(otherSideSession: FlowSession, expectedTxId: SecureHash? = null, statesToRecord: StatesToRecord = ONLY_RELEVANT, handlePropagatedNotaryError: Boolean? = null)
Parameters
other Side Session
The session which is providing the transaction to record.
expected Tx Id
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.
states To Record
Which states to commit to the vault. Defaults to StatesToRecord.ONLY_RELEVANT.
handle Propagated Notary Error
Whether to catch and propagate Double Spend exception to peers.