FinalityFlow

constructor(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.


constructor(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.


constructor(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.


constructor(transaction: SignedTransaction, sessions: Collection<FlowSession>, observerSessions: Collection<FlowSession>)


constructor(transaction: SignedTransaction, extraRecipients: Set<Party>, progressTracker: ProgressTracker)
constructor(transaction: SignedTransaction, extraRecipients: Set<Party>)
constructor(transaction: SignedTransaction)
constructor(transaction: SignedTransaction, progressTracker: ProgressTracker)

Deprecated

It is unsafe to use this constructor as it requires nodes to automatically accept notarised transactions without first checking their relevancy. Instead, use one of the constructors that requires only FlowSessions.


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

Deprecated

It is unsafe to use this constructor as it requires nodes to automatically accept notarised transactions without first checking their relevancy. Instead, use one of the constructors that requires only FlowSessions.

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.