From 4e0468333df168a4ba0ec33fadef367579a75364 Mon Sep 17 00:00:00 2001
From: Mike Hearn
Date: Tue, 9 Aug 2016 12:21:07 +0200
Subject: [PATCH] Regen docsite
---
docs/build/html/_sources/data-model.txt | 4 +-
.../build/html/_sources/running-the-demos.txt | 53 +-
.../html/_sources/transaction-data-types.txt | 25 +
.../build/html/_sources/tutorial-test-dsl.txt | 11 +-
docs/build/html/api/alltypes/index.html | 128 +-
...c-o-m-m-o-d-i-t-y_-p-r-o-g-r-a-m_-i-d.html | 15 +
.../-cash/-clauses/-group/clauses.html | 2 +-
.../-cash/-clauses/-group/if-matched.html | 3 -
.../-cash/-clauses/-group/if-not-matched.html | 3 -
.../-cash/-clauses/-group/index.html | 2 +-
.../-cash/-clauses/-issue/index.html | 2 +-
.../-clauses/-issue/required-commands.html | 5 +-
.../-cash/-state/deposit.html | 4 -
.../-cash/-state/exit-keys.html | 5 +-
.../-cash/-state/index.html | 4 +-
.../-cash/-state/participants.html | 11 +-
.../-cash/clauses.html | 2 +-
.../-cash/conserve-clause.html | 16 +
.../-cash/derive-state.html | 18 +
.../-cash/generate-exit-command.html | 15 +
.../-cash/generate-issue-command.html | 16 +
.../-cash/generate-move-command.html | 16 +
.../-cash/index.html | 44 +-
.../-clauses/-conserve-amount/-init-.html | 15 +
.../-clauses/-conserve-amount/index.html | 53 +
.../-clauses/-group/-init-.html | 16 +
.../-clauses/-group/clauses.html | 16 +
.../-clauses/-group/extract-groups.html | 17 +
.../-clauses/-group/if-matched.html | 18 +
.../-clauses/-group/if-not-matched.html | 18 +
.../-clauses/-group/index.html | 94 ++
.../-clauses/-issue/-init-.html | 15 +
.../-clauses/-issue/index.html | 70 +
.../-clauses/-issue/required-commands.html | 17 +
.../-commodity-contract/-clauses/index.html | 49 +
.../-commands/-exit/-init-.html | 16 +
.../-commands/-exit/amount.html | 16 +
.../-commands/-exit/index.html | 40 +
.../-commands/-issue/-init-.html | 16 +
.../-commands/-issue/index.html | 40 +
.../-commands/-issue/nonce.html | 16 +
.../-commands/-move/-init-.html | 20 +
.../-commands/-move/contract-hash.html | 18 +
.../-commands/-move/index.html | 45 +
.../-commodity-contract/-commands/index.html | 70 +
.../-commodity-contract/-init-.html | 19 +
.../-commodity-contract/-state/-init-.html | 18 +
.../-commodity-contract/-state/amount.html | 16 +
.../-commodity-contract/-state/contract.html | 43 +
.../-commodity-contract/-state/deposit.html | 18 +
.../-commodity-contract/-state/exit-keys.html | 17 +
.../-commodity-contract/-state/index.html | 104 ++
.../-state/issuance-def.html | 16 +
.../-commodity-contract/-state/move.html | 15 +
.../-commodity-contract/-state/owner.html | 17 +
.../-state/participants.html | 25 +
.../-commodity-contract/-state/to-string.html | 15 +
.../-state/with-new-owner.html | 17 +
.../-commodity-contract/clauses.html | 16 +
.../-commodity-contract/conserve-clause.html | 16 +
.../-commodity-contract/derive-state.html | 18 +
.../-commodity-contract/extract-commands.html | 16 +
.../generate-exit-command.html | 15 +
.../generate-issue-command.html | 16 +
.../-commodity-contract/generate-issue.html | 21 +
.../generate-move-command.html | 16 +
.../-commodity-contract/index.html | 130 ++
.../legal-contract-reference.html | 25 +
.../-commands/-exit/index.html | 8 +
.../-fungible-asset/-commands/-issue.html | 8 +
.../-fungible-asset/-commands/-move.html | 7 +
.../-fungible-asset/-commands/index.html | 6 +
.../-fungible-asset/index.html | 7 +
.../-init-.html | 2 +-
.../amount-missing.html | 2 +-
.../index.html | 15 +-
.../to-string.html | 15 +
.../-obligation/-clauses/-group/clauses.html | 2 +-
.../-clauses/-group/if-matched.html | 3 -
.../-clauses/-group/if-not-matched.html | 3 -
.../-obligation/-clauses/-group/index.html | 2 +-
.../-obligation/-clauses/-issue/index.html | 2 +-
.../-clauses/-issue/required-commands.html | 5 +-
.../-clauses/-set-lifecycle/if-matched.html | 3 -
.../-set-lifecycle/if-not-matched.html | 3 -
.../-clauses/-set-lifecycle/index.html | 2 +-
.../-set-lifecycle/required-commands.html | 5 +-
.../-clauses/-settle/if-matched.html | 3 -
.../-clauses/-settle/if-not-matched.html | 3 -
.../-obligation/-clauses/-settle/index.html | 2 +-
.../-clauses/-settle/required-commands.html | 5 +-
.../-verify-lifecycle/if-matched.html | 3 -
.../-verify-lifecycle/if-not-matched.html | 3 -
.../-verify-lifecycle/required-commands.html | 3 -
.../-obligation/clauses.html | 2 +-
.../-obligation/generate-exit.html | 32 +
.../-obligation/index.html | 16 +-
.../-on-ledger-asset/-init-.html | 25 +
.../-on-ledger-asset/conserve-clause.html | 15 +
.../-on-ledger-asset/derive-state.html | 18 +
.../generate-exit-command.html | 15 +
.../-on-ledger-asset/generate-exit.html | 32 +
.../generate-issue-command.html | 15 +
.../generate-move-command.html | 15 +
.../-on-ledger-asset/generate-spend.html | 22 +
.../-on-ledger-asset/index.html | 156 ++
.../com.r3corda.contracts.asset/index.html | 29 +-
.../kotlin.collections.-iterable/index.html | 34 +-
.../sum-cash-by.html | 4 +-
.../sum-cash-or-null.html | 2 +-
.../sum-cash-or-zero.html | 4 +-
.../sum-cash.html | 4 +-
.../sum-commodities-or-null.html | 16 +
.../sum-commodities-or-zero.html | 16 +
.../sum-commodities.html | 17 +
.../generate-exit.html | 32 +
.../generate-spend.html | 22 +
.../-abstract-conserve-amount/index.html | 22 +
.../-abstract-issue/index.html | 9 +-
.../-no-zero-sized-outputs/index.html | 2 +-
.../com.r3corda.contracts.clause/index.html | 4 +-
.../fill-with-some-test-cash.html | 10 +-
.../com.r3corda.contracts.testing/index.html | 5 +-
.../-abstract-group-clause/if-matched.html | 3 -
.../if-not-matched.html | 3 -
.../-clauses/-group/clauses.html | 2 +-
.../-clauses/-group/if-matched.html | 3 -
.../-clauses/-group/if-not-matched.html | 3 -
.../-clauses/-group/index.html | 2 +-
.../-clauses/-issue/required-commands.html | 3 -
.../-clauses/-move/required-commands.html | 3 -
.../-commercial-paper/clauses.html | 2 +-
.../-commercial-paper/index.html | 2 +-
.../-abstract-i-r-s-clause/if-matched.html | 3 -
.../if-not-matched.html | 3 -
.../-clause/-agree/index.html | 2 +-
.../-clause/-agree/required-commands.html | 5 +-
.../-clause/-fix/index.html | 2 +-
.../-clause/-fix/required-commands.html | 5 +-
.../-clause/-group/clauses.html | 2 +-
.../-clause/-group/if-matched.html | 3 -
.../-clause/-group/if-not-matched.html | 3 -
.../-clause/-group/index.html | 2 +-
.../-clause/-mature/index.html | 2 +-
.../-clause/-mature/required-commands.html | 5 +-
.../-clause/-pay/index.html | 2 +-
.../-clause/-pay/required-commands.html | 5 +-
.../-clause/-timestamped/if-matched.html | 3 -
.../-clause/-timestamped/if-not-matched.html | 3 -
.../-clause/-timestamped/index.html | 2 +-
.../-timestamped/required-commands.html | 5 +-
.../-interest-rate-swap/-state/index.html | 2 +-
.../-state/pretty-print.html | 2 +-
.../-interest-rate-swap/index.html | 2 +-
.../legal-contract-reference.html | 2 +-
.../-clause-verifier/index.html | 20 +-
.../-clause/index.html | 2 +-
.../-group-clause-verifier/index.html | 8 +
.../-group-clause.html | 6 +-
.../-group-verify/index.html | 2 +-
.../index.html | 2 +-
.../-amount/index.html | 9 +
.../-business-calendar/calendars.html | 2 -
.../-business-calendar/index.html | 6 -
.../-commodity/-init-.html | 14 +
.../-commodity/commodity-code.html | 15 +
.../-commodity/default-fraction-digits.html | 15 +
.../-commodity/display-name.html | 15 +
.../-commodity/get-instance.html | 15 +
.../-commodity/index.html | 82 +
.../-commodity/symbol.html | 15 +
.../com.r3corda.core.contracts/-f-c-o-j.html | 17 +
.../-issued/index.html | 11 +
.../-issued/to-string.html | 15 +
.../-ledger-transaction/-init-.html | 5 +-
.../-ledger-transaction/index.html | 24 +-
.../-ledger-transaction/inputs.html | 2 +-
.../-ledger-transaction/signers.html | 1 +
.../to-transaction-for-contract.html | 16 +
.../-ledger-transaction/verify.html | 23 +
.../-multilateral-nettable-state/index.html | 2 +-
.../-signed-transaction/index.html | 28 +-
.../verify-signatures.html | 12 +-
.../-transaction-for-contract/index.html | 12 -
.../index.html | 11 +
.../to-string.html | 15 +
.../-general/get-required-signers.html | 4 +-
.../-transaction-type/-general/index.html | 8 +-
.../-general/verify-transaction.html | 4 +-
.../-notary-change/get-required-signers.html | 4 +-
.../-notary-change/index.html | 10 +-
.../-notary-change/verify-transaction.html | 11 +-
.../get-required-signers.html | 4 +-
.../-transaction-type/index.html | 8 +-
.../-transaction-type/verify-signers.html | 4 +-
.../-transaction-type/verify-transaction.html | 4 +-
.../-transaction-type/verify.html | 4 +-
.../-contract-rejection/-init-.html | 2 +-
.../-contract-rejection/index.html | 4 +-
.../-invalid-notary-change/-init-.html | 2 +-
.../-invalid-notary-change/index.html | 4 +-
.../-more-than-one-notary/-init-.html | 2 +-
.../-more-than-one-notary/index.html | 4 +-
.../-signers-missing/-init-.html | 2 +-
.../-signers-missing/index.html | 4 +-
.../index.html | 2 +-
.../tx.html | 2 +-
.../-wire-transaction/index.html | 3 +-
.../com.r3corda.core.contracts/commodity.html | 15 +
.../api/com.r3corda.core.contracts/index.html | 66 +-
.../com.r3corda.core.contracts/issued by.html | 2 +
.../com.r3corda.core.contracts/issued-by.html | 2 +
.../kotlin.-int/-f-c-o-j.html | 15 +
.../kotlin.-int/index.html | 6 +
.../to-ledger-transaction.html | 22 +-
.../without-issuer.html | 18 +
.../-digital-signature/-init-.html | 2 +-
.../-digital-signature/-with-key/index.html | 18 +-
.../-digital-signature/index.html | 13 +-
.../-dummy-public-key/index.html | 6 +
.../-null-public-key/index.html | 6 +
.../-null-signature.html | 55 +
.../index.html | 7 +
.../register.html | 16 +
.../ed25519-curve.html | 15 +
.../entropy-to-key-pair.html | 17 +
.../api/com.r3corda.core.crypto/index.html | 38 +
.../java.security.-public-key/index.html | 6 +
.../to-base58-string.html | 15 +
.../kotlin.collections.-iterable/index.html | 21 +
.../to-strings-short.html | 15 +
.../parse-public-key-base58.html | 15 +
.../-message-handler-registration.html | 4 +-
.../-single-message-recipient.html | 6 +
.../-mock-services/-init-.html | 16 +
.../-mock-services/clock.html | 16 +
.../-mock-services/identity-service.html | 16 +
.../-mock-services/index.html | 142 ++
.../-mock-services/invoke-protocol-async.html | 20 +
.../key-management-service.html | 16 +
.../-mock-services/key.html | 15 +
.../-mock-services/network-map-cache.html | 16 +
.../-mock-services/network-service.html | 16 +
.../-mock-services/record-transactions.html | 21 +
.../-mock-services/scheduler-service.html | 16 +
.../-mock-services/storage-service.html | 16 +
.../-mock-services/wallet-service.html | 16 +
.../index.html | 8 +
.../-map-change-type/-added.html | 14 +
.../-map-change-type/-removed.html | 14 +
.../-map-change-type/index.html | 31 +
.../-map-change/-init-.html | 14 +
.../-network-map-cache/-map-change/index.html | 42 +
.../-network-map-cache/-map-change/node.html | 15 +
.../-network-map-cache/-map-change/type.html | 15 +
.../-network-map-cache/changed.html | 16 +
.../-network-map-cache/index.html | 24 +
.../-service-hub/index.html | 24 +-
.../-service-hub/load-state.html | 2 +-
.../-protocol-logic/index.html | 10 +-
.../index.html | 11 -
.../-ed25519-public-key-serializer/index.html | 11 -
.../-singleton-serialize-as-token/index.html | 7 +-
.../-ledger-d-s-l/index.html | 7 -
.../-init-.html | 2 +-
.../-test-ledger-d-s-l-interpreter/index.html | 26 +-
.../services.html | 15 +
.../transactions-to-verify.html | 15 +
.../transactions-unverified.html | 15 +
.../index.html | 6 +
.../services.html | 15 +
.../api/com.r3corda.core.testing/index.html | 11 +-
.../api/com.r3corda.core.testing/ledger.html | 16 +-
.../com.r3corda.core.testing/sign-all.html | 4 +-
.../-progress-tracker/index.html | 3 +-
.../-progress-tracker/top-level-tracker.html | 1 -
.../api/com.r3corda.core.utilities/index.html | 8 -
.../kotlin.-int/checked-add.html | 16 +
.../com.r3corda.core/kotlin.-int/index.html | 7 +
.../kotlin.-long/checked-add.html | 16 +
.../com.r3corda.core/kotlin.-long/index.html | 7 +
.../-broadcast/index.html | 4 +-
.../-states-query/index.html | 12 -
.../-i-r-s-simulation/index.html | 12 -
.../-simulation/index.html | 12 -
.../-trade-simulation/index.html | 12 -
.../-node/-init-.html | 5 +-
.../-node/index.html | 17 +-
.../-node/message-broker.html | 15 +
.../-node/messaging-server-addr.html | 15 +
.../-messaging-service-internal/index.html | 14 +-
.../-service-hub-internal/index.html | 16 +-
.../-fix-container/index.html | 6 -
.../-interpolating-rate-map/index.html | 6 -
.../-full-node-configuration/-init-.html | 14 +
.../artemis-address.html | 15 +
.../-full-node-configuration/basedir.html | 15 +
.../-full-node-configuration/clock.html | 15 +
.../-full-node-configuration/create-node.html | 15 +
.../export-j-m-xto.html | 16 +
.../extra-advertised-service-ids.html | 15 +
.../host-notary-service-locally.html | 15 +
.../-full-node-configuration/index.html | 119 ++
.../key-store-password.html | 16 +
.../-full-node-configuration/map-service.html | 15 +
.../messaging-server-address.html | 15 +
.../my-legal-name.html | 16 +
.../nearest-city.html | 16 +
.../trust-store-password.html | 16 +
.../-full-node-configuration/web-address.html | 15 +
.../-name-service-config/-init-.html | 14 +
.../-name-service-config/address.html | 15 +
.../host-service-locally.html | 15 +
.../-name-service-config/identity.html | 15 +
.../-name-service-config/index.html | 48 +
.../-node-configuration/index.html | 6 +
.../get-value.html | 4 +-
.../index.html | 14 +-
.../-handler/-init-.html | 15 +
.../-handler/callback.html | 15 +
.../-handler/executor.html | 15 +
.../-handler/index.html | 50 +
.../-handler/topic-session.html | 15 +
.../-artemis-messaging-client/-init-.html | 25 +
.../-s-e-s-s-i-o-n_-i-d_-p-r-o-p-e-r-t-y.html | 15 +
.../-t-o-p-i-c_-p-r-o-p-e-r-t-y.html | 15 +
.../add-message-handler.html | 50 +
.../create-message.html | 34 +
.../default-executor.html | 15 +
.../-artemis-messaging-client/index.html | 235 +++
.../-artemis-messaging-client/log.html | 15 +
.../make-recipient.html | 20 +
.../-artemis-messaging-client/my-address.html | 17 +
.../my-host-port.html | 15 +
.../remove-message-handler.html | 24 +
.../-artemis-messaging-client/send.html | 24 +
.../server-host-port.html | 15 +
.../-artemis-messaging-client/start.html | 15 +
.../-artemis-messaging-client/stop.html | 16 +
.../to-host-and-port.html | 15 +
.../-address/-init-.html | 14 +
.../-address/host-and-port.html | 15 +
.../-address/index.html | 36 +
.../-connection-direction/-i-n-b-o-u-n-d.html | 14 +
.../-o-u-t-b-o-u-n-d.html | 14 +
.../-connection-direction/index.html | 31 +
.../-artemis-messaging-component/-init-.html | 21 +
.../-artemis-messaging-component/config.html | 15 +
.../configure-with-dev-s-s-l-certificate.html | 17 +
.../directory.html | 15 +
.../-artemis-messaging-component/index.html | 117 ++
.../tcp-transport.html | 15 +
.../-artemis-messaging-server/-init-.html | 22 +
.../-artemis-messaging-server/index.html | 115 ++
.../-artemis-messaging-server/log.html | 15 +
.../-artemis-messaging-server/my-address.html | 15 +
.../my-host-port.html | 15 +
.../-artemis-messaging-server/start.html | 15 +
.../-artemis-messaging-server/stop.html | 15 +
.../index.html | 22 +-
.../-in-memory-messaging/index.html | 30 -
.../-in-memory-messaging-network/index.html | 6 +-
.../received-messages.html | 1 -
.../sent-messages.html | 1 -
.../-in-memory-network-map-cache/-init-.html | 2 +-
.../-in-memory-network-map-cache/changed.html | 17 +
.../-in-memory-network-map-cache/index.html | 7 +-
.../-mock-network-map-cache/changed.html | 17 +
.../-mock-network-map-cache/index.html | 12 +-
.../-transaction-rejected-error/-init-.html | 14 +
.../-transaction-rejected-error/index.html | 25 +
.../-data-vending/-service/index.html | 22 +
.../-data-vending/-service/notify.html | 15 +
.../-node-attachment-service/index.html | 6 -
.../-a-n-s-i-progress-renderer/index.html | 4 +-
.../-fiber-box/index.html | 2 +-
.../api/com.r3corda.node.utilities/index.html | 2 +-
.../-params-spec/base-directory-arg.html | 15 +
.../-params-spec/config-file-arg.html | 15 +
.../com.r3corda.node/-params-spec/index.html | 37 +
.../com.r3corda.node/-params-spec/parser.html | 15 +
.../html/api/com.r3corda.node/index.html | 44 +
docs/build/html/api/com.r3corda.node/log.html | 15 +
.../build/html/api/com.r3corda.node/main.html | 15 +
.../-acceptor/index.html | 6 +-
.../-instigator/index.html | 6 +-
.../index.html | 4 +-
.../-direct-request-message/get-reply-to.html | 16 +
.../-direct-request-message/index.html | 51 +
.../reply-to-recipient.html | 15 +
.../-notary-protocol/-service/index.html | 4 +-
.../-rates-fix-protocol/index.html | 4 +-
.../-init-.html | 11 +-
.../-resolve-transactions-protocol/call.html | 2 +-
.../-resolve-transactions-protocol/index.html | 25 +-
.../-service-request-message/index.html | 10 +
.../-state-replacement-refused/-init-.html | 2 +-
.../-state-replacement-refused/index.html | 4 +-
.../-fixing-role-decider/index.html | 4 +-
.../-instigator/index.html | 2 +-
.../-primary/index.html | 2 +-
.../-secondary/index.html | 4 +-
.../-two-party-deal-protocol/index.html | 2 +-
.../-buyer/-init-.html | 2 +-
.../-buyer/acceptable-price.html | 2 +-
.../-buyer/index.html | 8 +-
.../-seller-trade-info/-init-.html | 2 +-
.../-seller-trade-info/index.html | 4 +-
.../-seller-trade-info/price.html | 2 +-
.../-seller/-init-.html | 2 +-
.../-seller/index.html | 4 +-
.../-seller/price.html | 2 +-
.../-unacceptable-price-exception/-init-.html | 2 +-
.../given-price.html | 2 +-
.../-unacceptable-price-exception/index.html | 4 +-
.../html/api/com.r3corda.protocols/index.html | 18 +-
docs/build/html/api/index-outline.html | 1486 ++++++++++++-----
docs/build/html/api/index.html | 6 +
docs/build/html/building-the-docs.html | 6 +-
docs/build/html/codestyle.html | 6 +-
docs/build/html/consensus.html | 6 +-
docs/build/html/data-model.html | 10 +-
docs/build/html/event-scheduling.html | 6 +-
docs/build/html/getting-set-up.html | 6 +-
docs/build/html/inthebox.html | 8 +-
docs/build/html/messaging.html | 6 +-
docs/build/html/node-administration.html | 10 +-
docs/build/html/oracles.html | 6 +-
docs/build/html/protocol-state-machines.html | 6 +-
docs/build/html/release-process.html | 6 +-
docs/build/html/running-the-demos.html | 54 +-
docs/build/html/searchindex.js | 2 +-
docs/build/html/transaction-data-types.html | 27 +-
.../build/html/tutorial-contract-clauses.html | 6 +-
docs/build/html/tutorial-contract.html | 6 +-
docs/build/html/tutorial-test-dsl.html | 19 +-
docs/build/html/visualiser.html | 6 +-
docs/build/html/where-to-start.html | 10 +-
438 files changed, 7190 insertions(+), 1204 deletions(-)
create mode 100644 docs/build/html/api/com.r3corda.contracts.asset/-c-o-m-m-o-d-i-t-y_-p-r-o-g-r-a-m_-i-d.html
create mode 100644 docs/build/html/api/com.r3corda.contracts.asset/-cash/conserve-clause.html
create mode 100644 docs/build/html/api/com.r3corda.contracts.asset/-cash/derive-state.html
create mode 100644 docs/build/html/api/com.r3corda.contracts.asset/-cash/generate-exit-command.html
create mode 100644 docs/build/html/api/com.r3corda.contracts.asset/-cash/generate-issue-command.html
create mode 100644 docs/build/html/api/com.r3corda.contracts.asset/-cash/generate-move-command.html
create mode 100644 docs/build/html/api/com.r3corda.contracts.asset/-commodity-contract/-clauses/-conserve-amount/-init-.html
create mode 100644 docs/build/html/api/com.r3corda.contracts.asset/-commodity-contract/-clauses/-conserve-amount/index.html
create mode 100644 docs/build/html/api/com.r3corda.contracts.asset/-commodity-contract/-clauses/-group/-init-.html
create mode 100644 docs/build/html/api/com.r3corda.contracts.asset/-commodity-contract/-clauses/-group/clauses.html
create mode 100644 docs/build/html/api/com.r3corda.contracts.asset/-commodity-contract/-clauses/-group/extract-groups.html
create mode 100644 docs/build/html/api/com.r3corda.contracts.asset/-commodity-contract/-clauses/-group/if-matched.html
create mode 100644 docs/build/html/api/com.r3corda.contracts.asset/-commodity-contract/-clauses/-group/if-not-matched.html
create mode 100644 docs/build/html/api/com.r3corda.contracts.asset/-commodity-contract/-clauses/-group/index.html
create mode 100644 docs/build/html/api/com.r3corda.contracts.asset/-commodity-contract/-clauses/-issue/-init-.html
create mode 100644 docs/build/html/api/com.r3corda.contracts.asset/-commodity-contract/-clauses/-issue/index.html
create mode 100644 docs/build/html/api/com.r3corda.contracts.asset/-commodity-contract/-clauses/-issue/required-commands.html
create mode 100644 docs/build/html/api/com.r3corda.contracts.asset/-commodity-contract/-clauses/index.html
create mode 100644 docs/build/html/api/com.r3corda.contracts.asset/-commodity-contract/-commands/-exit/-init-.html
create mode 100644 docs/build/html/api/com.r3corda.contracts.asset/-commodity-contract/-commands/-exit/amount.html
create mode 100644 docs/build/html/api/com.r3corda.contracts.asset/-commodity-contract/-commands/-exit/index.html
create mode 100644 docs/build/html/api/com.r3corda.contracts.asset/-commodity-contract/-commands/-issue/-init-.html
create mode 100644 docs/build/html/api/com.r3corda.contracts.asset/-commodity-contract/-commands/-issue/index.html
create mode 100644 docs/build/html/api/com.r3corda.contracts.asset/-commodity-contract/-commands/-issue/nonce.html
create mode 100644 docs/build/html/api/com.r3corda.contracts.asset/-commodity-contract/-commands/-move/-init-.html
create mode 100644 docs/build/html/api/com.r3corda.contracts.asset/-commodity-contract/-commands/-move/contract-hash.html
create mode 100644 docs/build/html/api/com.r3corda.contracts.asset/-commodity-contract/-commands/-move/index.html
create mode 100644 docs/build/html/api/com.r3corda.contracts.asset/-commodity-contract/-commands/index.html
create mode 100644 docs/build/html/api/com.r3corda.contracts.asset/-commodity-contract/-init-.html
create mode 100644 docs/build/html/api/com.r3corda.contracts.asset/-commodity-contract/-state/-init-.html
create mode 100644 docs/build/html/api/com.r3corda.contracts.asset/-commodity-contract/-state/amount.html
create mode 100644 docs/build/html/api/com.r3corda.contracts.asset/-commodity-contract/-state/contract.html
create mode 100644 docs/build/html/api/com.r3corda.contracts.asset/-commodity-contract/-state/deposit.html
create mode 100644 docs/build/html/api/com.r3corda.contracts.asset/-commodity-contract/-state/exit-keys.html
create mode 100644 docs/build/html/api/com.r3corda.contracts.asset/-commodity-contract/-state/index.html
create mode 100644 docs/build/html/api/com.r3corda.contracts.asset/-commodity-contract/-state/issuance-def.html
create mode 100644 docs/build/html/api/com.r3corda.contracts.asset/-commodity-contract/-state/move.html
create mode 100644 docs/build/html/api/com.r3corda.contracts.asset/-commodity-contract/-state/owner.html
create mode 100644 docs/build/html/api/com.r3corda.contracts.asset/-commodity-contract/-state/participants.html
create mode 100644 docs/build/html/api/com.r3corda.contracts.asset/-commodity-contract/-state/to-string.html
create mode 100644 docs/build/html/api/com.r3corda.contracts.asset/-commodity-contract/-state/with-new-owner.html
create mode 100644 docs/build/html/api/com.r3corda.contracts.asset/-commodity-contract/clauses.html
create mode 100644 docs/build/html/api/com.r3corda.contracts.asset/-commodity-contract/conserve-clause.html
create mode 100644 docs/build/html/api/com.r3corda.contracts.asset/-commodity-contract/derive-state.html
create mode 100644 docs/build/html/api/com.r3corda.contracts.asset/-commodity-contract/extract-commands.html
create mode 100644 docs/build/html/api/com.r3corda.contracts.asset/-commodity-contract/generate-exit-command.html
create mode 100644 docs/build/html/api/com.r3corda.contracts.asset/-commodity-contract/generate-issue-command.html
create mode 100644 docs/build/html/api/com.r3corda.contracts.asset/-commodity-contract/generate-issue.html
create mode 100644 docs/build/html/api/com.r3corda.contracts.asset/-commodity-contract/generate-move-command.html
create mode 100644 docs/build/html/api/com.r3corda.contracts.asset/-commodity-contract/index.html
create mode 100644 docs/build/html/api/com.r3corda.contracts.asset/-commodity-contract/legal-contract-reference.html
create mode 100644 docs/build/html/api/com.r3corda.contracts.asset/-insufficient-balance-exception/to-string.html
create mode 100644 docs/build/html/api/com.r3corda.contracts.asset/-obligation/generate-exit.html
create mode 100644 docs/build/html/api/com.r3corda.contracts.asset/-on-ledger-asset/-init-.html
create mode 100644 docs/build/html/api/com.r3corda.contracts.asset/-on-ledger-asset/conserve-clause.html
create mode 100644 docs/build/html/api/com.r3corda.contracts.asset/-on-ledger-asset/derive-state.html
create mode 100644 docs/build/html/api/com.r3corda.contracts.asset/-on-ledger-asset/generate-exit-command.html
create mode 100644 docs/build/html/api/com.r3corda.contracts.asset/-on-ledger-asset/generate-exit.html
create mode 100644 docs/build/html/api/com.r3corda.contracts.asset/-on-ledger-asset/generate-issue-command.html
create mode 100644 docs/build/html/api/com.r3corda.contracts.asset/-on-ledger-asset/generate-move-command.html
create mode 100644 docs/build/html/api/com.r3corda.contracts.asset/-on-ledger-asset/generate-spend.html
create mode 100644 docs/build/html/api/com.r3corda.contracts.asset/-on-ledger-asset/index.html
create mode 100644 docs/build/html/api/com.r3corda.contracts.asset/kotlin.collections.-iterable/sum-commodities-or-null.html
create mode 100644 docs/build/html/api/com.r3corda.contracts.asset/kotlin.collections.-iterable/sum-commodities-or-zero.html
create mode 100644 docs/build/html/api/com.r3corda.contracts.asset/kotlin.collections.-iterable/sum-commodities.html
create mode 100644 docs/build/html/api/com.r3corda.contracts.clause/-abstract-conserve-amount/generate-exit.html
create mode 100644 docs/build/html/api/com.r3corda.contracts.clause/-abstract-conserve-amount/generate-spend.html
create mode 100644 docs/build/html/api/com.r3corda.core.contracts/-commodity/-init-.html
create mode 100644 docs/build/html/api/com.r3corda.core.contracts/-commodity/commodity-code.html
create mode 100644 docs/build/html/api/com.r3corda.core.contracts/-commodity/default-fraction-digits.html
create mode 100644 docs/build/html/api/com.r3corda.core.contracts/-commodity/display-name.html
create mode 100644 docs/build/html/api/com.r3corda.core.contracts/-commodity/get-instance.html
create mode 100644 docs/build/html/api/com.r3corda.core.contracts/-commodity/index.html
create mode 100644 docs/build/html/api/com.r3corda.core.contracts/-commodity/symbol.html
create mode 100644 docs/build/html/api/com.r3corda.core.contracts/-f-c-o-j.html
create mode 100644 docs/build/html/api/com.r3corda.core.contracts/-issued/to-string.html
create mode 100644 docs/build/html/api/com.r3corda.core.contracts/-ledger-transaction/to-transaction-for-contract.html
create mode 100644 docs/build/html/api/com.r3corda.core.contracts/-ledger-transaction/verify.html
create mode 100644 docs/build/html/api/com.r3corda.core.contracts/-transaction-resolution-exception/to-string.html
create mode 100644 docs/build/html/api/com.r3corda.core.contracts/commodity.html
create mode 100644 docs/build/html/api/com.r3corda.core.contracts/kotlin.-int/-f-c-o-j.html
create mode 100644 docs/build/html/api/com.r3corda.core.contracts/without-issuer.html
create mode 100644 docs/build/html/api/com.r3corda.core.crypto/-null-signature.html
create mode 100644 docs/build/html/api/com.r3corda.core.crypto/-whitelist-trust-manager-provider/register.html
create mode 100644 docs/build/html/api/com.r3corda.core.crypto/ed25519-curve.html
create mode 100644 docs/build/html/api/com.r3corda.core.crypto/entropy-to-key-pair.html
create mode 100644 docs/build/html/api/com.r3corda.core.crypto/java.security.-public-key/to-base58-string.html
create mode 100644 docs/build/html/api/com.r3corda.core.crypto/kotlin.collections.-iterable/index.html
create mode 100644 docs/build/html/api/com.r3corda.core.crypto/kotlin.collections.-iterable/to-strings-short.html
create mode 100644 docs/build/html/api/com.r3corda.core.crypto/parse-public-key-base58.html
create mode 100644 docs/build/html/api/com.r3corda.core.node.services.testing/-mock-services/-init-.html
create mode 100644 docs/build/html/api/com.r3corda.core.node.services.testing/-mock-services/clock.html
create mode 100644 docs/build/html/api/com.r3corda.core.node.services.testing/-mock-services/identity-service.html
create mode 100644 docs/build/html/api/com.r3corda.core.node.services.testing/-mock-services/index.html
create mode 100644 docs/build/html/api/com.r3corda.core.node.services.testing/-mock-services/invoke-protocol-async.html
create mode 100644 docs/build/html/api/com.r3corda.core.node.services.testing/-mock-services/key-management-service.html
create mode 100644 docs/build/html/api/com.r3corda.core.node.services.testing/-mock-services/key.html
create mode 100644 docs/build/html/api/com.r3corda.core.node.services.testing/-mock-services/network-map-cache.html
create mode 100644 docs/build/html/api/com.r3corda.core.node.services.testing/-mock-services/network-service.html
create mode 100644 docs/build/html/api/com.r3corda.core.node.services.testing/-mock-services/record-transactions.html
create mode 100644 docs/build/html/api/com.r3corda.core.node.services.testing/-mock-services/scheduler-service.html
create mode 100644 docs/build/html/api/com.r3corda.core.node.services.testing/-mock-services/storage-service.html
create mode 100644 docs/build/html/api/com.r3corda.core.node.services.testing/-mock-services/wallet-service.html
create mode 100644 docs/build/html/api/com.r3corda.core.node.services/-network-map-cache/-map-change-type/-added.html
create mode 100644 docs/build/html/api/com.r3corda.core.node.services/-network-map-cache/-map-change-type/-removed.html
create mode 100644 docs/build/html/api/com.r3corda.core.node.services/-network-map-cache/-map-change-type/index.html
create mode 100644 docs/build/html/api/com.r3corda.core.node.services/-network-map-cache/-map-change/-init-.html
create mode 100644 docs/build/html/api/com.r3corda.core.node.services/-network-map-cache/-map-change/index.html
create mode 100644 docs/build/html/api/com.r3corda.core.node.services/-network-map-cache/-map-change/node.html
create mode 100644 docs/build/html/api/com.r3corda.core.node.services/-network-map-cache/-map-change/type.html
create mode 100644 docs/build/html/api/com.r3corda.core.node.services/-network-map-cache/changed.html
create mode 100644 docs/build/html/api/com.r3corda.core.testing/-test-ledger-d-s-l-interpreter/services.html
create mode 100644 docs/build/html/api/com.r3corda.core.testing/-test-ledger-d-s-l-interpreter/transactions-to-verify.html
create mode 100644 docs/build/html/api/com.r3corda.core.testing/-test-ledger-d-s-l-interpreter/transactions-unverified.html
create mode 100644 docs/build/html/api/com.r3corda.core.testing/-test-transaction-d-s-l-interpreter/services.html
create mode 100644 docs/build/html/api/com.r3corda.core/kotlin.-int/checked-add.html
create mode 100644 docs/build/html/api/com.r3corda.core/kotlin.-long/checked-add.html
create mode 100644 docs/build/html/api/com.r3corda.node.internal/-node/message-broker.html
create mode 100644 docs/build/html/api/com.r3corda.node.internal/-node/messaging-server-addr.html
create mode 100644 docs/build/html/api/com.r3corda.node.services.config/-full-node-configuration/-init-.html
create mode 100644 docs/build/html/api/com.r3corda.node.services.config/-full-node-configuration/artemis-address.html
create mode 100644 docs/build/html/api/com.r3corda.node.services.config/-full-node-configuration/basedir.html
create mode 100644 docs/build/html/api/com.r3corda.node.services.config/-full-node-configuration/clock.html
create mode 100644 docs/build/html/api/com.r3corda.node.services.config/-full-node-configuration/create-node.html
create mode 100644 docs/build/html/api/com.r3corda.node.services.config/-full-node-configuration/export-j-m-xto.html
create mode 100644 docs/build/html/api/com.r3corda.node.services.config/-full-node-configuration/extra-advertised-service-ids.html
create mode 100644 docs/build/html/api/com.r3corda.node.services.config/-full-node-configuration/host-notary-service-locally.html
create mode 100644 docs/build/html/api/com.r3corda.node.services.config/-full-node-configuration/index.html
create mode 100644 docs/build/html/api/com.r3corda.node.services.config/-full-node-configuration/key-store-password.html
create mode 100644 docs/build/html/api/com.r3corda.node.services.config/-full-node-configuration/map-service.html
create mode 100644 docs/build/html/api/com.r3corda.node.services.config/-full-node-configuration/messaging-server-address.html
create mode 100644 docs/build/html/api/com.r3corda.node.services.config/-full-node-configuration/my-legal-name.html
create mode 100644 docs/build/html/api/com.r3corda.node.services.config/-full-node-configuration/nearest-city.html
create mode 100644 docs/build/html/api/com.r3corda.node.services.config/-full-node-configuration/trust-store-password.html
create mode 100644 docs/build/html/api/com.r3corda.node.services.config/-full-node-configuration/web-address.html
create mode 100644 docs/build/html/api/com.r3corda.node.services.config/-name-service-config/-init-.html
create mode 100644 docs/build/html/api/com.r3corda.node.services.config/-name-service-config/address.html
create mode 100644 docs/build/html/api/com.r3corda.node.services.config/-name-service-config/host-service-locally.html
create mode 100644 docs/build/html/api/com.r3corda.node.services.config/-name-service-config/identity.html
create mode 100644 docs/build/html/api/com.r3corda.node.services.config/-name-service-config/index.html
create mode 100644 docs/build/html/api/com.r3corda.node.services.messaging/-artemis-messaging-client/-handler/-init-.html
create mode 100644 docs/build/html/api/com.r3corda.node.services.messaging/-artemis-messaging-client/-handler/callback.html
create mode 100644 docs/build/html/api/com.r3corda.node.services.messaging/-artemis-messaging-client/-handler/executor.html
create mode 100644 docs/build/html/api/com.r3corda.node.services.messaging/-artemis-messaging-client/-handler/index.html
create mode 100644 docs/build/html/api/com.r3corda.node.services.messaging/-artemis-messaging-client/-handler/topic-session.html
create mode 100644 docs/build/html/api/com.r3corda.node.services.messaging/-artemis-messaging-client/-init-.html
create mode 100644 docs/build/html/api/com.r3corda.node.services.messaging/-artemis-messaging-client/-s-e-s-s-i-o-n_-i-d_-p-r-o-p-e-r-t-y.html
create mode 100644 docs/build/html/api/com.r3corda.node.services.messaging/-artemis-messaging-client/-t-o-p-i-c_-p-r-o-p-e-r-t-y.html
create mode 100644 docs/build/html/api/com.r3corda.node.services.messaging/-artemis-messaging-client/add-message-handler.html
create mode 100644 docs/build/html/api/com.r3corda.node.services.messaging/-artemis-messaging-client/create-message.html
create mode 100644 docs/build/html/api/com.r3corda.node.services.messaging/-artemis-messaging-client/default-executor.html
create mode 100644 docs/build/html/api/com.r3corda.node.services.messaging/-artemis-messaging-client/index.html
create mode 100644 docs/build/html/api/com.r3corda.node.services.messaging/-artemis-messaging-client/log.html
create mode 100644 docs/build/html/api/com.r3corda.node.services.messaging/-artemis-messaging-client/make-recipient.html
create mode 100644 docs/build/html/api/com.r3corda.node.services.messaging/-artemis-messaging-client/my-address.html
create mode 100644 docs/build/html/api/com.r3corda.node.services.messaging/-artemis-messaging-client/my-host-port.html
create mode 100644 docs/build/html/api/com.r3corda.node.services.messaging/-artemis-messaging-client/remove-message-handler.html
create mode 100644 docs/build/html/api/com.r3corda.node.services.messaging/-artemis-messaging-client/send.html
create mode 100644 docs/build/html/api/com.r3corda.node.services.messaging/-artemis-messaging-client/server-host-port.html
create mode 100644 docs/build/html/api/com.r3corda.node.services.messaging/-artemis-messaging-client/start.html
create mode 100644 docs/build/html/api/com.r3corda.node.services.messaging/-artemis-messaging-client/stop.html
create mode 100644 docs/build/html/api/com.r3corda.node.services.messaging/-artemis-messaging-client/to-host-and-port.html
create mode 100644 docs/build/html/api/com.r3corda.node.services.messaging/-artemis-messaging-component/-address/-init-.html
create mode 100644 docs/build/html/api/com.r3corda.node.services.messaging/-artemis-messaging-component/-address/host-and-port.html
create mode 100644 docs/build/html/api/com.r3corda.node.services.messaging/-artemis-messaging-component/-address/index.html
create mode 100644 docs/build/html/api/com.r3corda.node.services.messaging/-artemis-messaging-component/-connection-direction/-i-n-b-o-u-n-d.html
create mode 100644 docs/build/html/api/com.r3corda.node.services.messaging/-artemis-messaging-component/-connection-direction/-o-u-t-b-o-u-n-d.html
create mode 100644 docs/build/html/api/com.r3corda.node.services.messaging/-artemis-messaging-component/-connection-direction/index.html
create mode 100644 docs/build/html/api/com.r3corda.node.services.messaging/-artemis-messaging-component/-init-.html
create mode 100644 docs/build/html/api/com.r3corda.node.services.messaging/-artemis-messaging-component/config.html
create mode 100644 docs/build/html/api/com.r3corda.node.services.messaging/-artemis-messaging-component/configure-with-dev-s-s-l-certificate.html
create mode 100644 docs/build/html/api/com.r3corda.node.services.messaging/-artemis-messaging-component/directory.html
create mode 100644 docs/build/html/api/com.r3corda.node.services.messaging/-artemis-messaging-component/index.html
create mode 100644 docs/build/html/api/com.r3corda.node.services.messaging/-artemis-messaging-component/tcp-transport.html
create mode 100644 docs/build/html/api/com.r3corda.node.services.messaging/-artemis-messaging-server/-init-.html
create mode 100644 docs/build/html/api/com.r3corda.node.services.messaging/-artemis-messaging-server/index.html
create mode 100644 docs/build/html/api/com.r3corda.node.services.messaging/-artemis-messaging-server/log.html
create mode 100644 docs/build/html/api/com.r3corda.node.services.messaging/-artemis-messaging-server/my-address.html
create mode 100644 docs/build/html/api/com.r3corda.node.services.messaging/-artemis-messaging-server/my-host-port.html
create mode 100644 docs/build/html/api/com.r3corda.node.services.messaging/-artemis-messaging-server/start.html
create mode 100644 docs/build/html/api/com.r3corda.node.services.messaging/-artemis-messaging-server/stop.html
create mode 100644 docs/build/html/api/com.r3corda.node.services.network/-in-memory-network-map-cache/changed.html
create mode 100644 docs/build/html/api/com.r3corda.node.services.network/-mock-network-map-cache/changed.html
create mode 100644 docs/build/html/api/com.r3corda.node.services.persistence/-data-vending/-service/-transaction-rejected-error/-init-.html
create mode 100644 docs/build/html/api/com.r3corda.node.services.persistence/-data-vending/-service/-transaction-rejected-error/index.html
create mode 100644 docs/build/html/api/com.r3corda.node.services.persistence/-data-vending/-service/notify.html
create mode 100644 docs/build/html/api/com.r3corda.node/-params-spec/base-directory-arg.html
create mode 100644 docs/build/html/api/com.r3corda.node/-params-spec/config-file-arg.html
create mode 100644 docs/build/html/api/com.r3corda.node/-params-spec/index.html
create mode 100644 docs/build/html/api/com.r3corda.node/-params-spec/parser.html
create mode 100644 docs/build/html/api/com.r3corda.node/index.html
create mode 100644 docs/build/html/api/com.r3corda.node/log.html
create mode 100644 docs/build/html/api/com.r3corda.node/main.html
create mode 100644 docs/build/html/api/com.r3corda.protocols/-direct-request-message/get-reply-to.html
create mode 100644 docs/build/html/api/com.r3corda.protocols/-direct-request-message/index.html
create mode 100644 docs/build/html/api/com.r3corda.protocols/-direct-request-message/reply-to-recipient.html
diff --git a/docs/build/html/_sources/data-model.txt b/docs/build/html/_sources/data-model.txt
index 205ced41b7..ecc11db4c5 100644
--- a/docs/build/html/_sources/data-model.txt
+++ b/docs/build/html/_sources/data-model.txt
@@ -23,8 +23,8 @@ States contain arbitrary data, but they always contain at minimum a hash of the
Contract code (or just "contracts" in the rest of this document) are globally shared pieces of business logic.
Contracts define a **verify function**, which is a pure function given the entire transaction as input. To be considered
-valid, the transaction must be **accepted** by the verify function of every contract pointed to by the
-input and output states.
+valid, the transaction must be **accepted** by the verify function of every contract pointed to by the input and output
+states.
Beyond inputs and outputs, transactions may also contain **commands**, small data packets that
the platform does not interpret itself, but which can parameterise execution of the contracts. They can be thought of as
diff --git a/docs/build/html/_sources/running-the-demos.txt b/docs/build/html/_sources/running-the-demos.txt
index a064258f66..5c51afc789 100644
--- a/docs/build/html/_sources/running-the-demos.txt
+++ b/docs/build/html/_sources/running-the-demos.txt
@@ -8,6 +8,7 @@ so far. We have:
how this works in :doc:`protocol-state-machines`.
2. The IRS demo, which shows two nodes establishing an interest rate swap between them and performing fixings with a
rates oracle, all driven via the HTTP API.
+3. The IRS demo web interface - a web interface to the IRS demo.
The demos create node data directories in the root of the project. If something goes wrong with them, blow away the
directories and try again.
@@ -29,7 +30,7 @@ Open two terminals, and in the first run:
**Other**::
- Other: ./gradlew installDist && ./build/install/r3prototyping/bin/trader-demo --role=BUYER
+ ./gradlew installDist && ./build/install/r3prototyping/bin/trader-demo --role=BUYER
It will compile things, if necessary, then create a directory named trader-demo/buyer with a bunch of files inside and
start the node. You should see it waiting for a trade to begin.
@@ -96,3 +97,53 @@ can see the other terminals whilst you run this command!:
**Other**::
./build/install/r3prototyping/bin/irsdemo --role=Date 2017-01-30
+
+
+IRS web demo
+------------
+
+To install the web demo please follow these steps;
+
+1. Install Node: https://nodejs.org/en/download/ and ensure the npm executable is on your classpath
+2. Open a terminal
+3. Run `npm install -g bower` or `sudo npm install -g bower` if on a *nix system.
+4. In the terminal navigate to `/src/main/resources/com/r3corda/demos/irswebdemo`
+5. Run `bower install`
+
+To run the web demo, run the first two steps from the IRS Demo:
+
+Open two terminals and in the first:
+
+**Windows**::
+
+ gradlew.bat installDist & .\build\install\r3prototyping\bin\irsdemo.bat --role=NodeA
+
+**Other**::
+
+ ./gradlew installDist && ./build/install/r3prototyping/bin/irsdemo --role=NodeA
+
+And in the second run:
+
+**Windows**::
+
+ .\build\install\r3prototyping\bin\irsdemo.bat --role=NodeB
+
+**Other**::
+
+ ./build/install/r3prototyping/bin/irsdemo --role=NodeB
+
+Now open your web browser to this URL:
+
+.. note:: If using a custom node port address or port those must be used instead.
+
+**Node A**:
+
+ http://localhost:31338/web/irsdemo
+
+**Node B**:
+
+ http://localhost:31340/web/irsdemo
+
+To use the demos click the "Create Deal" button, fill in the form, then click the "Submit" button. Now you will be
+able to use the time controls at the top left of the home page to run the fixings. Click any individual trade in the
+blotter to view it.
\ No newline at end of file
diff --git a/docs/build/html/_sources/transaction-data-types.txt b/docs/build/html/_sources/transaction-data-types.txt
index 49ea4e2ac8..b59e3a7792 100644
--- a/docs/build/html/_sources/transaction-data-types.txt
+++ b/docs/build/html/_sources/transaction-data-types.txt
@@ -77,6 +77,31 @@ in place of the attachments themselves (see also :doc:`data-model`). Once signed
resolving the attachment references to the attachments. Commands with valid signatures are encapsulated in the
``AuthenticatedObject`` type.
+When constructing a new transaction from scratch, you use ``TransactionBuilder``, which is a mutable transaction that
+can be signed once modification of the internals is complete. It is typical for contract classes to expose helper
+methods that can contribute to a ``TransactionBuilder``.
+
+Here's an example of building a transaction that creates an issuance of bananas (note that bananas are not a real
+contract type in the library):
+
+.. container:: codeset
+
+ .. sourcecode:: kotlin
+
+ val notaryToUse: Party = ...
+ val txb = TransactionBuilder(notary = notaryToUse).withItems(BananaState(Amount(20, Bananas), fromCountry = "Elbonia"))
+ txb.signWith(myKey)
+ txb.setTime(Instant.now(), notaryToUse, 30.seconds)
+ // We must disable the check for sufficient signatures, because this transaction is not yet notarised.
+ val stx = txb.toSignedTransaction(checkSufficientSignatures = false)
+ // Alternatively, let's just check it verifies pretending it was fully signed. To do this, we get
+ // a WireTransaction, which is what the SignedTransaction wraps. Thus by verifying that directly we
+ // skip signature checking.
+ txb.toWireTransaction().toLedgerTransaction(services).verify()
+
+In a unit test, you would typically use a freshly created ``MockServices`` object, or more realistically, you would
+write your tests using the :doc:`domain specific language for writing tests `.
+
Party and PublicKey
-------------------
diff --git a/docs/build/html/_sources/tutorial-test-dsl.txt b/docs/build/html/_sources/tutorial-test-dsl.txt
index 1899166f4d..dc2ad429db 100644
--- a/docs/build/html/_sources/tutorial-test-dsl.txt
+++ b/docs/build/html/_sources/tutorial-test-dsl.txt
@@ -43,7 +43,7 @@ We start with the empty ledger:
}
The DSL keyword ``ledger`` takes a closure that can build up several transactions and may verify their overall
-correctness.
+correctness. A ledger is effectively a fresh world with no pre-existing transactions or services within it.
Let's add a Cash transaction:
@@ -54,7 +54,7 @@ Let's add a Cash transaction:
@Test
fun simpleCashDoesntCompile() {
val inState = Cash.State(
- amount = 1000.DOLLARS `issued by` MEGA_CORP.ref(1, 1),
+ amount = 1000.DOLLARS `issued by` DUMMY_CASH_ISSUER,
owner = DUMMY_PUBKEY_1
)
ledger {
@@ -69,7 +69,7 @@ Let's add a Cash transaction:
@Test
public void simpleCashDoesntCompile() {
Cash.State inState = new Cash.State(
- issuedBy(DOLLARS(1000), getMEGA_CORP().ref((byte)1, (byte)1)),
+ issuedBy(DOLLARS(1000), getDUMMY_CASH_ISSUER()),
getDUMMY_PUBKEY_1()
);
ledger(l -> {
@@ -139,7 +139,10 @@ last line of ``transaction``:
The code finally compiles. When run, it produces the following error::
- com.r3corda.core.contracts.TransactionVerificationException$ContractRejection: java.lang.IllegalArgumentException: Failed requirement: for deposit [0101] at issuer MegaCorp the amounts balance
+ com.r3corda.core.contracts.TransactionVerificationException$ContractRejection: java.lang.IllegalArgumentException: Failed requirement: for deposit [01] at issuer Snake Oil Issuer the amounts balance
+
+.. note:: The reference here to the 'Snake Oil Issuer' is because we are using the pre-canned ``DUMMY_CASH_ISSUER``
+ identity as the issuer of our cash.
The transaction verification failed, because the sum of inputs does not equal the sum of outputs. We can specify that
this is intended behaviour by changing ``this.verifies()`` to ``this `fails with` "the amounts balance"``:
diff --git a/docs/build/html/api/alltypes/index.html b/docs/build/html/api/alltypes/index.html
index b987d5df90..dc9d98bc4a 100644
--- a/docs/build/html/api/alltypes/index.html
+++ b/docs/build/html/api/alltypes/index.html
@@ -147,12 +147,24 @@ properties loaded from the attachments. And perhaps the authenticated user for
-com.r3corda.node.services.messaging.ArtemisMessagingService
+com.r3corda.node.services.messaging.ArtemisMessagingClient
This class implements the MessagingService API using Apache Artemis, the successor to their ActiveMQ product.
-Artemis is a message queue broker and here, we embed the entire server inside our own process. Nodes communicate
-with each other using an Artemis specific protocol, but it supports other protocols like AMQP/1.0
-as well for interop.
+Artemis is a message queue broker and here we run a client connecting to the specified broker instance ArtemisMessagingServer
+
+
+
+
+com.r3corda.node.services.messaging.ArtemisMessagingComponent
+
+The base class for Artemis services that defines shared data structures and transport configuration
+
+
+
+
+com.r3corda.node.services.messaging.ArtemisMessagingServer
+
+This class configures and manages an Apache Artemis message queue broker.
@@ -357,6 +369,23 @@ that delegates to the supplied list of clauses.
+com.r3corda.core.contracts.Commodity
+
+
+
+
+
+com.r3corda.contracts.asset.CommodityContract
+
+A commodity contract represents an amount of some commodity, tracked on a distributed ledger. The design of this
+contract is intentionally similar to the Cash contract, and the same commands (issue, move, exit) apply, the
+differences are in representation of the underlying commodity. Issuer in this context means the party who has the
+commodity, or is otherwise responsible for delivering the commodity on demand, and the deposit reference is use for
+internal accounting by the issuer (it might be, for example, a warehouse and/or location within a warehouse).
+
+
+
+
com.r3corda.node.servlets.Config
Primary purpose is to install Kotlin extensions for Jackson ObjectMapper so data classes work
@@ -509,6 +538,16 @@ building partially signed transactions.
+com.r3corda.protocols.DirectRequestMessage
+
+A message which specifies reply destination as a specific endpoint such as a monitoring client. This is of particular
+use where we want to address a specific endpoint, not necessarily a specific user (for example if the same user logs
+in on two machines, we want to consistently deliver messages as part of a session, to the same machine the session
+started on).
+
+
+
+
kotlin.Double (extensions in package com.r3corda.core.contracts)
@@ -724,6 +763,12 @@ that would divide into (eg annually = 1, semiannual = 2, monthly = 12 etc).
+com.r3corda.node.services.config.FullNodeConfiguration
+
+
+
+
+
com.r3corda.contracts.asset.FungibleAsset
Interface for contract states representing assets which are fungible, countable and issued by a
@@ -941,6 +986,12 @@ quantifiable with integer quantities.
+kotlin.collections.Iterable (extensions in package com.r3corda.core.crypto)
+
+
+
+
+
kotlin.collections.Iterable (extensions in package com.r3corda.core)
@@ -1150,6 +1201,14 @@ Components that do IO are either swapped out for mocks, or pointed to a
+com.r3corda.core.node.services.testing.MockServices
+
+A singleton utility that only provides a mock identity, key and storage service. However, this is sufficient for
+building chains of transactions and verifying them. It isnt sufficient for testing protocols however.
+
+
+
+
com.r3corda.core.node.services.testing.MockStorageService
@@ -1204,6 +1263,12 @@ adjusted externally.
+com.r3corda.node.services.config.NameServiceConfig
+
+
+
+
+
com.r3corda.core.contracts.NamedByHash
Implemented by anything that can be named by a secure hash value (e.g. transactions, attachments).
@@ -1420,6 +1485,13 @@ must point to the same notary.
+com.r3corda.core.crypto.NullSignature
+
+A signature with a key and value of zero. Useful when you want a signature object that you know wont ever be used.
+
+
+
+
com.r3corda.contracts.asset.Obligation
An obligation contract commits the obligor to delivering a specified amount of a fungible asset (for example the
@@ -1430,6 +1502,16 @@ to be netted/merged, with settlement only for any remainder amount.
+com.r3corda.contracts.asset.OnLedgerAsset
+
+An asset transaction may split and merge assets represented by a set of (issuer, depositRef) pairs, across multiple
+input and output states. Imagine a Bitcoin transaction but in which all UTXOs had a colour (a blend of
+issuer+depositRef) and you couldnt merge outputs of two colours together, but you COULD put them in the same
+transaction.
+
+
+
+
com.r3corda.core.serialization.OpaqueBytes
A simple class that wraps a byte array and makes the equals/hashCode/toString methods work as you actually expect.
@@ -1454,6 +1536,12 @@ be looked up both in ledger{..} and transaction{..} blocks.
+com.r3corda.node.ParamsSpec
+
+
+
+
+
com.r3corda.core.crypto.Party
A Party is well known (name, pubkey) pair. In a real system this would probably be an X.509 certificate.
@@ -1658,14 +1746,6 @@ for each step.
-com.r3corda.core.utilities.RecordingMap
-
-A RecordingMap wraps a regular Map<K, V> and records the sequence of gets and puts to it. This is useful in
-white box unit tests to ensure that code is accessing a data store as much as you expect.
-
-
-
-
com.r3corda.contracts.ReferenceRate
So a reference rate is a rate that takes its value from a source at a given date
@@ -1696,9 +1776,9 @@ e.g. LIBOR 6M as of 17 March 2016. Hence it requires a source (name) and a value
com.r3corda.protocols.ResolveTransactionsProtocol
-This protocol fetches each transaction identified by the given hashes from either disk or network, along with all
-their dependencies, and verifies them together using a single TransactionGroup . If no exception is thrown, then
-all the transactions have been successfully verified and inserted into the local database.
+This protocol is used to verify the validity of a transaction by recursively checking the validity of all the
+dependencies. Once a transaction is checked its inserted into local storage so it can be relayed and wont be
+checked again.
@@ -1961,7 +2041,7 @@ transaction defined the state and where in that transaction it was.
com.r3corda.protocols.StateReplacementRefused
-Thrown when a participant refuses proposed the state replacement
+Thrown when a participant refuses the proposed state replacement
@@ -2131,13 +2211,6 @@ simplify verification logic in contracts.
-com.r3corda.core.contracts.TransactionForVerification
-
-A transaction in fully resolved and sig-checked form, ready for passing as input to a verification function.
-
-
-
-
com.r3corda.core.contracts.TransactionGraphSearch
Given a map of transaction id to SignedTransaction , performs a breadth first search of the dependency graph from
@@ -2146,15 +2219,6 @@ the starting point down in order to find transactions that match the given query
-com.r3corda.core.contracts.TransactionGroup
-
-A TransactionGroup defines a directed acyclic graph of transactions that can be resolved with each other and then
-verified. Successful verification does not imply the non-existence of other conflicting transactions: simply that
-this subgraph does not contain conflicts and is accepted by the involved contracts.
-
-
-
-
com.r3corda.core.contracts.TransactionResolutionException
diff --git a/docs/build/html/api/com.r3corda.contracts.asset/-c-o-m-m-o-d-i-t-y_-p-r-o-g-r-a-m_-i-d.html b/docs/build/html/api/com.r3corda.contracts.asset/-c-o-m-m-o-d-i-t-y_-p-r-o-g-r-a-m_-i-d.html
new file mode 100644
index 0000000000..8f2d0529f6
--- /dev/null
+++ b/docs/build/html/api/com.r3corda.contracts.asset/-c-o-m-m-o-d-i-t-y_-p-r-o-g-r-a-m_-i-d.html
@@ -0,0 +1,15 @@
+
+
+COMMODITY_PROGRAM_ID -
+
+
+
+com.r3corda.contracts.asset / COMMODITY_PROGRAM_ID
+
+COMMODITY_PROGRAM_ID
+
+val COMMODITY_PROGRAM_ID : CommodityContract
+
+
+
+
diff --git a/docs/build/html/api/com.r3corda.contracts.asset/-cash/-clauses/-group/clauses.html b/docs/build/html/api/com.r3corda.contracts.asset/-cash/-clauses/-group/clauses.html
index 29e064de4a..6b66c6bda9 100644
--- a/docs/build/html/api/com.r3corda.contracts.asset/-cash/-clauses/-group/clauses.html
+++ b/docs/build/html/api/com.r3corda.contracts.asset/-cash/-clauses/-group/clauses.html
@@ -8,7 +8,7 @@
clauses
-val clauses : List < GroupClause < State , Issued < Currency > > >
+val clauses : <ERROR CLASS>
Overrides GroupClauseVerifier.clauses
diff --git a/docs/build/html/api/com.r3corda.contracts.asset/-cash/-clauses/-group/if-matched.html b/docs/build/html/api/com.r3corda.contracts.asset/-cash/-clauses/-group/if-matched.html
index a972f01760..f2e4556233 100644
--- a/docs/build/html/api/com.r3corda.contracts.asset/-cash/-clauses/-group/if-matched.html
+++ b/docs/build/html/api/com.r3corda.contracts.asset/-cash/-clauses/-group/if-matched.html
@@ -11,9 +11,6 @@
val ifMatched : MatchBehaviour
Overrides Clause.ifMatched
Behaviour if this clause is not matches
-Getter
-
Behaviour if this clause is not matches
-
+com.r3corda.contracts.asset / Cash / conserveClause
+
+conserveClause
+
+val conserveClause : AbstractConserveAmount < State , Currency >
+Overrides OnLedgerAsset.conserveClause
+
+
+
diff --git a/docs/build/html/api/com.r3corda.contracts.asset/-cash/-clauses/-group/if-not-matched.html b/docs/build/html/api/com.r3corda.contracts.asset/-cash/-clauses/-group/if-not-matched.html
index 3ff645af3a..b8db5ef6cf 100644
--- a/docs/build/html/api/com.r3corda.contracts.asset/-cash/-clauses/-group/if-not-matched.html
+++ b/docs/build/html/api/com.r3corda.contracts.asset/-cash/-clauses/-group/if-not-matched.html
@@ -11,9 +11,6 @@
val ifNotMatched : MatchBehaviour
Overrides Clause.ifNotMatched
Behaviour if this clause is matched
-
Getter
-
Behaviour if this clause is matched
-
diff --git a/docs/build/html/api/com.r3corda.contracts.asset/-cash/-clauses/-group/index.html b/docs/build/html/api/com.r3corda.contracts.asset/-cash/-clauses/-group/index.html
index 038979b3d9..984860d83f 100644
--- a/docs/build/html/api/com.r3corda.contracts.asset/-cash/-clauses/-group/index.html
+++ b/docs/build/html/api/com.r3corda.contracts.asset/-cash/-clauses/-group/index.html
@@ -28,7 +28,7 @@
clauses
-val clauses : List < GroupClause < State , Issued < Currency > > >
+val clauses : <ERROR CLASS>
diff --git a/docs/build/html/api/com.r3corda.contracts.asset/-cash/-clauses/-issue/index.html b/docs/build/html/api/com.r3corda.contracts.asset/-cash/-clauses/-issue/index.html
index bb141bdacd..f3a0c53b8e 100644
--- a/docs/build/html/api/com.r3corda.contracts.asset/-cash/-clauses/-issue/index.html
+++ b/docs/build/html/api/com.r3corda.contracts.asset/-cash/-clauses/-issue/index.html
@@ -28,7 +28,7 @@
requiredCommands
-val requiredCommands : Set < Class < out CommandData > >
Classes for commands which must ALL be present in transaction for this clause to be triggered
+val requiredCommands : <ERROR CLASS>
Classes for commands which must ALL be present in transaction for this clause to be triggered
diff --git a/docs/build/html/api/com.r3corda.contracts.asset/-cash/-clauses/-issue/required-commands.html b/docs/build/html/api/com.r3corda.contracts.asset/-cash/-clauses/-issue/required-commands.html
index 7c6684a46f..6c0436f30f 100644
--- a/docs/build/html/api/com.r3corda.contracts.asset/-cash/-clauses/-issue/required-commands.html
+++ b/docs/build/html/api/com.r3corda.contracts.asset/-cash/-clauses/-issue/required-commands.html
@@ -8,12 +8,9 @@
requiredCommands
-val requiredCommands : Set < Class < out CommandData > >
+val requiredCommands : <ERROR CLASS>
Overrides Clause.requiredCommands
Classes for commands which must ALL be present in transaction for this clause to be triggered
-
Getter
-
Classes for commands which must ALL be present in transaction for this clause to be triggered
-
diff --git a/docs/build/html/api/com.r3corda.contracts.asset/-cash/-state/deposit.html b/docs/build/html/api/com.r3corda.contracts.asset/-cash/-state/deposit.html
index fa47c7addc..315d6ccceb 100644
--- a/docs/build/html/api/com.r3corda.contracts.asset/-cash/-state/deposit.html
+++ b/docs/build/html/api/com.r3corda.contracts.asset/-cash/-state/deposit.html
@@ -12,10 +12,6 @@
Overrides FungibleAsset.deposit
Where the underlying asset backing this ledger entry can be found. The reference
is only intended for use by the issuer, and is not intended to be meaningful to others.
-
Getter
-
Where the underlying asset backing this ledger entry can be found. The reference
-is only intended for use by the issuer, and is not intended to be meaningful to others.
-
diff --git a/docs/build/html/api/com.r3corda.contracts.asset/-cash/-state/exit-keys.html b/docs/build/html/api/com.r3corda.contracts.asset/-cash/-state/exit-keys.html
index 51e7e7b7eb..ddaea07e8b 100644
--- a/docs/build/html/api/com.r3corda.contracts.asset/-cash/-state/exit-keys.html
+++ b/docs/build/html/api/com.r3corda.contracts.asset/-cash/-state/exit-keys.html
@@ -8,12 +8,9 @@
exitKeys
-val exitKeys : Collection < PublicKey >
+val exitKeys : <ERROR CLASS>
Overrides FungibleAsset.exitKeys
There must be an ExitCommand signed by these keys to destroy the amount
-
Getter
-
There must be an ExitCommand signed by these keys to destroy the amount
-
diff --git a/docs/build/html/api/com.r3corda.contracts.asset/-cash/-state/index.html b/docs/build/html/api/com.r3corda.contracts.asset/-cash/-state/index.html
index fd2d43a154..e58cdbd7ab 100644
--- a/docs/build/html/api/com.r3corda.contracts.asset/-cash/-state/index.html
+++ b/docs/build/html/api/com.r3corda.contracts.asset/-cash/-state/index.html
@@ -51,7 +51,7 @@ is only intended for use by the issuer, and is not intended to be meaningful to
exitKeys
-val exitKeys : Collection < PublicKey >
There must be an ExitCommand signed by these keys to destroy the amount
+val exitKeys : <ERROR CLASS>
There must be an ExitCommand signed by these keys to destroy the amount
@@ -71,7 +71,7 @@ is only intended for use by the issuer, and is not intended to be meaningful to
participants
-val participants : List < PublicKey >
A participant is any party that is able to consume this state in a valid transaction.
+val participants : <ERROR CLASS>
A participant is any party that is able to consume this state in a valid transaction.
diff --git a/docs/build/html/api/com.r3corda.contracts.asset/-cash/-state/participants.html b/docs/build/html/api/com.r3corda.contracts.asset/-cash/-state/participants.html
index 89388968a0..cffdc93834 100644
--- a/docs/build/html/api/com.r3corda.contracts.asset/-cash/-state/participants.html
+++ b/docs/build/html/api/com.r3corda.contracts.asset/-cash/-state/participants.html
@@ -8,7 +8,7 @@
participants
-val participants : List < PublicKey >
+val participants : <ERROR CLASS>
Overrides ContractState.participants
A participant is any party that is able to consume this state in a valid transaction.
The list of participants is required for certain types of transactions. For example, when changing the notary
@@ -19,15 +19,6 @@ they possess, since someone consumed that state during the notary change process
list should just contain the owner.
-
Getter
-
A participant is any party that is able to consume this state in a valid transaction.
-
The list of participants is required for certain types of transactions. For example, when changing the notary
-for this state (TransactionType.NotaryChange ), every participants has to be involved and approve the transaction
-so that they receive the updated state, and dont end up in a situation where they can no longer use a state
-they possess, since someone consumed that state during the notary change process.
-
The participants list should normally be derived from the contents of the state. E.g. for Cash the participants
-list should just contain the owner.
-
diff --git a/docs/build/html/api/com.r3corda.contracts.asset/-cash/clauses.html b/docs/build/html/api/com.r3corda.contracts.asset/-cash/clauses.html
index 57e2fff2d4..6e6f7bd988 100644
--- a/docs/build/html/api/com.r3corda.contracts.asset/-cash/clauses.html
+++ b/docs/build/html/api/com.r3corda.contracts.asset/-cash/clauses.html
@@ -8,7 +8,7 @@
clauses
-val clauses : List < SingleClause >
+val clauses : <ERROR CLASS>
Overrides ClauseVerifier.clauses
diff --git a/docs/build/html/api/com.r3corda.contracts.asset/-cash/conserve-clause.html b/docs/build/html/api/com.r3corda.contracts.asset/-cash/conserve-clause.html
new file mode 100644
index 0000000000..0bef25ada9
--- /dev/null
+++ b/docs/build/html/api/com.r3corda.contracts.asset/-cash/conserve-clause.html
@@ -0,0 +1,16 @@
+
+
+
Cash.conserveClause -
+
+
+
+