diff --git a/docs/build/html/_sources/index.txt b/docs/build/html/_sources/index.txt index 91fd12c544..a11b6fcd76 100644 --- a/docs/build/html/_sources/index.txt +++ b/docs/build/html/_sources/index.txt @@ -37,7 +37,7 @@ Read on to learn: :maxdepth: 2 :caption: Tutorials - tutorial + tutorial_contract protocol-state-machines oracles diff --git a/docs/build/html/_sources/tutorial.txt b/docs/build/html/_sources/tutorial_contract.txt similarity index 100% rename from docs/build/html/_sources/tutorial.txt rename to docs/build/html/_sources/tutorial_contract.txt diff --git a/docs/build/html/api/core.messaging/-messaging-service/index.html b/docs/build/html/api/core.messaging/-messaging-service/index.html index 22be71d9ac..367d2c8140 100644 --- a/docs/build/html/api/core.messaging/-messaging-service/index.html +++ b/docs/build/html/api/core.messaging/-messaging-service/index.html @@ -90,7 +90,7 @@ take the registration object, unlike the callback to send -fun MessagingService.send(topic: String, to: MessageRecipients, obj: Any): Unit +fun MessagingService.send(topic: String, obj: Any, to: MessageRecipients): Unit diff --git a/docs/build/html/api/core.messaging/index.html b/docs/build/html/api/core.messaging/index.html index 842b8f464b..920b1e6735 100644 --- a/docs/build/html/api/core.messaging/index.html +++ b/docs/build/html/api/core.messaging/index.html @@ -114,7 +114,7 @@ take the registration object, unlike the callback to send -fun MessagingService.send(topic: String, to: MessageRecipients, obj: Any): Unit +fun MessagingService.send(topic: String, obj: Any, to: MessageRecipients): Unit diff --git a/docs/build/html/api/core.messaging/send.html b/docs/build/html/api/core.messaging/send.html index 4b0b0475bb..d073f417e6 100644 --- a/docs/build/html/api/core.messaging/send.html +++ b/docs/build/html/api/core.messaging/send.html @@ -7,8 +7,8 @@ core.messaging / send

send

- -fun MessagingService.send(topic: String, to: MessageRecipients, obj: Any): Unit
+ +fun MessagingService.send(topic: String, obj: Any, to: MessageRecipients): Unit


diff --git a/docs/build/html/api/core.node.subsystems/-artemis-messaging-service/index.html b/docs/build/html/api/core.node.subsystems/-artemis-messaging-service/index.html index 71604a87c0..fc080f093b 100644 --- a/docs/build/html/api/core.node.subsystems/-artemis-messaging-service/index.html +++ b/docs/build/html/api/core.node.subsystems/-artemis-messaging-service/index.html @@ -186,7 +186,7 @@ take the registration object, unlike the callback to send -fun MessagingService.send(topic: String, to: MessageRecipients, obj: Any): Unit +fun MessagingService.send(topic: String, obj: Any, to: MessageRecipients): Unit diff --git a/docs/build/html/api/core/index.html b/docs/build/html/api/core/index.html index 634961ba71..c8e4e9d485 100644 --- a/docs/build/html/api/core/index.html +++ b/docs/build/html/api/core/index.html @@ -533,6 +533,13 @@ avoid potential bugs where the value is used in a context where negative numbers +verifyMoveCommands + +fun <T : CommandData> verifyMoveCommands(inputs: List<OwnableState>, tx: TransactionForVerification): Unit

Simple functionality for verifying a move command. Verifies that each input has a signature from its owning key.

+ + + + verifyToLedgerTransaction fun SignedTransaction.verifyToLedgerTransaction(identityService: IdentityService, attachmentStorage: AttachmentStorage): LedgerTransaction

Calls verify to check all required signatures are present, and then uses the passed IdentityService to call diff --git a/docs/build/html/api/core/verify-move-commands.html b/docs/build/html/api/core/verify-move-commands.html new file mode 100644 index 0000000000..573ce80bb3 --- /dev/null +++ b/docs/build/html/api/core/verify-move-commands.html @@ -0,0 +1,19 @@ + + +verifyMoveCommands - + + + +core / verifyMoveCommands
+
+

verifyMoveCommands

+ +inline fun <reified T : CommandData> verifyMoveCommands(inputs: List<OwnableState>, tx: TransactionForVerification): Unit
+

Simple functionality for verifying a move command. Verifies that each input has a signature from its owning key.

+

Parameters

+ +T - the type of the move command
+
+
+ + diff --git a/docs/build/html/api/demos.protocols/-exit-server-protocol/-broadcast/index.html b/docs/build/html/api/demos.protocols/-exit-server-protocol/-broadcast/index.html index 079c2e016e..335307f2ee 100644 --- a/docs/build/html/api/demos.protocols/-exit-server-protocol/-broadcast/index.html +++ b/docs/build/html/api/demos.protocols/-exit-server-protocol/-broadcast/index.html @@ -91,8 +91,8 @@ progress.

receive -fun <T : Any> receive(topic: String, sessionIDForReceive: Long, clazz: Class<T>): UntrustworthyData<T>
-fun <T : Any> receive(topic: String, sessionIDForReceive: Long): UntrustworthyData<T> +fun <T : Any> receive(topic: String, sessionIDForReceive: Long): UntrustworthyData<T>
+fun <T : Any> receive(topic: String, sessionIDForReceive: Long, clazz: Class<T>): UntrustworthyData<T> diff --git a/docs/build/html/api/demos/-trader-demo-protocol-buyer/index.html b/docs/build/html/api/demos/-trader-demo-protocol-buyer/index.html index c362be7371..3e261ea8f5 100644 --- a/docs/build/html/api/demos/-trader-demo-protocol-buyer/index.html +++ b/docs/build/html/api/demos/-trader-demo-protocol-buyer/index.html @@ -98,8 +98,8 @@ progress.

receive -fun <T : Any> receive(topic: String, sessionIDForReceive: Long): UntrustworthyData<T>
-fun <T : Any> receive(topic: String, sessionIDForReceive: Long, clazz: Class<T>): UntrustworthyData<T> +fun <T : Any> receive(topic: String, sessionIDForReceive: Long, clazz: Class<T>): UntrustworthyData<T>
+fun <T : Any> receive(topic: String, sessionIDForReceive: Long): UntrustworthyData<T> diff --git a/docs/build/html/api/demos/-trader-demo-protocol-seller/index.html b/docs/build/html/api/demos/-trader-demo-protocol-seller/index.html index 0e191d15a6..529de8fcab 100644 --- a/docs/build/html/api/demos/-trader-demo-protocol-seller/index.html +++ b/docs/build/html/api/demos/-trader-demo-protocol-seller/index.html @@ -122,8 +122,8 @@ progress.

receive -fun <T : Any> receive(topic: String, sessionIDForReceive: Long, clazz: Class<T>): UntrustworthyData<T>
-fun <T : Any> receive(topic: String, sessionIDForReceive: Long): UntrustworthyData<T> +fun <T : Any> receive(topic: String, sessionIDForReceive: Long): UntrustworthyData<T>
+fun <T : Any> receive(topic: String, sessionIDForReceive: Long, clazz: Class<T>): UntrustworthyData<T> diff --git a/docs/build/html/api/index-outline.html b/docs/build/html/api/index-outline.html index 7b9b811bc3..2b43a39133 100644 --- a/docs/build/html/api/index-outline.html +++ b/docs/build/html/api/index-outline.html @@ -7445,6 +7445,7 @@ fun <T> <ERROR CLASS><T>.then(executor: Executor, body: () -> Unit): <ERROR CLASS>
infix fun <T> <ERROR CLASS><T>.then(body: () -> Unit): <ERROR CLASS><T>
fun WireTransaction.toLedgerTransaction(identityService: IdentityService, attachmentStorage: AttachmentStorage): LedgerTransaction
+inline fun <reified T : CommandData> verifyMoveCommands(inputs: List<OwnableState>, tx: TransactionForVerification): Unit
fun SignedTransaction.verifyToLedgerTransaction(identityService: IdentityService, attachmentStorage: AttachmentStorage): LedgerTransaction
@@ -7886,7 +7887,7 @@ fun MessagingService.runOnNextMessage(topic: String = "", executor: Executor? = null, callback: (Message) -> Unit): Unit
-fun MessagingService.send(topic: String, to: MessageRecipients, obj: Any): Unit
+fun MessagingService.send(topic: String, obj: Any, to: MessageRecipients): Unit
diff --git a/docs/build/html/api/protocols/-two-party-deal-protocol/-secondary/index.html b/docs/build/html/api/protocols/-two-party-deal-protocol/-secondary/index.html index a0b72d2ad4..3c3d8716ff 100644 --- a/docs/build/html/api/protocols/-two-party-deal-protocol/-secondary/index.html +++ b/docs/build/html/api/protocols/-two-party-deal-protocol/-secondary/index.html @@ -152,8 +152,8 @@ progress.

receive -fun <T : Any> receive(topic: String, sessionIDForReceive: Long, clazz: Class<T>): UntrustworthyData<T>
-fun <T : Any> receive(topic: String, sessionIDForReceive: Long): UntrustworthyData<T> +fun <T : Any> receive(topic: String, sessionIDForReceive: Long): UntrustworthyData<T>
+fun <T : Any> receive(topic: String, sessionIDForReceive: Long, clazz: Class<T>): UntrustworthyData<T> diff --git a/docs/build/html/api/protocols/-two-party-trade-protocol/-buyer/index.html b/docs/build/html/api/protocols/-two-party-trade-protocol/-buyer/index.html index dfb5064efb..d4146a7ebd 100644 --- a/docs/build/html/api/protocols/-two-party-trade-protocol/-buyer/index.html +++ b/docs/build/html/api/protocols/-two-party-trade-protocol/-buyer/index.html @@ -140,8 +140,8 @@ progress.

receive -fun <T : Any> receive(topic: String, sessionIDForReceive: Long, clazz: Class<T>): UntrustworthyData<T>
-fun <T : Any> receive(topic: String, sessionIDForReceive: Long): UntrustworthyData<T> +fun <T : Any> receive(topic: String, sessionIDForReceive: Long): UntrustworthyData<T>
+fun <T : Any> receive(topic: String, sessionIDForReceive: Long, clazz: Class<T>): UntrustworthyData<T> diff --git a/docs/build/html/codestyle.html b/docs/build/html/codestyle.html index b6acc34b5a..d4f766b4ef 100644 --- a/docs/build/html/codestyle.html +++ b/docs/build/html/codestyle.html @@ -97,7 +97,7 @@

Tutorials

diff --git a/docs/build/html/genindex.html b/docs/build/html/genindex.html index 0223903aae..e33296256b 100644 --- a/docs/build/html/genindex.html +++ b/docs/build/html/genindex.html @@ -96,7 +96,7 @@

Tutorials

diff --git a/docs/build/html/index.html b/docs/build/html/index.html index f7f1713229..60a2b393d7 100644 --- a/docs/build/html/index.html +++ b/docs/build/html/index.html @@ -96,7 +96,7 @@

Tutorials

@@ -211,16 +211,16 @@ prove or disprove the following hypothesis:

TutorialsΒΆ