You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/CHANGELOG-3.0.0.md
+134
Original file line number
Diff line number
Diff line change
@@ -48,4 +48,138 @@ data class SignatureData(
48
48
49
49
---
50
50
51
+
### SendTransactionStep _Object_
52
+
53
+
**Module:** onixlabs-corda-core-workflow
54
+
55
+
**Package:** io.onixlabs.corda.core.workflow
56
+
57
+
Represents a progress tracker step indicating that a signed transaction is being sent.
58
+
59
+
```kotlin
60
+
object SendTransactionStep : Step
61
+
```
62
+
63
+
### Remarks
64
+
65
+
The `publishTransaction` extension function uses this as the default `progressTrackerStep` argument, however you can replace it with your own progress tracker step.
66
+
67
+
---
68
+
69
+
### ReceiveTransactionStep _Object_
70
+
71
+
**Module:** onixlabs-corda-core-workflow
72
+
73
+
**Package:** io.onixlabs.corda.core.workflow
74
+
75
+
Represents a progress tracker step indicating that a signed transaction is being received.
76
+
77
+
```kotlin
78
+
object SendTransactionStep : Step
79
+
```
80
+
81
+
### Remarks
82
+
83
+
The `publishTransactionHandler` extension function uses this as the default `progressTrackerStep` argument, however you can replace it with your own progress tracker step.
84
+
85
+
---
86
+
87
+
### publishTransaction _Extension Function_
88
+
89
+
**Module:** onixlabs-corda-core-workflow
90
+
91
+
**Package:** io.onixlabs.corda.core.workflow
92
+
93
+
Publishes a `SignedTransaction` to the specified flow sessions.
94
+
95
+
```kotlin
96
+
@Suspendable
97
+
funFlowLogic<*>.publishTransaction(
98
+
transaction:SignedTransaction,
99
+
sessions:Set<FlowSession>,
100
+
progressTrackerStep:Step = SendTransactionStep
101
+
): SignedTransaction
102
+
```
103
+
104
+
#### Remarks
105
+
106
+
To use this function, `SendTransactionStep` will need to be evident in your progress tracker, unless you replace the default argument with your own progress tracker step.
To use this function, `ReceiveTransactionStep` will need to be evident in your progress tracker, unless you replace the default argument with your own progress tracker step.
> This API exists in version 2.1.0 however in version 3.0.0 there are two notable changes:
155
+
>
156
+
> 1. The `sessions` parameter provides a default `emptyList()` argument; useful for finalising local transactions.
157
+
> 2.`SendStatesToRecordStep` only needs to be evident in your progress tracker when finalising transactions with counter-parties. For local transactions, this progress tracker step can be omitted.
158
+
159
+
---
160
+
161
+
### StatesToRecordBySession _Class_
162
+
163
+
**Module:** onixlabs-corda-core-workflow
164
+
165
+
**Package:** io.onixlabs.corda.core.workflow
166
+
167
+
Represents a mapping of `FlowSession` to `StatesToRecord`, allowing a transaction initiator to specify how each counter-party should record the states of a transaction.
> This API exists in version 2.1.0 however in version 3.0.0, there are two notable changes:
179
+
>
180
+
> 1.`addSession` has been renamed to `setSessionStatesToRecord`. If a flow session already exists in the underlying map, this function will overwrite its `StatesToRecord` value. If a flow session doesn't exist in the underlying map, this function will add the flow session to the underlying map with the specified `StatesToRecord` value.
181
+
> 2.`addMissionSession` has been renamed to `addSessionStatesToRecord`. If a flow session already exists in the underlying map, this function will ignore the addition. If a flow session doesn't exist in the underlying map, this function will add the flow session to the underlying map with the specified `StatesToRecord` value.
0 commit comments