corda / net.corda.core.flows / FinalityFlow / <init>

<init>

FinalityFlow(transaction: SignedTransaction, extraRecipients: Set<Party>, progressTracker: ProgressTracker)
FinalityFlow(transaction: SignedTransaction, extraRecipients: Set<Party>)
FinalityFlow(transaction: SignedTransaction)
FinalityFlow(transaction: SignedTransaction, progressTracker: ProgressTracker) FinalityFlow(transaction: SignedTransaction, firstSession: FlowSession, vararg restSessions: FlowSession)

Notarise the given transaction and broadcast it to the given FlowSessions. This list must at least include all the non-local participants of the transaction. Sessions to non-participants can also be provided.

Parameters

transaction - What to commit.

FinalityFlow(transaction: SignedTransaction, sessions: Collection<FlowSession>, progressTracker: ProgressTracker = tracker())

Notarise the given transaction and broadcast it to all the participants.

Parameters

transaction - What to commit.

sessions - A collection of FlowSessions for each non-local participant of the transaction. Sessions to non-participants can also be provided.

FinalityFlow(transaction: SignedTransaction, sessions: Collection<FlowSession>, statesToRecord: StatesToRecord, progressTracker: ProgressTracker = tracker())

Notarise the given transaction and broadcast it to all the participants.

Parameters

transaction - What to commit.

sessions - A collection of FlowSessions for each non-local participant of the transaction. Sessions to non-participants can also be provided.

statesToRecord - Which states to commit to the vault.

FinalityFlow(transaction: SignedTransaction, sessions: Collection<FlowSession>, oldParticipants: Collection<Party>, progressTracker: ProgressTracker)

Notarise the given transaction and broadcast it to all the participants.

Parameters

transaction - What to commit.

sessions - A collection of FlowSessions for each non-local participant.

oldParticipants -

An optional collection of parties for participants who are still using the old API.

You will only need to use this parameter if you have upgraded your CorDapp from the V3 FinalityFlow API but are required to provide backwards compatibility with participants running V3 nodes. If you're writing a new CorDapp then this does not apply and this parameter should be ignored.