From 7499f7cf1f7b57c9bf77fc118117bc33d7680cc7 Mon Sep 17 00:00:00 2001 From: Mike Hearn Date: Mon, 9 May 2016 18:13:23 +0200 Subject: [PATCH] Regen docsite --- docs/build/html/.buildinfo | 2 +- docs/build/html/_sources/data-model.txt | 166 +++++- .../-protocol-state-machine/-init-.html | 2 +- .../-protocol-state-machine/index.html | 12 +- .../-protocol-state-machine/logger-name.html | 15 + .../-protocol-state-machine/logger.html | 2 +- .../prepare-for-resume-with.html | 4 +- .../-requester/index.html | 4 +- .../-trader-demo-protocol-seller/index.html | 4 +- docs/build/html/api/index-outline.html | 14 +- .../protocols/-fetch-data-protocol/index.html | 4 +- .../protocols/-rates-fix-protocol/index.html | 4 +- .../-resolve-transactions-protocol/index.html | 4 +- .../-timestamping-protocol/index.html | 4 +- .../-seller/index.html | 4 +- docs/build/html/building-the-docs.html | 12 +- docs/build/html/codestyle.html | 10 +- docs/build/html/data-model.html | 166 +++++- docs/build/html/genindex.html | 10 +- docs/build/html/getting-set-up.html | 15 +- docs/build/html/index.html | 16 +- docs/build/html/inthebox.html | 15 +- docs/build/html/irs.html | 19 +- docs/build/html/messaging.html | 12 +- docs/build/html/node-administration.html | 28 +- docs/build/html/objects.inv | Bin 584 -> 578 bytes docs/build/html/oracles.html | 15 +- docs/build/html/protocol-state-machines.html | 19 +- docs/build/html/running-the-demos.html | 492 +++++++++--------- docs/build/html/search.html | 10 +- docs/build/html/searchindex.js | 2 +- docs/build/html/tutorial_contract.html | 10 +- docs/build/html/visualiser.html | 15 +- 33 files changed, 696 insertions(+), 415 deletions(-) create mode 100644 docs/build/html/api/core.protocols/-protocol-state-machine/logger-name.html diff --git a/docs/build/html/.buildinfo b/docs/build/html/.buildinfo index c6e7898e79..d958f98faa 100644 --- a/docs/build/html/.buildinfo +++ b/docs/build/html/.buildinfo @@ -1,4 +1,4 @@ # Sphinx build info version 1 # This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. -config: b08dca817adc75e78b383039f097775b +config: 02da61908148262295ef57918c434b8d tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/docs/build/html/_sources/data-model.txt b/docs/build/html/_sources/data-model.txt index 1bd401b23b..205ced41b7 100644 --- a/docs/build/html/_sources/data-model.txt +++ b/docs/build/html/_sources/data-model.txt @@ -1,13 +1,13 @@ Data model ========== -Description ------------ - This article covers the data model: how *states*, *transactions* and *code contracts* interact with each other and how they are represented in the code. It doesn't attempt to give detailed design rationales or information on future design elements: please refer to the R3 wiki for background information. +Overview +-------- + We begin with the idea of a global ledger. In our model, although the ledger is shared, it is not always the case that transactions and ledger entries are globally visible. In cases where a set of transactions stays within a small subgroup of users it should be possible to keep the relevant data purely within that group. @@ -19,16 +19,21 @@ consume/destroy, these are called **inputs**, and contains a set of new states t **outputs**. States contain arbitrary data, but they always contain at minimum a hash of the bytecode of a -**code contract**, which is a program expressed in some byte code that runs sandboxed inside a virtual machine. Code -contracts (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. +**contract code** file, which is a program expressed in JVM byte code that runs sandboxed inside a Java virtual machine. +Contract code (or just "contracts" in the rest of this document) are globally shared pieces of business logic. -To be considered 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 +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. + +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 arguments to the verify function. Each command has a list of **public keys** associated with it. The platform ensures -that the transaction is signed by every key listed in the commands before the contracts start to execute. Public keys -may be random/identityless for privacy, or linked to a well known legal identity via a *public key infrastructure* (PKI). +that the transaction is signed by every key listed in the commands before the contracts start to execute. Thus, a verify +function can trust that all listed keys have signed the transaction but is responsible for verifying that any keys required +for the transaction to be valid from the verify function's perspective are included in the list. Public keys +may be random/identityless for privacy, or linked to a well known legal identity, for example via a +*public key infrastructure* (PKI). Commands are always embedded inside a transaction. Sometimes, there's a larger piece of data that can be reused across many different transactions. For this use case, we have **attachments**. Every transaction can refer to zero or more @@ -50,8 +55,8 @@ attachment if the fact it's creating is relatively static and may be referred to As the same terminology often crops up in different distributed ledger designs, let's compare this to other distributed ledger systems you may be familiar with. You can find more detailed design rationales for why the platform -differs from existing systems in `the R3 wiki `_, but to summarise, the driving -factors are: +differs from existing systems in `the R3 wiki `_, +but to summarise, the driving factors are: * Improved contract flexibility vs Bitcoin * Improved scalability vs Ethereum, as well as ability to keep parts of the transaction graph private (yet still uniquely addressable) @@ -114,3 +119,140 @@ Differences: * Ethereum claims to be a platform not only for financial logic, but literally any kind of application at all. Our platform considers non-financial applications to be out of scope. +Rationale for and tradeoffs in adopting a UTXO-style model +---------------------------------------------------------- + +As discussed above, Corda uses the so-called "UTXO set" model (unspent transaction output). In this model, the database +does not track accounts or balances. Instead all database entries are immutable. An entry is either spent or not spent +but it cannot be changed. In Bitcoin, spentness is implemented simply as deletion – the inputs of an accepted transaction +are deleted and the outputs created. + +This approach has some advantages and some disadvantages, which is why some platforms like Ethereum have tried +(or are trying) to abstract this choice away and support a more traditional account-like model. We have explicitly +chosen *not* to do this and our decision to adopt a UTXO-style model is a deliberate one. In the section below, +the rationale for this decision and its pros and cons of this choice are outlined. + +Rationale +--------- + +Corda, in common with other blockchain-like platforms, is designed to bring parties to shared sets of data into +consensus as to the existence, content and allowable evolutions of those data sets. However, Corda is designed with the +explicit aim of avoiding, to the extent possible, the scalability and privacy implications that arise from those platforms' +decisions to adopt a global broadcast model. + +Whilst the privacy implications of a global consensus model are easy to understand, the scalability implications are +perhaps more subtle, yet serious. In a consensus system, it is critical that all processors of a transaction reach +precisely the same conclusion as to its effects. In situations where two transactions may act on the same data set, +it means that the two transactions must be processed in the same *order* by all nodes. If this were not the case then it +would be possible to devise situations where nodes processed transactions in different orders and reached different +conclusions as to the state of the system. It is for this reason that systems like Ethereum effectively run +single-threaded, meaning the speed of the system is limited by the single-threaded performance of the slowest +machine on the network. + +In Corda, we assume the data being processed represents financial agreements between identifiable parties and that these +institutions will adopt the system only if a significant number of such agreements can be managed by the platform. +As such, the system has to be able to support parallelisation of execution to the greatest extent possible, +whilst ensuring correct transaction ordering when two transactions seek to act on the same piece of shared state. + +To achieve this, we must minimise the number of parties who need to receive and process copies of any given +transaction and we must minimise the extent to which two transactions seek to mutate (or supersede) any given piece +of shared state. + +A key design decision, therefore, is what should be the most atomic unit of shared data in the system. This decision +also has profound privacy implications: the more coarsely defined the shared data units, the larger the set of +actors who will likely have a stake in its accuracy and who must process and observe any update to it. + +This becomes most obvious when we consider two models for representing cash balances and payments. + +A simple account model for cash would define a data structure that maintained a balance at a particular bank for each +"account holder". Every holder of a balance would need a copy of this structure and would thus need to process and +validate every payment transaction, learning about everybody else's payments and balances in the process. +All payments across that set of accounts would have to be single-threaded across the platform, limiting maximum +throughput. + +A more sophisticated example might create a data structure per account holder. +But, even here, I would leak my account balance to anybody to whom I ever made +a payment and I could only ever make one payment at a time, for the same reasons above. + +A UTXO model would define a data structure that represented an *instance* of a claim against the bank. An account +holder could hold *many* such instances, the aggregate of which would reveal their balance at that institution. However, +the account holder now only needs to reveal to their payee those instances consumed in making a payment to that payee. +This also means the payer could make several payments in parallel. A downside is that the model is harder to understand. +However, we consider the privacy and scalability advantages to overwhelm the modest additional cognitive load this places +on those attempting to learn the system. + +In what follows, further advantages and disadvantages of this design decision are explored. + +Pros +---- + +The UTXO model has these advantages: + +* Immutable ledger entries gives the usual advantages that a more functional approach brings: it's easy to do analysis + on a static snapshot of the data and reason about the contents. +* Because there are no accounts, it's very easy to apply transactions in parallel even for high traffic legal entities + assuming sufficiently granular entries. +* Transaction ordering becomes trivial: it is impossible to mis-order transactions due to the reliance on hash functions + to identify previous states. There is no need for sequence numbers or other things that are hard to provide in a + fully distributed system. +* Conflict resolution boils down to the double spending problem, which places extremely minimal demands on consensus + algorithms (as the variable you're trying to reach consensus on is a set of booleans). + +Cons +---- + +It also comes with some pretty serious complexities that in practice must be abstracted from developers: + +* Representing numeric amounts using immutable entries is unnatural. For instance, if you receive $1000 and wish + to send someone $100, you have to consume the $1000 output and then create two more: a $100 for the recipient and + $900 back to yourself as change. The fact that this happens can leak private information to an observer. +* Because users do need to think in terms of balances and statements, you have to layer this on top of the + underlying ledger: you can't just read someone's balance out of the system. Hence, the "wallet" / position manager. + Experience from those who have developed wallets for Bitcoin and other systems is that they can be complex pieces of code, + although the bulk of wallets' complexity in public systems is handling the lack of finality (and key management). +* Whilst transactions can be applied in parallel, it is much harder to create them in parallel due to the need to + strictly enforce a total ordering. + +With respect to parallel creation, if the user is single threaded this is fine, but in a more complex situation +where you might want to be preparing multiple transactions in flight this can prove a limitation – in +the worst case where you have a single output that represents all your value, this forces you to serialise +the creation of every transaction. If transactions can be created and signed very fast that's not a concern. +If there's only a single user, that's not a concern. + +Both cases are typically true in the Bitcoin world, so users don't suffer from this much. In the context of a +complex business with a large pool of shared funds, in which creation of transactions may be very slow due to the +need to get different humans to approve a tx using a signing device, this could quickly lead to frustrating +conflicts where someone approves a transaction and then discovers that it has become a double spend and +they must sign again. In the absolute worst case you could get a form of human livelock. + +The tricky part about solving these problems is that the simplest way to express a payment request +("send me $1000 to public key X") inherently results in you receiving a single output, which then can +prove insufficiently granular to be convenient. In the Bitcoin space Mike Hearn and Gavin Andresen designed "BIP 70" +to solve this: it's a simple binary format for requesting a payment and specifying exactly how you'd like to get paid, +including things like the shape of the transaction. It may seem that it's an over complex approach: could you not +just immediately respend the big output back to yourself in order to split it? And yes, you could, until you hit +scenarios like "the machine requesting the payment doesn't have the keys needed to spend it", +which turn out to be very common. So it's really more effective for a recipient to be able to say to the +sender, "here's the kind of transaction I want you to send me". The :doc:`protocol framework ` +may provide a vehicle to make such negotiations simpler. + +A further challenge is privacy. Whilst our goal of not sending transactions to nodes that don't "need to know" +helps, to verify a transaction you still need to verify all its dependencies and that can result in you receiving +lots of transactions that involve random third parties. The problems start when you have received lots of separate +payments and been careful not to make them linkable to your identity, but then you need to combine them all in a +single transaction to make a payment. + +Mike Hearn wrote an article about this problem and techniques to minimise it in +`this article `_ from 2013. This article +coined the term "merge avoidance", which has never been implemented in the Bitcoin space, +although not due to lack of practicality. + +A piece of future work for the wallet implementation will be to implement automated "grooming" of the wallet +to "reshape" outputs to useful/standardised sizes, for example, and to send outputs of complex transactions +back to their issuers for reissuance to "sever" long privacy-breaching chains. + +Finally, it should be noted that some of the issues described here are not really "cons" of +the UTXO model; they're just fundamental. +If you used many different anonymous accounts to preserve some privacy and then needed to +spend the contents of them all simultaneously, you'd hit the same problem, so it's not +something that can be trivially fixed with data model changes. diff --git a/docs/build/html/api/core.protocols/-protocol-state-machine/-init-.html b/docs/build/html/api/core.protocols/-protocol-state-machine/-init-.html index c3b7aa6837..91e8df4050 100644 --- a/docs/build/html/api/core.protocols/-protocol-state-machine/-init-.html +++ b/docs/build/html/api/core.protocols/-protocol-state-machine/-init-.html @@ -7,7 +7,7 @@ core.protocols / ProtocolStateMachine / <init>

<init>

-ProtocolStateMachine(logic: ProtocolLogic<R>, scheduler: <ERROR CLASS>)
+ProtocolStateMachine(logic: ProtocolLogic<R>, scheduler: <ERROR CLASS>, loggerName: String)

A ProtocolStateMachine instance is a suspendable fiber that delegates all actual logic to a ProtocolLogic instance. For any given flow there is only one PSM, even if that protocol invokes subprotocols.

These classes are created by the StateMachineManager when a new protocol is started at the topmost level. If diff --git a/docs/build/html/api/core.protocols/-protocol-state-machine/index.html b/docs/build/html/api/core.protocols/-protocol-state-machine/index.html index 88082f7093..c5d5bb4374 100644 --- a/docs/build/html/api/core.protocols/-protocol-state-machine/index.html +++ b/docs/build/html/api/core.protocols/-protocol-state-machine/index.html @@ -24,7 +24,7 @@ logic element gets to return the value that the entire state machine resolves to <init> -ProtocolStateMachine(logic: ProtocolLogic<R>, scheduler: <ERROR CLASS>)

A ProtocolStateMachine instance is a suspendable fiber that delegates all actual logic to a ProtocolLogic instance. +ProtocolStateMachine(logic: ProtocolLogic<R>, scheduler: <ERROR CLASS>, loggerName: String)

A ProtocolStateMachine instance is a suspendable fiber that delegates all actual logic to a ProtocolLogic instance. For any given flow there is only one PSM, even if that protocol invokes subprotocols.

@@ -37,7 +37,13 @@ For any given flow there is only one PSM, even if that protocol invokes subproto logger -lateinit var logger: <ERROR CLASS> +val logger: <ERROR CLASS> + + + +loggerName + +val loggerName: String @@ -67,7 +73,7 @@ For any given flow there is only one PSM, even if that protocol invokes subproto prepareForResumeWith -fun prepareForResumeWith(serviceHub: ServiceHub, withObject: Any?, logger: <ERROR CLASS>, suspendFunc: (FiberRequest, ByteArray) -> Unit): Unit +fun prepareForResumeWith(serviceHub: ServiceHub, withObject: Any?, suspendFunc: (FiberRequest, ByteArray) -> Unit): Unit diff --git a/docs/build/html/api/core.protocols/-protocol-state-machine/logger-name.html b/docs/build/html/api/core.protocols/-protocol-state-machine/logger-name.html new file mode 100644 index 0000000000..553476dc22 --- /dev/null +++ b/docs/build/html/api/core.protocols/-protocol-state-machine/logger-name.html @@ -0,0 +1,15 @@ + + +ProtocolStateMachine.loggerName - + + + +core.protocols / ProtocolStateMachine / loggerName
+
+

loggerName

+ +val loggerName: String
+
+
+ + diff --git a/docs/build/html/api/core.protocols/-protocol-state-machine/logger.html b/docs/build/html/api/core.protocols/-protocol-state-machine/logger.html index ee52ad408f..16dbe196f3 100644 --- a/docs/build/html/api/core.protocols/-protocol-state-machine/logger.html +++ b/docs/build/html/api/core.protocols/-protocol-state-machine/logger.html @@ -8,7 +8,7 @@

logger

-lateinit var logger: <ERROR CLASS>
+val logger: <ERROR CLASS>


diff --git a/docs/build/html/api/core.protocols/-protocol-state-machine/prepare-for-resume-with.html b/docs/build/html/api/core.protocols/-protocol-state-machine/prepare-for-resume-with.html index 314381a4e5..07bc56b70e 100644 --- a/docs/build/html/api/core.protocols/-protocol-state-machine/prepare-for-resume-with.html +++ b/docs/build/html/api/core.protocols/-protocol-state-machine/prepare-for-resume-with.html @@ -7,8 +7,8 @@ core.protocols / ProtocolStateMachine / prepareForResumeWith

prepareForResumeWith

- -fun prepareForResumeWith(serviceHub: ServiceHub, withObject: Any?, logger: <ERROR CLASS>, suspendFunc: (FiberRequest, ByteArray) -> Unit): Unit
+ +fun prepareForResumeWith(serviceHub: ServiceHub, withObject: Any?, suspendFunc: (FiberRequest, ByteArray) -> Unit): Unit


diff --git a/docs/build/html/api/demos.protocols/-auto-offer-protocol/-requester/index.html b/docs/build/html/api/demos.protocols/-auto-offer-protocol/-requester/index.html index 1b345047a9..6c3a23c013 100644 --- a/docs/build/html/api/demos.protocols/-auto-offer-protocol/-requester/index.html +++ b/docs/build/html/api/demos.protocols/-auto-offer-protocol/-requester/index.html @@ -116,8 +116,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 529de8fcab..0e191d15a6 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): 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/index-outline.html b/docs/build/html/api/index-outline.html index 2b43a39133..07bb9810b1 100644 --- a/docs/build/html/api/index-outline.html +++ b/docs/build/html/api/index-outline.html @@ -3437,10 +3437,11 @@ -ProtocolStateMachine(logic: ProtocolLogic<R>, scheduler: <ERROR CLASS>)
-lateinit var logger: <ERROR CLASS>
+ProtocolStateMachine(logic: ProtocolLogic<R>, scheduler: <ERROR CLASS>, loggerName: String)
+val logger: <ERROR CLASS>
+val loggerName: String
val logic: ProtocolLogic<R>
-fun prepareForResumeWith(serviceHub: ServiceHub, withObject: Any?, logger: <ERROR CLASS>, suspendFunc: (FiberRequest, ByteArray) -> Unit): Unit
+fun prepareForResumeWith(serviceHub: ServiceHub, withObject: Any?, suspendFunc: (FiberRequest, ByteArray) -> Unit): Unit
fun <T : Any> receive(topic: String, sessionIDForReceive: Long, recvType: Class<T>): UntrustworthyData<T>
val resultFuture: <ERROR CLASS><R>
fun run(): R
@@ -9067,10 +9068,11 @@ -ProtocolStateMachine(logic: ProtocolLogic<R>, scheduler: <ERROR CLASS>)
-lateinit var logger: <ERROR CLASS>
+ProtocolStateMachine(logic: ProtocolLogic<R>, scheduler: <ERROR CLASS>, loggerName: String)
+val logger: <ERROR CLASS>
+val loggerName: String
val logic: ProtocolLogic<R>
-fun prepareForResumeWith(serviceHub: ServiceHub, withObject: Any?, logger: <ERROR CLASS>, suspendFunc: (FiberRequest, ByteArray) -> Unit): Unit
+fun prepareForResumeWith(serviceHub: ServiceHub, withObject: Any?, suspendFunc: (FiberRequest, ByteArray) -> Unit): Unit
fun <T : Any> receive(topic: String, sessionIDForReceive: Long, recvType: Class<T>): UntrustworthyData<T>
val resultFuture: <ERROR CLASS><R>
fun run(): R
diff --git a/docs/build/html/api/protocols/-fetch-data-protocol/index.html b/docs/build/html/api/protocols/-fetch-data-protocol/index.html index 5b3995e19b..dd21de1c0f 100644 --- a/docs/build/html/api/protocols/-fetch-data-protocol/index.html +++ b/docs/build/html/api/protocols/-fetch-data-protocol/index.html @@ -168,8 +168,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/protocols/-rates-fix-protocol/index.html b/docs/build/html/api/protocols/-rates-fix-protocol/index.html index bf50fa6387..09193ae01b 100644 --- a/docs/build/html/api/protocols/-rates-fix-protocol/index.html +++ b/docs/build/html/api/protocols/-rates-fix-protocol/index.html @@ -164,8 +164,8 @@ before its sent back to the oracle for signing (for example, adding output state 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/-resolve-transactions-protocol/index.html b/docs/build/html/api/protocols/-resolve-transactions-protocol/index.html index 98494504fc..a152e583fb 100644 --- a/docs/build/html/api/protocols/-resolve-transactions-protocol/index.html +++ b/docs/build/html/api/protocols/-resolve-transactions-protocol/index.html @@ -101,8 +101,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/protocols/-timestamping-protocol/index.html b/docs/build/html/api/protocols/-timestamping-protocol/index.html index 4f43b5b7d7..34fb873859 100644 --- a/docs/build/html/api/protocols/-timestamping-protocol/index.html +++ b/docs/build/html/api/protocols/-timestamping-protocol/index.html @@ -120,8 +120,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/protocols/-two-party-trade-protocol/-seller/index.html b/docs/build/html/api/protocols/-two-party-trade-protocol/-seller/index.html index db1ce82626..9d9ec9c406 100644 --- a/docs/build/html/api/protocols/-two-party-trade-protocol/-seller/index.html +++ b/docs/build/html/api/protocols/-two-party-trade-protocol/-seller/index.html @@ -158,8 +158,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/building-the-docs.html b/docs/build/html/building-the-docs.html index abaf25ad69..370e872f98 100644 --- a/docs/build/html/building-the-docs.html +++ b/docs/build/html/building-the-docs.html @@ -8,7 +8,7 @@ - Building the documentation — R3 Prototyping latest documentation + Building the documentation — R3 Corda latest documentation @@ -30,7 +30,7 @@ - + @@ -50,7 +50,7 @@ - R3 Prototyping + R3 Corda @@ -96,7 +96,7 @@

Tutorials

@@ -122,7 +122,7 @@ @@ -215,7 +215,7 @@ following to see a list of all available formats:

- © Copyright 2015, R3 CEV. + © Copyright 2016, Distributed Ledger Group, LLC.

diff --git a/docs/build/html/codestyle.html b/docs/build/html/codestyle.html index d4f766b4ef..798229329d 100644 --- a/docs/build/html/codestyle.html +++ b/docs/build/html/codestyle.html @@ -8,7 +8,7 @@ - Code style guide — R3 Prototyping latest documentation + Code style guide — R3 Corda latest documentation @@ -30,7 +30,7 @@ - + @@ -51,7 +51,7 @@ - R3 Prototyping + R3 Corda @@ -128,7 +128,7 @@ @@ -332,7 +332,7 @@ really necessary. In other words, don’t do this:

- © Copyright 2015, R3 CEV. + © Copyright 2016, Distributed Ledger Group, LLC.

diff --git a/docs/build/html/data-model.html b/docs/build/html/data-model.html index 53638409c0..9a42dab87b 100644 --- a/docs/build/html/data-model.html +++ b/docs/build/html/data-model.html @@ -8,7 +8,7 @@ - Data model — R3 Prototyping latest documentation + Data model — R3 Corda latest documentation @@ -30,7 +30,7 @@ - + @@ -51,7 +51,7 @@ - R3 Prototyping + R3 Corda @@ -90,19 +90,23 @@
  • What’s included?
  • Getting set up
  • Data model
  • Networking and messaging
  • -
  • Running the demos
  • +
  • Running the demos
  • Node administration
  • The Interest Rate Swap Contract
  • Tutorials

    @@ -110,6 +114,7 @@ @@ -123,7 +128,7 @@ @@ -156,11 +161,11 @@

    Data model

    -
    -

    Description

    This article covers the data model: how states, transactions and code contracts interact with each other and how they are represented in the code. It doesn’t attempt to give detailed design rationales or information on future design elements: please refer to the R3 wiki for background information.

    +
    +

    Overview

    We begin with the idea of a global ledger. In our model, although the ledger is shared, it is not always the case that transactions and ledger entries are globally visible. In cases where a set of transactions stays within a small subgroup of users it should be possible to keep the relevant data purely within that group.

    @@ -170,15 +175,19 @@ are created and destroyed by digitally signed transactions. Eac consume/destroy, these are called inputs, and contains a set of new states that it will create, these are called outputs.

    States contain arbitrary data, but they always contain at minimum a hash of the bytecode of a -code contract, which is a program expressed in some byte code that runs sandboxed inside a virtual machine. Code -contracts (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. Beyond inputs and outputs, transactions may also contain commands, small data packets that +contract code file, which is a program expressed in JVM byte code that runs sandboxed inside a Java virtual machine. +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.

    +

    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 arguments to the verify function. Each command has a list of public keys associated with it. The platform ensures -that the transaction is signed by every key listed in the commands before the contracts start to execute. Public keys -may be random/identityless for privacy, or linked to a well known legal identity via a public key infrastructure (PKI).

    +that the transaction is signed by every key listed in the commands before the contracts start to execute. Thus, a verify +function can trust that all listed keys have signed the transaction but is responsible for verifying that any keys required +for the transaction to be valid from the verify function’s perspective are included in the list. Public keys +may be random/identityless for privacy, or linked to a well known legal identity, for example via a +public key infrastructure (PKI).

    Commands are always embedded inside a transaction. Sometimes, there’s a larger piece of data that can be reused across many different transactions. For this use case, we have attachments. Every transaction can refer to zero or more attachments by hash. Attachments are always ZIP/JAR files, which may contain arbitrary content. Contract code can then @@ -196,8 +205,8 @@ A TSA signs a transaction if a pre-defined timestamping command in it defines a attachment if the fact it’s creating is relatively static and may be referred to over and over again.

    As the same terminology often crops up in different distributed ledger designs, let’s compare this to other distributed ledger systems you may be familiar with. You can find more detailed design rationales for why the platform -differs from existing systems in the R3 wiki, but to summarise, the driving -factors are:

    +differs from existing systems in the R3 wiki, +but to summarise, the driving factors are:

    • Improved contract flexibility vs Bitcoin
    • Improved scalability vs Ethereum, as well as ability to keep parts of the transaction graph private (yet still uniquely addressable)
    • @@ -261,6 +270,125 @@ stateless i.e. it may not interact with any other part of the system whilst exec platform considers non-financial applications to be out of scope.
    +
    +

    Rationale for and tradeoffs in adopting a UTXO-style model

    +

    As discussed above, Corda uses the so-called “UTXO set” model (unspent transaction output). In this model, the database +does not track accounts or balances. Instead all database entries are immutable. An entry is either spent or not spent +but it cannot be changed. In Bitcoin, spentness is implemented simply as deletion – the inputs of an accepted transaction +are deleted and the outputs created.

    +

    This approach has some advantages and some disadvantages, which is why some platforms like Ethereum have tried +(or are trying) to abstract this choice away and support a more traditional account-like model. We have explicitly +chosen not to do this and our decision to adopt a UTXO-style model is a deliberate one. In the section below, +the rationale for this decision and its pros and cons of this choice are outlined.

    +
    +
    +

    Rationale

    +

    Corda, in common with other blockchain-like platforms, is designed to bring parties to shared sets of data into +consensus as to the existence, content and allowable evolutions of those data sets. However, Corda is designed with the +explicit aim of avoiding, to the extent possible, the scalability and privacy implications that arise from those platforms’ +decisions to adopt a global broadcast model.

    +

    Whilst the privacy implications of a global consensus model are easy to understand, the scalability implications are +perhaps more subtle, yet serious. In a consensus system, it is critical that all processors of a transaction reach +precisely the same conclusion as to its effects. In situations where two transactions may act on the same data set, +it means that the two transactions must be processed in the same order by all nodes. If this were not the case then it +would be possible to devise situations where nodes processed transactions in different orders and reached different +conclusions as to the state of the system. It is for this reason that systems like Ethereum effectively run +single-threaded, meaning the speed of the system is limited by the single-threaded performance of the slowest +machine on the network.

    +

    In Corda, we assume the data being processed represents financial agreements between identifiable parties and that these +institutions will adopt the system only if a significant number of such agreements can be managed by the platform. +As such, the system has to be able to support parallelisation of execution to the greatest extent possible, +whilst ensuring correct transaction ordering when two transactions seek to act on the same piece of shared state.

    +

    To achieve this, we must minimise the number of parties who need to receive and process copies of any given +transaction and we must minimise the extent to which two transactions seek to mutate (or supersede) any given piece +of shared state.

    +

    A key design decision, therefore, is what should be the most atomic unit of shared data in the system. This decision +also has profound privacy implications: the more coarsely defined the shared data units, the larger the set of +actors who will likely have a stake in its accuracy and who must process and observe any update to it.

    +

    This becomes most obvious when we consider two models for representing cash balances and payments.

    +

    A simple account model for cash would define a data structure that maintained a balance at a particular bank for each +“account holder”. Every holder of a balance would need a copy of this structure and would thus need to process and +validate every payment transaction, learning about everybody else’s payments and balances in the process. +All payments across that set of accounts would have to be single-threaded across the platform, limiting maximum +throughput.

    +

    A more sophisticated example might create a data structure per account holder. +But, even here, I would leak my account balance to anybody to whom I ever made +a payment and I could only ever make one payment at a time, for the same reasons above.

    +

    A UTXO model would define a data structure that represented an instance of a claim against the bank. An account +holder could hold many such instances, the aggregate of which would reveal their balance at that institution. However, +the account holder now only needs to reveal to their payee those instances consumed in making a payment to that payee. +This also means the payer could make several payments in parallel. A downside is that the model is harder to understand. +However, we consider the privacy and scalability advantages to overwhelm the modest additional cognitive load this places +on those attempting to learn the system.

    +

    In what follows, further advantages and disadvantages of this design decision are explored.

    +
    +
    +

    Pros

    +

    The UTXO model has these advantages:

    +
      +
    • Immutable ledger entries gives the usual advantages that a more functional approach brings: it’s easy to do analysis +on a static snapshot of the data and reason about the contents.
    • +
    • Because there are no accounts, it’s very easy to apply transactions in parallel even for high traffic legal entities +assuming sufficiently granular entries.
    • +
    • Transaction ordering becomes trivial: it is impossible to mis-order transactions due to the reliance on hash functions +to identify previous states. There is no need for sequence numbers or other things that are hard to provide in a +fully distributed system.
    • +
    • Conflict resolution boils down to the double spending problem, which places extremely minimal demands on consensus +algorithms (as the variable you’re trying to reach consensus on is a set of booleans).
    • +
    +
    +
    +

    Cons

    +

    It also comes with some pretty serious complexities that in practice must be abstracted from developers:

    +
      +
    • Representing numeric amounts using immutable entries is unnatural. For instance, if you receive $1000 and wish +to send someone $100, you have to consume the $1000 output and then create two more: a $100 for the recipient and +$900 back to yourself as change. The fact that this happens can leak private information to an observer.
    • +
    • Because users do need to think in terms of balances and statements, you have to layer this on top of the +underlying ledger: you can’t just read someone’s balance out of the system. Hence, the “wallet” / position manager. +Experience from those who have developed wallets for Bitcoin and other systems is that they can be complex pieces of code, +although the bulk of wallets’ complexity in public systems is handling the lack of finality (and key management).
    • +
    • Whilst transactions can be applied in parallel, it is much harder to create them in parallel due to the need to +strictly enforce a total ordering.
    • +
    +

    With respect to parallel creation, if the user is single threaded this is fine, but in a more complex situation +where you might want to be preparing multiple transactions in flight this can prove a limitation – in +the worst case where you have a single output that represents all your value, this forces you to serialise +the creation of every transaction. If transactions can be created and signed very fast that’s not a concern. +If there’s only a single user, that’s not a concern.

    +

    Both cases are typically true in the Bitcoin world, so users don’t suffer from this much. In the context of a +complex business with a large pool of shared funds, in which creation of transactions may be very slow due to the +need to get different humans to approve a tx using a signing device, this could quickly lead to frustrating +conflicts where someone approves a transaction and then discovers that it has become a double spend and +they must sign again. In the absolute worst case you could get a form of human livelock.

    +

    The tricky part about solving these problems is that the simplest way to express a payment request +(“send me $1000 to public key X”) inherently results in you receiving a single output, which then can +prove insufficiently granular to be convenient. In the Bitcoin space Mike Hearn and Gavin Andresen designed “BIP 70” +to solve this: it’s a simple binary format for requesting a payment and specifying exactly how you’d like to get paid, +including things like the shape of the transaction. It may seem that it’s an over complex approach: could you not +just immediately respend the big output back to yourself in order to split it? And yes, you could, until you hit +scenarios like “the machine requesting the payment doesn’t have the keys needed to spend it”, +which turn out to be very common. So it’s really more effective for a recipient to be able to say to the +sender, “here’s the kind of transaction I want you to send me”. The protocol framework +may provide a vehicle to make such negotiations simpler.

    +

    A further challenge is privacy. Whilst our goal of not sending transactions to nodes that don’t “need to know” +helps, to verify a transaction you still need to verify all its dependencies and that can result in you receiving +lots of transactions that involve random third parties. The problems start when you have received lots of separate +payments and been careful not to make them linkable to your identity, but then you need to combine them all in a +single transaction to make a payment.

    +

    Mike Hearn wrote an article about this problem and techniques to minimise it in +this article from 2013. This article +coined the term “merge avoidance”, which has never been implemented in the Bitcoin space, +although not due to lack of practicality.

    +

    A piece of future work for the wallet implementation will be to implement automated “grooming” of the wallet +to “reshape” outputs to useful/standardised sizes, for example, and to send outputs of complex transactions +back to their issuers for reissuance to “sever” long privacy-breaching chains.

    +

    Finally, it should be noted that some of the issues described here are not really “cons” of +the UTXO model; they’re just fundamental. +If you used many different anonymous accounts to preserve some privacy and then needed to +spend the contents of them all simultaneously, you’d hit the same problem, so it’s not +something that can be trivially fixed with data model changes.

    +
    @@ -282,7 +410,7 @@ platform considers non-financial applications to be out of scope.

    - © Copyright 2015, R3 CEV. + © Copyright 2016, Distributed Ledger Group, LLC.

    diff --git a/docs/build/html/genindex.html b/docs/build/html/genindex.html index e33296256b..935135001e 100644 --- a/docs/build/html/genindex.html +++ b/docs/build/html/genindex.html @@ -9,7 +9,7 @@ - Index — R3 Prototyping latest documentation + Index — R3 Corda latest documentation @@ -31,7 +31,7 @@ - + @@ -50,7 +50,7 @@ - R3 Prototyping + R3 Corda @@ -118,7 +118,7 @@ @@ -164,7 +164,7 @@

    - © Copyright 2015, R3 CEV. + © Copyright 2016, Distributed Ledger Group, LLC.

    diff --git a/docs/build/html/getting-set-up.html b/docs/build/html/getting-set-up.html index 165219c615..955be1df54 100644 --- a/docs/build/html/getting-set-up.html +++ b/docs/build/html/getting-set-up.html @@ -8,7 +8,7 @@ - Getting set up — R3 Prototyping latest documentation + Getting set up — R3 Corda latest documentation @@ -30,7 +30,7 @@ - + @@ -51,7 +51,7 @@ - R3 Prototyping + R3 Corda @@ -95,13 +95,13 @@
  • Data model
  • Networking and messaging
  • -
  • Running the demos
  • +
  • Running the demos
  • Node administration
  • The Interest Rate Swap Contract
  • Tutorials

    @@ -109,6 +109,7 @@ @@ -122,7 +123,7 @@ @@ -212,7 +213,7 @@ found at something like

    - © Copyright 2015, R3 CEV. + © Copyright 2016, Distributed Ledger Group, LLC.

    diff --git a/docs/build/html/index.html b/docs/build/html/index.html index 60a2b393d7..1b953abd4f 100644 --- a/docs/build/html/index.html +++ b/docs/build/html/index.html @@ -8,7 +8,7 @@ - Welcome to the R3 prototyping repository! — R3 Prototyping latest documentation + Welcome to the R3 prototyping repository! — R3 Corda latest documentation @@ -30,7 +30,7 @@ - + @@ -50,7 +50,7 @@ - R3 Prototyping + R3 Corda @@ -118,7 +118,7 @@ @@ -178,9 +178,13 @@ prove or disprove the following hypothesis:

  • Data model
  • Networking and messaging

    Tutorials

    @@ -109,6 +109,7 @@ @@ -122,7 +123,7 @@ @@ -246,7 +247,7 @@ to write contracts in both Kotlin and Java. You can

    - © Copyright 2015, R3 CEV. + © Copyright 2016, Distributed Ledger Group, LLC.

  • diff --git a/docs/build/html/irs.html b/docs/build/html/irs.html index 8cf3995e63..ce2217982a 100644 --- a/docs/build/html/irs.html +++ b/docs/build/html/irs.html @@ -8,7 +8,7 @@ - The Interest Rate Swap Contract — R3 Prototyping latest documentation + The Interest Rate Swap Contract — R3 Corda latest documentation @@ -30,8 +30,8 @@ - - + + @@ -51,7 +51,7 @@ - R3 Prototyping + R3 Corda @@ -91,7 +91,7 @@
  • Getting set up
  • Data model
  • Networking and messaging
  • -
  • Running the demos
  • +
  • Running the demos
  • Node administration
  • The Interest Rate Swap Contract

    Tutorials

    @@ -109,6 +109,7 @@ @@ -122,7 +123,7 @@ @@ -244,7 +245,7 @@ equivalent FixedRatePaymentEven
  • Getting set up
  • Data model
  • Networking and messaging
  • -
  • Running the demos
  • +
  • Running the demos
  • Node administration

    Tutorials

    @@ -110,6 +110,7 @@ @@ -123,7 +124,7 @@ @@ -240,10 +241,9 @@ EURIBOR 2016-03-15 2M = 0.111 @@ -252,7 +252,7 @@ EURIBOR 2016-03-15 2M = 0.111

    - © Copyright 2015, R3 CEV. + © Copyright 2016, Distributed Ledger Group, LLC.

    diff --git a/docs/build/html/objects.inv b/docs/build/html/objects.inv index 017b5207d5d9a71199c799bfa2d71d298d2898be..167d7ef5211b1cbff1c14edf7a8b89cc8225f70f 100644 GIT binary patch delta 16 XcmX@Xa)@PuHmh@fQA*-QGa)7bF(Cyv delta 22 dcmX@aa)M=oHg`Z#eo1~wWkF_M`bGmGCIDcn2mJs5 diff --git a/docs/build/html/oracles.html b/docs/build/html/oracles.html index b05126429f..52e4fcb991 100644 --- a/docs/build/html/oracles.html +++ b/docs/build/html/oracles.html @@ -8,7 +8,7 @@ - Writing oracle services — R3 Prototyping latest documentation + Writing oracle services — R3 Corda latest documentation @@ -30,7 +30,7 @@ - + @@ -51,7 +51,7 @@ - R3 Prototyping + R3 Corda @@ -91,13 +91,13 @@
  • Getting set up
  • Data model
  • Networking and messaging
  • -
  • Running the demos
  • +
  • Running the demos
  • Node administration
  • The Interest Rate Swap Contract
  • Tutorials

      -
    • Writing a contract
    • +
    • Writing a contract
    • Protocol state machines
    • Writing oracle services

      Tutorials

        -
      • Writing a contract
      • +
      • Writing a contract
      • Protocol state machines
        • Introduction
        • Theory
        • @@ -115,6 +115,7 @@ @@ -128,7 +129,7 @@ @@ -694,7 +695,7 @@ surfaced to human operators for investigation and resolution.

          Next - Previous + Previous @@ -703,7 +704,7 @@ surfaced to human operators for investigation and resolution.

          - © Copyright 2015, R3 CEV. + © Copyright 2016, Distributed Ledger Group, LLC.

          diff --git a/docs/build/html/running-the-demos.html b/docs/build/html/running-the-demos.html index 4c5e044a15..266322fb7e 100644 --- a/docs/build/html/running-the-demos.html +++ b/docs/build/html/running-the-demos.html @@ -1,302 +1,280 @@ + + - - - + + - + + + + + Running the demos — R3 Corda latest documentation + - + + - Running the demos — R3 Prototyping latest documentation + + + + - + + + + + - - - + + + + + - + + -
          - +
          +
          - - + + -
          -
          + +
          +
          + + + -
          - -
          -
          -
          -
          - -
          -

          Running the demos

          -

          The repository contains a small number of demo programs that run two-node networks, - demonstrating functionality developed - so far. We have:

          -
            -
          1. The trader demo, which shows a delivery-vs-payment atomic swap of commercial paper - for cash. You can learn more about - how this works in Protocol state machines. -
          2. -
          3. 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. -
          4. -
          -

          The demos have only been tested on MacOS X and Ubuntu Linux. If you have success on other - platforms, please let us know.

          -

          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.

          -

          For Windows users, the contents of the shell scripts are very trivial and can easily be - done by hand from a command - window. Essentially, it just runs Gradle to create the startup scripts, and then starts - the node with one set of - flags or another. Alternatively you could play with the new Linux syscall support in - Windows 10!

          -
          -

          Trader demo

          -

          Open two terminals, and in the first run::

          -
          -
          ./scripts/trader-demo.sh buyer
          -
          -
          -
          -

          It will compile things, if necessary, then create a directory named “buyer” - with a bunch of files inside and start - the node. You should see it waiting for a trade to begin.

          -

          In the second terminal, run:

          -
          -
          ./scripts/trader-demo.sh seller
          -
          -
          -
          -

          You should see some log lines scroll past, and within a few seconds the messages - “Purchase complete - we are a - happy customer!” and “Sale completed - we have a happy customer!” - should be printed.

          -

          If it doesn’t work, jump on the mailing list and let us know.

          -
          -
          -

          IRS demo

          -

          Open three terminals. In the first run::

          -
          -
          ./scripts/irs-demo.sh nodeA
          -
          -
          -
          -

          And in the second run::

          -
          -
          ./scripts/irs-demo.sh nodeB
          -
          -
          -
          -

          The node in the first terminal will complain that it didn’t know about nodeB, - so restart it. It’ll then find the - location and identity keys of nodeA and be happy. NodeB also doubles up as the - interest rates oracle and you should - see some rates data get loaded.

          -

          Now in the third terminal run::

          -
          -
          ./scripts/irs-demo.sh trade trade1
          -
          -
          -
          -

          You should see some activity in the other two terminals as they set up the deal. - Further instructions will be printed - at this point showing how to advance the current date, so you can see them perform - fixings and (eventually) complete - the deal.

          -
          -
          - - -
          -
          - - -
          -
          - -
          +
          + +
          +
          +
          +
          + +
          +

          Running the demos

          +

          The repository contains a small number of demo programs that run two-node networks, demonstrating functionality developed +so far. We have:

          +
            +
          1. The trader demo, which shows a delivery-vs-payment atomic swap of commercial paper for cash. You can learn more about +how this works in Protocol state machines.
          2. +
          3. 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.
          4. +
          +

          The demos have only been tested on MacOS X and Ubuntu Linux. If you have success on other platforms, please let us know.

          +

          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.

          +

          For Windows users, the contents of the shell scripts are very trivial and can easily be done by hand from a command +window. Essentially, it just runs Gradle to create the startup scripts, and then starts the node with one set of +flags or another. Alternatively you could play with the new Linux syscall support in Windows 10!

          +
          +

          Trader demo

          +

          Open two terminals, and in the first run::

          +
          ./scripts/trader-demo.sh buyer
          +
          +
          +

          It will compile things, if necessary, then create a directory named “buyer” with a bunch of files inside and start +the node. You should see it waiting for a trade to begin.

          +

          In the second terminal, run:

          +
          ./scripts/trader-demo.sh seller
          +
          +
          +

          You should see some log lines scroll past, and within a few seconds the messages “Purchase complete - we are a +happy customer!” and “Sale completed - we have a happy customer!” should be printed.

          +

          If it doesn’t work, jump on the mailing list and let us know.

          +
          +
          +

          IRS demo

          +

          Open three terminals. In the first run::

          +
          ./scripts/irs-demo.sh nodeA
          +
          +
          +

          And in the second run::

          +
          ./scripts/irs-demo.sh nodeB
          +
          +
          +

          The node in the first terminal will complain that it didn’t know about nodeB, so restart it. It’ll then find the +location and identity keys of nodeA and be happy. NodeB also doubles up as the interest rates oracle and you should +see some rates data get loaded.

          +

          Now in the third terminal run::

          +
          ./scripts/irs-demo.sh trade trade1
          +
          +
          +

          You should see some activity in the other two terminals as they set up the deal. Further instructions will be printed +at this point showing how to advance the current date, so you can see them perform fixings and (eventually) complete +the deal.

          +
          - - - - +
          +
          + + +
          +
          + + + + + - + + + + + - + + + + + + + + + + \ No newline at end of file diff --git a/docs/build/html/search.html b/docs/build/html/search.html index ee936e8720..21b2609338 100644 --- a/docs/build/html/search.html +++ b/docs/build/html/search.html @@ -8,7 +8,7 @@ - Search — R3 Prototyping latest documentation + Search — R3 Corda latest documentation @@ -30,7 +30,7 @@ - + @@ -49,7 +49,7 @@ - R3 Prototyping + R3 Corda @@ -117,7 +117,7 @@ @@ -167,7 +167,7 @@

          - © Copyright 2015, R3 CEV. + © Copyright 2016, Distributed Ledger Group, LLC.

          diff --git a/docs/build/html/searchindex.js b/docs/build/html/searchindex.js index 75b71c6391..7b92c9c6f6 100644 --- a/docs/build/html/searchindex.js +++ b/docs/build/html/searchindex.js @@ -1 +1 @@ -Search.setIndex({envversion:47,filenames:["building-the-docs","codestyle","data-model","getting-set-up","index","inthebox","irs","messaging","node-administration","oracles","protocol-state-machines","running-the-demos","tutorial_contract","visualiser"],objects:{},objnames:{},objtypes:{},terms:{"0_xx":3,"1mb":10,"8u45":3,"_before_":10,"_do_":10,"_in":8,"_is_":10,"_mbeans_":8,"abstract":10,"boolean":12,"break":[9,12],"byte":[1,2,5,10],"case":[2,7,9,10,12],"catch":[1,3,10],"class":[6,9,10],"default":[1,3,5,10,12],"export":[8,10],"final":[6,7,10,12],"float":[5,6],"function":[2,5,6,9,10,11],"import":[1,2,3,7,10,12],"instanceof":12,"int":[1,12],"long":[1,7,10,12],"new":[1,2,3,4,5,6,7,8,10,11,12],"null":[9,12],"public":[1,2,5,7,8,9,10,12],"return":[1,6,7,8,9,10,12],"short":[7,12],"static":[2,9,10,12],"switch":[5,10,12],"throw":[1,9,10,12],"transient":10,"true":[2,7,9,12,13],"try":[1,2,10,11,12,13],"var":12,"void":12,abil:[2,7],abl:[7,9],about:2,abov:[6,7,10,12],accept:[1,2,7,10,12],acceptablepric:10,access:[2,7,8,9,10,12],accid:10,accident:1,accordingli:7,account:2,accrual:6,accur:9,achiev:7,acknowledg:10,across:[2,10],act:[7,9,10],action:12,activ:[6,11],actor:[1,10],actual:[6,7,9,10,12],adapt:[1,9,10],add:[1,7,8,10,12],addarg:12,addcommand:10,addinputst:[10,12],addit:[1,12],addition:[9,10],addmessagehandl:7,addoutputst:[10,12],address:[2,7,10,12],adjust:[1,6],administr:5,advanc:[6,11],affect:9,affection:12,affinityexecutor:1,afraid:1,after:[2,5,6,9,10,12,13],again:[2,6,7,9,10,11,12],against:[6,10,12],agent:8,aggreg:12,agre:[3,6,10],agreement:[2,6],ahead:10,aim:1,algorithm:[2,5,12,13],alic:[12,13],aliceaddr:7,alicegetsback:[12,13],alicenod:7,aliv:10,all:[0,1,2,3,6,7,8,9,10,11,12],allow:[1,5,6,9,10,12],allpossiblerecipi:7,almost:[10,12],along:[5,7,9,10,12],alreadi:[1,9,10,12],alright:10,also:[1,2,3,5,6,7,8,10,11,12],alt:12,alter:[10,12],altern:[0,1,8,11],although:[2,5,6,7,12],alwai:[1,2,8,10,12],amounnt:10,amount:[5,6,10,12],amqp:5,ani:[1,2,6,7,8,9,10,12],annot:[1,10,12],anoth:[5,8,9,10,11,12],answer:[1,9],anticip:1,anyon:12,anyth:[2,7,9,10,12],anywher:[7,9,12],apach:[5,7],api:[5,8,9,10,11],app:8,appear:12,append:8,appendix:4,appli:[1,6,12],applic:[2,9],applyfix:6,approach:2,appropri:7,approv:10,arbitrari:[1,2,9,10,12],arbitrarili:5,architectur:9,area:7,aren:[10,12],arg:[12,13],arguabl:9,argument:[1,2,7,10,12],around:[2,7,9,10,12,13],arrai:[2,5,10],arrang:10,arriv:[9,10],arrow:6,artemi:5,articl:[2,7,9,10],artifact:12,ask:[1,10,12],aspect:10,assembl:2,assemblesharedtx:10,asset:[5,10],assetforsal:10,assetmismatchexcept:10,assettosel:10,assettypenam:10,assign:9,assist:[10,12,13],associ:[2,7,12],assum:[9,10,12],assumpt:10,atom:[9,10,11,12],attach:2,attempt:[2,3,4,7,10],attent:10,attest:9,attribut:1,audit:[2,10],authenticatedobject:12,author:[1,2,7,10],authoris:10,auto:[1,12],autom:12,automat:[0,7,10,12],avail:[0,6,7,8,9,12],avoid:[1,10],awai:[10,11],awar:[1,10],awkward:[1,10],axi:6,back:[9,10,12],backend:7,background:[1,2,7],backtick:12,backward:10,bad:[1,10,12],balanc:12,band:[9,10],bandwidth:1,bank:6,bankrupt:12,bankruptci:[2,9],base:[2,6],basi:[6,8],basic:[2,5],bear:[10,12],beauti:13,becaus:[1,3,7,8,9,10,12],becom:[1,6,10],been:[2,6,9,10,11,12],befor:[2,5,6,9,10,12],begin:[2,11,12],behav:12,behaviour:[5,8],behind:[10,12],below:[6,10],benefit:[10,12],best:1,bet:9,beta:3,better:[1,4,5,12,13],between:[1,6,7,9,10,11,12],beyond:[2,12],big:[1,10,12],bigdecim:9,bilater:[5,6],bill:12,binari:9,bind:[2,9],bit:[10,12,13],bitbucket:3,bitcoinj:10,blah:1,blank:[1,12],block:[1,2,4,7,9,10,12],blockchain:10,bloom:1,bloomfilt:1,blow:11,blue:[6,13],bob:12,bobaddr:7,bobnod:7,bodi:1,bond:12,bookkeep:[5,12],boost:5,borrow:13,both:[2,5,6,7,9,10,12],bottom:10,bound:[9,10],box:5,breadth:10,briefli:[7,13],broadcast:7,broke:1,broker:5,brows:5,bug:[1,5],bui:[5,10],build:[3,5,8,10],builder:12,built:[10,12],bullet:1,bunch:[11,12],bundl:2,busi:[2,5,7,9,10,12],buyer:[],buyersessionid:10,bytearrai:7,bytecod:[2,10,12],cach:7,calcul:[6,10,12],calendar:[6,9],calibr:2,call:[1,2,5,6,7,8,10,12],callback:[1,7,10],caller:12,came:10,can:[0,1,2,3,5,6,7,8,9,10,11,12,13],cannot:[2,9,12],capabl:12,capit:1,capitan:0,care:[1,7,9,10],carefulli:5,cash:[5,6,9,10,11,12,13],cashkt:12,cashsigningpubkei:10,cashstat:10,caus:[1,12],center:12,certain:[1,5,12],cev:3,chain:[2,9,10,12],chanc:[1,10],chang:[0,1,2,6,7,9,10,12,13],channel:10,charact:1,charg:9,check:[3,5,9,10],checkabl:9,checkdepend:10,checksufficientsignatur:10,child:10,children:10,childrenfor:10,choic:1,choos:[3,12],circl:13,claim:[2,5,12],clean:10,clear:10,clearer:[7,10],click:[3,13],client:[8,9],clock:9,clone:1,close:9,closur:1,cloud:8,cmd:12,codebas:[1,12],colleagu:1,collect:[1,8],collector:[1,8,10],column:8,com:[0,3],combin:[4,12],come:[5,10],command:[2,3,6,8,9,10,11],commanddata:9,commerci:[5,9,10,11],commercial_pap:12,commercialpap:[5,12,13],commercialpapertest:[12,13],commit:10,common:[6,10,12],commonleg:6,commonli:12,commun:3,compani:9,companion:[10,12],compar:[2,7],compil:[11,12],complet:[2,7,10,11,12],complex:[1,2,12],complic:[10,12],compon:7,compos:[10,12],compris:6,comput:[6,9,10],concept:[2,9,10,12],conceptu:10,concern:[10,12],conclus:9,concurrenthashmap:1,condit:[9,10],config:8,configur:[3,8,10],confirm:7,conflict:[2,4],confus:10,connect:[5,8,12],consensu:[7,9],consid:[1,2,6,9,12],consist:[2,5,6,10],constant:[1,12],constantli:9,constraint:9,construct:[1,7,10,12],constructor:[9,12],consult:9,consum:2,consumpt:9,contact:10,contain:[2,6,7,8,9,10,11,12],content:[1,2,3,7,8,9,11,12],context:[1,8,9],continu:6,contract:2,contractst:[12,13],contractstateref:12,contrast:[2,9,10],contribut:[],control:[1,2,3,8,10,12],conveni:[1,12],convent:[6,10],convert:[6,12],convinc:10,copi:[1,7,10,12],copyonwritearraylist:1,copyright:1,core:[7,12],correct:12,correctli:[2,9,12],correspond:12,correspondingli:1,cost:[9,12],could:[1,9,10,11,12],count:6,counter:[1,10],counterparti:6,countri:9,coupl:[9,10],cours:[8,9,12],cover:[2,9,10,12],cp_program_id:12,creat:2,createdummyir:6,createmessag:7,creation:[4,6,12],creator:9,crisp:12,crop:2,curl:8,currenc:[5,6,12],current:[1,2,5,6,7,9,10,11,12,13],currentwallet:10,curv:[5,6],custom:[8,11],cycl:1,dai:[6,8,9,12,13],dashboard:8,data:[],databas:[5,10],dataset:6,date:[6,8,9,11,12],deal:[1,9,11],debug:10,decd098666b9657314870e192ced0c3519c2c9d395507a238338f8d003929de9:8,decd:8,decentralis:9,decid:[9,12],declar:[1,7,12],dedic:1,defin:[1,2,5,7,8,9,10,12,13],definit:[10,12],delai:[6,9],delet:[1,10,12],deliv:7,deliveri:[7,10,11,12],demo:5,demonstr:11,denomin:5,dens:1,depend:[1,3,9,10,12],dependencytxid:10,deposit:[5,12],depth:12,deregist:7,deriv:[6,10,12],describ:[1,4,10,12],descript:[],design:[1,2,4,5,9,12],desir:[10,12],desktop:8,despit:[10,12],destin:7,destroi:[2,12],destroypaperatredempt:[12,13],destructur:12,detail:[2,5],detect:1,determin:6,develop:[1,2,5,7,10,11,12],diagram:[6,13],diamond:13,didn:[1,10,11,12],differ:[1,2,5,6,9,10,12],difficult:[7,10],digit:[2,9,10,12],digitalsignatur:[9,10],direct:1,directli:[1,8],directori:[0,3,11,12],directthreadexecutor:1,dirti:12,disallow:[],discuss:7,disk:10,disobei:9,disprov:4,disput:[6,12],distinguish:12,distribut:[2,5,9,10],distrust:10,dlg:10,doc:[0,1,12],docker:8,docsit:0,document:[2,5,6],doe:[1,2,5,6,7,8,9,10,12],doesn:[1,2,7,8,9,10,11,12],dokka:0,dollar:[12,13],domain:[12,13],don:[1,2,3,5,7,10,12],done:[0,2,10,11,12],dot:6,doubl:[11,12],doubt:[1,5],down:[1,9,12],download:3,downsid:1,drag:13,drive:2,driven:11,drm:9,dsl:[12,13],due:[1,5,6,9,10,12],dummi:12,dummy_pubkey_1:12,duplic:12,durat:[9,12],dure:[1,6],dynam:12,each:[1,2,5,6,7,9,10,12],earli:[1,12,13],earliest:6,eas:7,easi:[1,5,9,12],easier:[1,10,12],easiest:12,easili:[1,9,10,11],econom:6,edit:3,editor:3,effect:6,either:[1,5,6,9,10,12],element:2,ellipt:5,els:12,emb:12,embed:[2,5,8,9],emit:12,empti:12,enabl:12,encapsul:1,encod:9,encount:5,end:[1,5,6,9,10],endpoint:8,enforc:[1,12],engin:12,english:[1,12],enorm:10,enough:[1,7,10,12],ensur:[1,2,7,10,12],enter:12,entir:[2,6,7,9,12],entireti:6,entiti:[2,9,12],entri:[2,6,10,12],enumer:6,environ:[1,9,10],envisag:12,equal:[10,12],equival:[1,6,12],especi:13,essenti:[8,9,11,12],establish:11,etc:[1,6,9,10,12],euribor:[8,9],evalu:[6,9],even:[5,7,9,10,12],event:[1,2,6,9,10],eventu:11,ever:1,everi:[2,9,10,12],everybodi:9,everyon:9,everyth:[7,12],evid:9,evolv:12,exact:[9,12],exactli:[2,7,12],examin:[1,2,9,12],exampl:[0,1,2,6,7,9,10,12,13],excel:9,except:[1,10,12],excess:1,exchang:[6,10,12],execut:[2,9,12],executor:[1,7],exercis:12,exist:[2,4,6,12],exit:12,expect:[1,5,7,10,12],expectedtypenam:10,expectfailureoftx:12,expens:1,experiment:10,explain:[1,7,10],explan:1,explicit:[1,9,10],explicitli:[1,2,12],explor:[1,3,4,5,8,12],exploratori:7,expos:[1,7,8,9,10],exposur:6,express:[2,5,6,9,10,12],extend:[1,5,12],extens:[1,12],extern:[5,10],extract:[2,8,9,10,12],extrem:[9,12],face:[5,12,13],facevalu:12,fact:[1,2,6,9,10,12],factor:[2,6],fail:[7,12],failur:[10,12],fairli:[1,10],fake:[5,12],fals:[1,7,9,10,12],familiar:[2,12],far:[7,10,11,12],fashion:1,fast:7,fault:10,favour:[],featur:[1,10,12,13],feed:9,feel:12,fetch:[7,8,9],few:[1,5,7,8,9,10,11,12],fiber:10,field:[1,6,9,10,12,13],file:[0,1,2,7,8,10,11,12],fill:[1,10,12],filter:1,filterisinst:12,finalis:[6,10],financ:10,financi:[2,4,10],find:[0,2,8,10,11],finish:[7,10],firm:12,first:[1,3,4,6,7,8,9,10,11,12],firstli:12,fit:[1,2],fix:[2,5,6],fixedleg:6,fixedlegpaymentschedul:6,fixedratepaymentev:6,fixof:9,flag:[8,11],flexibl:2,floatingleg:6,floatinglegpaymentschedul:6,floatingratepaymentev:6,flow:[1,6,12],fly:10,fold:1,folder:0,follow:[0,1,3,4,7,8,9,10,12,13],font:1,foo:[1,7],foobrokenexcept:1,fooutil:12,forc:8,fordai:9,forget:[10,12],form:[10,12],formal:[7,12],format:[0,1,2,8],forth:10,forward:[7,9,10],found:[3,8,9,10],four:12,frame:[1,10],framework:5,free:[2,9,10],freeform:12,freeli:9,frequenc:6,frequent:10,fresh:[9,12],freshkei:10,freshli:12,from:[0,1,2,3,5,6,7,8,9,10,11,12,13],front:12,full:[1,7,10,12],fulli:[1,7,10,12],fullysign:10,fun:[9,10,12],fundament:[4,12],fungibl:5,funni:10,further:[5,6,11],futur:[2,4,9,10,12,13],gain:5,game:10,garbag:[1,8,10],gather:12,gcd:2,generateirsandfixsom:6,generateissu:12,generatemov:12,generateredeem:12,generatespend:[10,12],genuin:1,get:2,getbloomfilters:1,getclass:12,getcommand:12,getfacevalu:12,getfix:6,getinput:12,getissu:12,getkei:12,getlegalcontractrefer:12,getmaturityd:12,getoutput:12,getown:12,getprogramref:12,getprotocoltrack:10,getsign:12,getter:12,gettim:12,getvalu:12,git:3,github:0,give:[2,12],given:[2,7,9,10,12],givenpric:10,global:[1,2,9],glue:10,gnu:0,goal:[1,4,5,10],goe:11,gone:[10,12],good:[1,10,12,13],got:[8,10],gover:12,gradl:[3,5,11],gradlew:3,grammar:1,graph:[2,5,8,10,12,13],graphit:8,green:3,group:[2,7,13],groupstat:12,guava:[1,5],gui:10,hack:2,had:12,hand:[10,11,12],handl:[1,2,7,10,12],handler:[7,10],happen:[1,9,10,12],happi:11,hard:[1,10],harder:12,hase:6,hash:[2,5,8,9,10,12],hashcod:12,hassl:10,have:[1,2,5,6,7,9,10,11,12],haven:12,heap:10,heart:12,heavili:2,hedg:6,heirarchi:1,held:12,hell:10,hello:10,help:[1,7,10],helper:[6,7,12],henc:6,her:[12,13],here:[1,5,7,8,9,10,12,13],hierarch:10,hierarchi:10,high:[9,10],higher:[1,3,12],highlight:12,histori:10,hit:3,hold:[2,7],holder:[1,12],holidai:[6,9],home:3,hood:10,hotspot:1,how:[2,5,9,10,11],howev:[6,7,9,10,12],html:[0,1],http:[0,3,8,9,11,12],hub:10,human:[9,10],hundr:10,hurt:10,hypothesi:4,idea:[1,2,3,5,10,12],ideal:[10,12],ident:[2,9,10,11,12],identifi:[2,5,6,7,8,9,10],identityless:2,identityservic:10,ignor:12,illeg:9,illegalargumentexcept:[1,9,10,12],illegalstateexcept:[1,12],illustr:1,imagin:[1,10,12],immedi:12,immut:[1,2,6,9,12],imper:1,implement:[2,5,6],impli:10,implicitli:6,impos:[9,10,12],imposs:9,improv:[2,12,13],inbackground:7,includ:2,incorpor:9,increas:[1,7],indent:1,independ:9,index:[2,6,12],indic:[6,7,10,12],individu:[7,12],industri:[4,5,8],infer:12,infix:12,influenc:8,info:10,inform:[1,2,10,12],infrastructur:[2,8],inherit:[1,7,12],init:9,initi:[7,10,12],inmemorymessagingtest:7,inoutgroup:12,input:[2,9,10,12,13],insert:[1,7,8,9],insid:[2,7,10,11,12],instal:[0,3],instanc:2,instant:[1,9,10,12],instanti:[2,10],instead:[1,2,5,12],institut:5,institutionrefer:12,instruct:[8,11,12],instrument:6,insufficientbalanceexcept:12,integ:12,integr:[1,5,9,10,13],intellig:1,intend:[1,2,5,8,9,10],intent:[9,12,13],intention:1,interact:[1,2,9,10],interest:5,interestrateswap:5,interfac:5,intern:[5,7,12],internalis:1,interop:[5,12],interpret:[1,2,12],intersect:12,introduc:[1,9,12],introduct:5,intuit:1,invalid:[9,10,12],invari:12,investig:10,invoc:7,invok:[1,2,7,8,10,12],involv:[7,9,10,12],iou:5,ipsa:9,irsexport:6,irstest:6,irsutil:6,isaft:12,isempti:12,isinst:10,isn:[1,10,12],issu:[5,7,9,12,13],issuanc:[10,12,13],issuer:12,item:[3,12],iter:[10,12],itself:[2,6,7,8,9,10,12],jar:[0,2,8],jarinputstream:2,java:[1,5,7,8,10,12],javaclass:10,javacommercialpap:12,javadoc:1,jdk1:3,jdk:[3,10,12],jetbrain:[3,5],jira:5,jmx2graphit:8,jmx:8,jmxtran:8,join:[7,12],joint:12,jolokia:8,json:8,judgement:1,jump:11,junit:[5,12],just:[1,2,3,7,8,10,11,12],justifi:4,jvm:[2,5,8,10],kafka:7,kdoc:1,keep:[2,10,12,13],kei:[1,2,5,7,9,10,11,12],kept:10,key_mismatch_at_issu:12,keymanagementservic:10,keypair:[10,12],keyword:[1,12],kick:10,kind:[2,5,7,9,10,12],know:[5,9,10,11],knowledg:9,known:[2,6],kotin:12,kotlin:3,kryo:[5,7,10],label:[10,12,13],labori:12,land:6,languag:[1,2,3,4,5,12,13],larg:[9,10,12],larger:[1,2],latenc:9,later:[1,2,5,7,9,10,12],latest:[1,3],latter:[1,12],layer:[5,7,10],layout:13,lazili:[],lead:[1,12],leak:10,learn:[4,10,11,12],least:[9,12],leav:[1,10],ledger:[2,4,6,8,9,10,12,13],left:[7,10],leg:[5,6],legal:[2,9,12],legalcontractrefer:12,legallyidentifi:[9,10],legallyidentifiablenod:10,less:[10,12,13],let:[1,2,8,9,10,11,12],letter:1,level:[1,3,6,7,9,10,12],lib:0,liber:1,libor:[6,8,9],librari:[1,5,8,9,10,12],licens:1,lifecycl:[],lifetim:6,like:[1,2,3,6,7,8,9,10,12],likewis:12,limit:[2,4,12],line:[0,3,8,10,11],link:[1,2,9,10,12],linux:[8,11],list:[0,2,7,9,10,11,12],listen:[1,5],listenablefutur:10,liter:2,littl:[1,12],live:6,load:[11,12],loan:[6,9],local:[0,2,3,8,9,10],locald:9,localhost:8,locat:[9,11,12],lock:[1,12],log:[10,11],logger:10,logic:[2,5,7,10,12],logo:3,longer:[1,6,9,10],look:[1,6,7,8,9,10,12],loop:[1,6,12],loquitur:9,loss:9,lot:[1,6],low:10,lower:[1,9],lurch:10,mac:8,machin:[2,9],maco:11,made:[1,4,6,10],mai:[1,2,5,7,8,9,10,12],mail:11,main:[10,12,13],maintain:2,maintan:9,mainten:7,make:[0,1,6,7,9,10,12],makenod:7,maker:5,malici:10,manag:8,mani:[1,2,5,7,9,10,12],manner:10,manual:7,map:[6,9,10],mappabl:12,mark:[1,10,12],markdown:1,marker:[10,12],market:4,match:[2,7,9,10,12],matter:12,matur:[6,8,9,12],maturityd:12,maximis:2,maybestx:10,maybetraderequest:10,mbean:8,mean:[1,2,7,9,10],measur:[6,12],mechan:12,meet:12,mega_corp:12,mega_corp_kei:12,mega_corp_pubkei:13,megacorp:[12,13],member:6,memori:[],menlo:1,mention:10,menu:3,mere:[6,12],merg:[5,12],mess:10,messag:[2,5],messagehandlerregistr:7,messagerecipi:7,messagerecipientgroup:7,messagingservic:[7,10],method:8,metric:8,middl:[1,7,10],might:[1,6,10,12],mind:[1,9,10,12],mine:2,minim:10,minimum:[2,6],minu:12,minut:[5,9],misc:7,miss:[1,10,12],missingsig:10,mission:8,mix:[1,10,12],mock:7,mode:[5,7],model:[],modif:12,modifi:[3,6,10,12],modul:[7,12],moment:7,monei:[9,12],monetari:12,monitor:[],month:[6,10],more:[1,2,5,6,7,8,9,10,11,12],moreexecutor:1,most:[6,7,8,9,10,12],mostli:12,move:[10,12,13],movement:[10,12],much:[1,2,5,10,12],multi:[1,10,12],multipl:[2,7,12],multipli:6,must:[2,7,8,9,10,12],mutabl:[1,2,12],mutual:10,myfil:8,mykeypair:10,nail:1,name:[1,7,8,9,10,11,12],namespac:10,narrow:1,nativ:10,natur:12,naval:[2,9],navistar:9,necessari:[1,11],necessarili:[],need:[0,1,2,4,6,7,8,10,12],neither:[10,12],nest:10,net:[6,12,13],network:5,neutral:5,never:[1,9,12],newli:10,newown:12,next:[1,3,6,10,12],nio:1,noddi:8,node:[2,5],nodea:11,nodeb:11,nodeinterestr:9,nodeservic:9,non:[2,10],none:10,normal:[6,10,12],not_matured_at_redempt:12,notat:10,note:[0,1,2,3,6,10,12],noth:[1,2,12],notic:[1,12],notif:7,notifi:7,notion:[2,5,6,12],notnul:12,now:[1,3,7,9,10,11,12,13],nugget:12,nullpublickei:12,number:[1,6,7,9,10,11,12],obj:12,object:[1,2,5,6,7,8,9,10,12,13],oblig:6,observ:[6,9,10],observatori:[2,9],obsolet:5,obtain:[1,13],obviou:[1,9],obvious:[6,12],occasion:[],occur:[9,10,12],occurr:9,odd:[10,12],off:[7,10,12,13],offer:10,offlin:7,offset:6,often:[1,2,6,9,10,12],oftenor:9,onc:[0,1,5,6,7,9,10,12],onli:[1,2,5,6,7,8,9,10,11,12,13],onto:[1,10,12,13],opaqu:[5,7],opaquebyt:12,open:[2,3,9,10,11,13],openjdk:3,oper:[6,7,8,9,10,12],opposit:[],optim:1,option:[0,6,7,9,10,12],oracl:[2,3,5,6,8],ordain:6,order:[0,5,6,7,10,12,13],ordinari:[2,5,10,12],org:[0,3,12],orient:[],origin:12,otc:5,other:[1,2,5,6,7,9,10,11,12],othersid:10,otherwis:[10,12],our:[1,2,10,12],ourselv:[10,12],oursignatur:10,out:[1,2,3,5,8,9,10,12],outag:7,outcom:10,outlin:10,outpoint:2,output:[2,9,10,12,13],outsid:[2,7,9,10,12],outstat:12,over:[1,2,6,7,8,9,10,12],overal:7,overflow:1,overload:10,overrid:[10,12],overview:4,own:[1,7,8,9,10,12,13],ownablest:10,owned_bi:12,owner:[10,12],ownership:[10,12],owningkei:[10,12],p2p:[5,10],pack:12,packet:2,page:[9,12],pai:[9,10,12,13],paid:6,pair:[2,10,12],paper:[5,10,11],paper_1:[12,13],parallel:[7,10],paramet:[1,10,12],parameteris:2,parent:10,pars:9,part:[1,2,9,10,12],parti:[5,6,9],partial:[10,12],partialtx:10,particip:[2,12],particular:[1,8,10],partyrefer:12,pass:[7,10,12,13],past:[1,9,11,12],patch:1,path:[1,8,12],pattern:[1,2,12],payer:6,payment:[6,9,10,11,12,13],pdf:9,peer:[5,7,9,10],penni:12,peopl:[1,2,5,12],per:1,perform:[1,6,9,10,11,12],perhap:12,period:6,perman:[5,12],persist:[5,7,10],perspect:[10,12],phrase:9,physic:9,pick:[7,10,12],piec:[1,2,7,10,12],ping:7,pip:0,pki:2,place:[0,1,2,5,6,7,9,10,12],plai:[10,11],plan:7,platform:[2,4,5,6,7,9,10,11,12],pleas:[1,2,11,12],plugin:[3,8],point:[1,2,8,9,10,11,12],pointer:10,pointless:1,pong:7,pool:[1,10],poor:2,pop:[3,7],popular:5,posess:10,posit:[1,10],possibl:[2,4,7,9,10,12],potenti:[1,5,10,12],pound:12,power:[2,4],practic:[2,12],pre:[0,2,6,10,12],preced:12,precis:[5,9],precondit:1,prefer:[1,2],prefix:10,preliminari:7,prepar:12,present:[4,6,9,12],press:12,pretend:8,pretti:[10,12],prevent:12,previous:[6,9],price:[2,9,10],primari:[5,9],primit:12,print:11,priv:10,privaci:[1,2,10,12],privat:[2,10,12],probabl:[3,9,12],problem:[9,10],proce:10,procedur:10,process:[6,7,8,12],process_:8,produc:[0,12,13],product:[1,4,5,12],profit:[12,13],program:[1,2,5,7,8,10,11,12],programref:12,progress:6,progresstrack:10,project:[3,11],proof:[2,4],propag:[4,8,12],properli:10,properti:[8,10,12],propos:10,prose:9,protect:10,protocol:[2,5,8,9],protocollog:10,protocolstatemachin:10,protocoltrack:10,prototyp:2,prove:[2,4,12],provid:[0,1,2,6,7,8,9,10,12],pseudo:9,ptx:10,publickei:[10,12],publicli:[],pull:3,pump:7,punish:9,purchas:[10,11],pure:[2,9],purpos:[5,10,12],put:[1,10,12],python:0,qualiti:4,quantiti:[2,5,12],quasar:10,queri:[6,9],question:[1,9],queue:[1,5,7,10],quick:9,quickli:[7,12],quit:[1,9,10,12],r3prototyp:0,r3repositori:3,random63bitvalu:10,random:[2,10],rang:9,rapid:[1,5],rate:5,ratefixprotocol:9,rather:[1,2,10,12],rational:2,raw:[8,10],reach:[6,9],reachabl:10,read:[1,4,5,8,9,10,12],readabl:[5,10],reader:12,readi:12,readm:1,real:[1,5,7,9,12],realis:10,realism:7,realiti:6,realli:[1,10,12],reason:[1,6,10,12],reassign:12,recal:6,receiv:[2,6,7,9,10,12,13],receiveandcheckproposedtransact:10,receiveandvalidatetraderequest:10,recipi:[7,12],recognis:[2,9,12],recommend:[1,7],record:7,recov:7,recreat:10,red:[3,6],redeem:[5,12,13],redempt:[12,13],redemptiontim:[12,13],reduc:1,redund:1,ref:[10,12],refer:[2,5,6,9,10,12],refin:5,reflect:12,refus:3,regardless:10,regener:6,regist:[1,7,8,10],registr:7,regular:[5,8,10,12],reissuanc:12,reject:12,rel:[2,7],relabelablestep:10,relat:[6,12],relationship:12,releas:13,relev:2,reli:2,reliabl:7,relianc:2,relic:8,religi:1,remain:[12,13],rememb:[1,10,12],remind:10,remov:[7,10,12],render:[1,10,13],repeat:[1,6,7,10],replac:[6,8,12],replic:2,report:7,repositori:[],repres:[1,2,6,7,9,10,12],represent:6,request:[7,9,10],requir:[5,6,8,9,10],requiresinglecommand:12,requirethat:12,resel:9,reserv:10,reset:6,resolut:[2,4,10],resolv:10,resolvetransactionsprotocol:10,resourc:10,respect:[1,10,12],respons:[7,9,10],rest:[2,7,8,10],restart:[3,10,11],restor:10,restructuredtext:0,result:[1,2,6,9,10,12],resultfutur:10,resum:10,resurrect:10,retri:[7,10],retriev:6,reus:[2,10],reusabl:9,reveal:[10,12],revers:10,review:1,revis:6,rewrit:10,right:[1,3,7,8,10],rigid:2,rigidli:1,risk:10,roll:[6,10],rollov:12,root:[11,12,13],roughli:9,rout:10,router:7,rule:[1,9,10,12],run:[2,3,5,8,10],runbuy:10,runnetwork:7,runsel:10,runtim:[1,10],safe:[1,2,10,12],safeti:1,sai:[1,12],sale:[11,12],same:[1,2,5,6,7,9,10,12,13],sandbox:[2,5,12],saniti:10,satisfi:12,save:[1,12],scala:[5,12],scalabl:[1,2],scale:6,scene:[10,12],schedul:[6,8],scope:[2,12],scrape:8,screen:[1,3],script:[0,2,11,12],scroll:11,scrub:10,seamless:5,search:[3,10,12],second:[6,10,11,12],secondari:10,secp256r1:5,section:12,secur:[2,7,10],securehash:12,see:[0,1,5,6,7,9,10,11,12],seed:10,seen:[1,6,9,10,12,13],select:[3,12],self:5,sell:[5,10,12],seller:[],sellerownerkei:10,sellersig:10,sellertradeinfo:10,semi:[2,9],send:[1,2,7,8,9,10,12],sendandrec:10,sendsignatur:10,sens:[6,9,10,12],sent:[7,10,12],separ:[8,9,10,12],sequenc:7,sequenti:[7,10],seri:10,serial:[5,7,12],serialis:[1,5,7,10,12],serializablewithkryo:12,serializeablewithkryo:12,server:[8,9],servic:8,servicehub:10,session:[7,10],sessionid:10,set:2,setof:10,setter:12,settim:10,settl:[7,9],settlement:10,sever:[2,10,12],sha256:12,sha256sum:8,sha:[2,8],share:[2,4,6,9,10,12],shasum:8,she:12,shell:11,shortcut:5,shorthand:12,shot:7,should:[1,2,3,5,7,10,11,12],shoulder:1,shouldn:[10,12],show:[2,3,5,11,12,13],shown:[10,12],shutdown:10,side:[9,10],sig:12,sign:[2,5,6,7,9,10,12],signatur:[2,5,7,9,10,12],signatureexcept:10,signaturesfromsel:10,signedtransact:[10,12],signer:[9,12],significantli:6,signoff:9,signwith:[10,12],signwithecdsa:10,signwithourkei:10,silver:1,similar:[1,2,7,9,12],similarli:[],simpl:[1,5,6,7,8,10,12,13],simpler:5,simplest:[10,12],simpli:[1,7,10,12],simplifi:[1,2,5,7,12],simultan:[7,10,12],singl:[1,2,8,9,10,12,13],singlemessagerecipi:[7,10],singleton:[10,12],sit:7,site:1,situat:1,size:[1,6,10,12],skip:10,slight:12,slightli:12,slow:1,small:[2,5,9,10,11,12,13],smart:[5,9],smm:10,smooth:12,snide:0,snippet:[10,12],softwar:[5,10],sold:[10,12,13],solv:[9,10],solvenc:9,some:[1,2,5,7,8,9,10,11,12,13],somed:12,someon:[7,12],someprofit:[12,13],someth:[1,3,6,11,12],sometim:[2,7,8,9,10,12],somewhat:[2,10],somewher:[12,13],sort:[9,10],sound:[10,12,13],sourc:[6,9,10],space:9,sparingli:1,special:2,specialis:10,specif:[2,7,8,9,10,12,13],specifi:[0,1,5,7,9,10,12],speed:10,spend:[2,10,12],sphinx:0,sphinx_rtd_them:0,split:[5,12],spread:[7,10],spreadsheet:9,squar:13,src:[12,13],stack:10,stage:[1,10,12],stai:[2,12],standalon:[5,9],standard:[1,4,5,8,10,12],standardis:[2,12],start:[2,6,8,10,11],startup:11,state:[2,5,6,9],stateandref:[10,12],stateless:2,statemachinemanag:10,statement:[1,9,10,12],stateref:2,statesoftyp:10,statist:8,status:2,step:[9,10,12],still:[2,10,12],stock:[2,9],stop:[1,7,10],storag:2,store:[10,12],stori:1,straightforward:[10,12],stream:10,stress:1,strictli:6,string:[7,9,10,12],strong:5,structur:[1,2,3,5,9,10,12],studi:12,stuff:[1,10],stx:10,sub:10,subclass:10,subgroup:2,submenu:3,submiss:9,submit:[1,7,10],subprotocol:10,subscrib:7,subtask:10,subtl:1,success:11,successor:5,sudo:0,suffic:9,suffici:[4,7,9],suffix:12,suggest:[7,12],suitabl:7,sum:12,sumcashbi:[10,12],sumcashornul:12,summaris:2,sun:1,superclass:10,superior:1,supertyp:12,support:[1,5,6,7,9,10,11,12],suppos:[10,12],sure:12,surfac:10,surround:[1,12],surviv:10,suspend:[],swap:5,swapsignatureswithsel:10,symbol:3,synchronis:[1,2,9],syntax:[5,12],syscal:11,system:[2,5,8,9,10,12],tab:[1,3],tag:1,tailor:4,take:[1,5,6,10,12,13],tamper:10,target:[0,1,2,5,8],targetrecipi:7,task:[2,10],technic:[],techniqu:[1,9,12],tell:[0,7,10],tempor:9,temporari:2,temporarili:10,tempt:12,temptat:10,ten:12,tenor:[6,8,9],term:[2,12],termin:[6,8,10,11],terminolog:2,test:[3,5,10,11],test_tx_tim:12,testutil:12,testwithinmemorynetwork:7,text:[1,3,8],than:[1,2,4,8,10,12,13],thei:[1,2,5,6,7,8,9,10,11,12],theirsessionid:10,them:[1,2,5,6,7,8,10,11,12],themselv:[7,9,10,12],theori:9,therefor:[5,10,12],thi:[0,1,2,3,4,5,6,7,8,9,10,11,12,13],thing:[1,2,5,9,10,11,12],think:[1,3,10,12],third:[11,12],those:[7,8,9,10,12],though:[7,8,10,12],thought:[2,5],threadsaf:1,three:[11,12],threshold:12,through:[2,6,8,10,12],throwifsignaturesaremiss:10,thrown:12,thu:[1,8,9,12],tighten:12,tightli:10,time:[1,2,5,6,8,9,10,12,13],timelin:12,timestamp:[1,2,5,9,10,12],timestampauthoritysig:10,timestampcommand:9,timestampercli:12,timestamperservic:9,timestampingauthor:10,timestampingprotocol:10,todo:[1,10,12],togeth:[2,10,12],told:1,toledgertransact:10,toler:9,too:[1,10,12,13],took:10,tool:[5,8],top:[1,10,12],topic:[7,10],topriv:10,toset:10,tosignedtransact:[10,12],tostr:[1,10,12],total:12,trace:10,track:[],tracker:[5,10],trade1:11,trade:[5,6,9],trade_top:10,tradeoff:[1,9],trader:[],traderequest:10,tradit:12,traffic:10,transact:[2,4,8,9,10,12,13],transactionbuild:[10,12],transactionforverif:12,transactiongroup:12,transactiongroupdsl:13,transactiongroupfor:13,transactiongroupfortest:12,transfer:12,transit:[4,12],treat:12,tree:10,tri:12,tricki:10,trigger:9,trivial:[1,11],trust:10,truth:10,tsa:[2,10],tsasig:10,ture:2,turn:[10,12],tutori:[4,5,9,10,12],twice:5,two:[5,6],twopartytradeprotocol:10,txbit:10,txhash:[2,10,12],txt:8,type:[1,2,6,9,10,12],typenam:10,typetobui:10,typic:[7,8,10,12],ubuntu:11,unacceptablepriceexcept:10,under:[0,10,12],underli:[6,10],underscor:12,understand:8,unexecut:12,unexpect:10,unfinish:10,unfortun:[10,12],unguess:10,uniqu:[2,9,10],unit:[3,5,7,10,12,13],unix:8,unknow:9,unless:[1,9,10,12],unlik:12,unnecessari:12,unpack:[10,12],unread:10,unrecognis:12,unrel:12,unserialis:10,unset:6,unspent:2,unstart:10,unsupportedoperationexcept:12,until:[6,7,10],untrustworthydata:10,unus:7,unusu:12,unwieldi:[],updat:[2,3,7,10,12],upgrad:[3,4],upload:[],upon:[6,10,12],url:3,usabl:5,usag:[1,9,10,12],useless:12,user:[0,1,2,5,7,9,10,11],usr:0,util:[5,7,12],utxo:2,vagu:1,val:[7,9,10,12,13],valid:[2,6,9,10,12],valu:[5,6,9,12,13],valuabl:9,valuat:6,vanilla:[5,6],vari:[],variabl:[6,10,12],variant:12,variou:[1,2,5,8,10,12],vendor:[5,8],verbos:12,veri:[1,2,5,9,11,13],verif:[2,5],verifi:[2,5,9,10],verifytransact:10,versa:[6,10],version:[3,5,6,7,10,12],versu:10,vertic:1,via:[0,1,2,6,8,9,10,11],vice:[6,10],view:[1,6],virtual:[2,4],visibl:2,visualis:[],vital:10,wai:[1,2,5,8,9,10,12],wait:[3,7,10,11],wallet:[2,10,12],walletservic:10,want:[1,3,7,8,9,10,12],weak:9,web:[8,9],websit:12,weekend:6,well:[0,1,2,5,6,8,9,10,12],went:1,were:[1,9,10,12],what:2,whatev:[1,10],when:[1,6,7,8,9,10,12],whenev:1,where:[1,2,6,7,8,9,10],wherea:6,wherev:8,whether:[7,9,10],which:[0,1,2,5,6,7,8,9,10,11,12],whilst:[2,9,10,12],who:[1,5,7,10,12],whole:12,whom:7,whose:8,why:[1,2,5,12],wide:[1,7,12],widescreen:1,widespread:1,width:1,wiki:[2,12],wikipedia:12,window:[2,10,11,13],wirecommand:12,wiretransact:[9,10],wish:[7,9,10,12],within:[0,2,8,11],withkei:10,withnewown:10,without:[],withoutown:12,won:[7,9,10,12],word:1,work:[1,2,3,4,5,6,7,8,9,10,11,12],worker:1,world:[2,9,10,12],worn:12,worri:[1,5,10],worth:[1,12],worthless:9,would:[1,5,6,7,8,9,10,12],wouldn:[9,12],wrap:[1,8,10,12],wrapper:10,write:[5,8],written:[0,2,5,6,12],wrong:[1,10,11],wtx:[9,10],www:[0,3],year:6,yet:[1,2,6,10,12],yield:[2,10],you:[0,1,2,3,5,7,8,9,10,11,12,13],your:[],your_usernam:3,zero:[2,12],zip:[2,8]},titles:["Building the documentation","Code style guide","Data model","Getting set up","Welcome to the R3 prototyping repository!","What’s included?","The Interest Rate Swap Contract","Networking and messaging","Node administration","Writing oracle services","Protocol state machines","Running the demos","Writing a contract","Using the visualiser"],titleterms:{"class":12,"function":12,about:3,administr:8,api:12,approach:9,assert:[1,9],asset:12,attach:8,base:12,basic:9,bitcoin:2,build:0,buyer:10,check:12,code:1,command:12,comment:1,commerci:12,comparison:2,complain:3,continu:9,contract:[5,6,12],creat:6,data:[2,9],demo:11,descript:2,detail:6,document:0,download:8,error:1,ethereum:2,fix:8,framework:9,fungibl:[],gener:[1,12],get:3,group:12,guid:1,how:12,implement:[7,9,10],includ:5,instanc:6,intellij:3,interest:[6,8],interfac:7,introduct:[9,10],known:9,kotlin:5,lack:3,length:1,lifecycl:6,line:1,machin:10,manag:10,map:7,memori:7,messag:7,method:10,model:2,monitor:8,network:7,node:8,non:12,occasion:9,oracl:9,orient:12,paper:12,parti:10,progress:10,protocol:10,prototyp:4,publicli:9,rate:[6,8],repositori:4,requir:[0,12],run:11,sdk:3,seller:10,servic:[7,9],set:3,smart:12,space:1,start:12,state:[10,12],style:1,suspend:10,swap:6,technic:6,test:12,theori:10,thread:1,track:10,trade:10,trader:11,two:[9,10],understand:[],upload:8,vari:9,verifi:12,visualis:13,welcom:4,what:5,without:3,write:[9,12],your:[8,12]}}) \ No newline at end of file +Search.setIndex({envversion:47,filenames:["building-the-docs","codestyle","data-model","getting-set-up","index","inthebox","irs","messaging","node-administration","oracles","protocol-state-machines","running-the-demos","tutorial_contract","visualiser"],objects:{},objnames:{},objtypes:{},terms:{"0_xx":3,"1mb":10,"8u45":3,"_before_":10,"_do_":10,"_in":8,"_is_":10,"_mbeans_":8,"abstract":[2,10],"boolean":[2,12],"break":[9,12],"byte":[1,2,5,10],"case":[2,7,9,10,12],"catch":[1,3,10],"class":[],"default":[1,3,5,10,12],"export":[8,10],"final":[2,6,7,10,12],"float":[5,6],"function":[],"import":[1,2,3,7,10,12],"instanceof":12,"int":[1,12],"long":[1,2,7,10,12],"new":[1,2,3,4,5,6,7,8,10,11,12],"null":[9,12],"public":[1,2,5,7,8,9,10,12],"return":[1,6,7,8,9,10,12],"short":[7,12],"static":[2,9,10,12],"switch":[5,10,12],"throw":[1,9,10,12],"transient":10,"true":[2,7,9,12,13],"try":[1,2,10,11,12,13],"var":12,"void":12,abil:[2,7],abl:[2,7,9],about:[],abov:[2,6,7,10,12],absolut:2,accept:[1,2,7,10,12],acceptablepric:10,access:[2,7,8,9,10,12],accid:10,accident:1,accordingli:7,account:2,accrual:6,accur:9,accuraci:2,achiev:[2,7],acknowledg:10,across:[2,10],act:[2,7,9,10],action:12,activ:[6,11],actor:[1,2,10],actual:[6,7,9,10,12],adapt:[1,9,10],add:[1,7,8,10,12],addarg:12,addcommand:10,addinputst:[10,12],addit:[1,2,12],addition:[9,10],addmessagehandl:7,addoutputst:[10,12],address:[2,7,10,12],adjust:[1,6],administr:[],advanc:[6,11],advantag:2,affect:9,affection:12,affinityexecutor:1,afraid:1,after:[2,5,6,9,10,12,13],again:[2,6,7,9,10,11,12],against:[2,6,10,12],agent:8,aggreg:[2,12],agre:[3,6,10],agreement:[2,6],ahead:10,aim:[1,2],algorithm:[2,5,12,13],alic:[12,13],aliceaddr:7,alicegetsback:[12,13],alicenod:7,aliv:10,all:[0,1,2,3,6,7,8,9,10,11,12],allow:[1,2,5,6,9,10,12],allpossiblerecipi:7,almost:[10,12],along:[5,7,9,10,12],alreadi:[1,9,10,12],alright:10,also:[1,2,3,5,6,7,8,10,11,12],alt:12,alter:[10,12],altern:[0,1,8,11],although:[2,5,6,7,12],alwai:[1,2,8,10,12],amounnt:10,amount:[2,5,6,10,12],amqp:5,analysi:2,andresen:2,ani:[1,2,6,7,8,9,10,12],annot:[1,10,12],anonym:2,anoth:[5,8,9,10,11,12],answer:[1,9],anticip:1,anybodi:2,anyon:12,anyth:[2,7,9,10,12],anywher:[7,9,12],apach:[5,7],api:[],app:8,appear:12,append:8,appendix:4,appli:[1,2,6,12],applic:[2,9],applyfix:6,approach:[],appropri:7,approv:[2,10],arbitrari:[1,2,9,10,12],arbitrarili:5,architectur:9,area:7,aren:[10,12],arg:[12,13],arguabl:9,argument:[1,2,7,10,12],aris:2,around:[2,7,9,10,12,13],arrai:[2,5,10],arrang:10,arriv:[9,10],arrow:6,artemi:5,articl:[2,7,9,10],artifact:12,ask:[1,10,12],aspect:10,assembl:2,assemblesharedtx:10,asset:[],assetforsal:10,assetmismatchexcept:10,assettosel:10,assettypenam:10,assign:9,assist:[10,12,13],associ:[2,7,12],assum:[2,9,10,12],assumpt:10,atom:[2,9,10,11,12],attach:[],attempt:[2,3,4,7,10],attent:10,attest:9,attribut:1,audit:[2,10],authenticatedobject:12,author:[1,2,7,10],authoris:10,auto:[1,12],autom:[2,12],automat:[0,7,10,12],avail:[0,6,7,8,9,12],avoid:[1,2,10],awai:[2,10,11],awar:[1,10],awkward:[1,10],axi:6,back:[2,9,10,12],backend:7,background:[1,2,7],backtick:12,backward:10,bad:[1,10,12],balanc:[2,12],band:[9,10],bandwidth:1,bank:[2,6],bankrupt:12,bankruptci:[2,9],base:[],basi:[6,8],basic:[],bear:[10,12],beauti:13,becaus:[1,2,3,7,8,9,10,12],becom:[1,2,6,10],been:[2,6,9,10,11,12],befor:[2,5,6,9,10,12],begin:[2,11,12],behav:12,behaviour:[5,8],behind:[10,12],below:[2,6,10],benefit:[10,12],best:1,bet:9,beta:3,better:[1,4,5,12,13],between:[1,2,6,7,9,10,11,12],beyond:[2,12],big:[1,2,10,12],bigdecim:9,bilater:[5,6],bill:12,binari:[2,9],bind:[2,9],bip:2,bit:[10,12,13],bitbucket:3,bitcoinj:10,blah:1,blank:[1,12],block:[1,2,4,7,9,10,12],blockchain:[2,10],bloom:1,bloomfilt:1,blow:11,blue:[6,13],bob:12,bobaddr:7,bobnod:7,bodi:1,boil:2,bond:12,bookkeep:[5,12],boost:5,borrow:13,both:[2,5,6,7,9,10,12],bottom:10,bound:[9,10],box:5,breach:2,breadth:10,briefli:[7,13],bring:2,broadcast:[2,7],broke:1,broker:5,brows:5,bug:[1,5],bui:[5,10],build:[],builder:12,built:[10,12],bulk:2,bullet:1,bunch:[11,12],bundl:2,busi:[2,5,7,9,10,12],buyer:[],buyersessionid:10,bytearrai:7,bytecod:[2,10,12],cach:7,calcul:[6,10,12],calendar:[6,9],calibr:2,call:[1,2,5,6,7,8,10,12],callback:[1,7,10],caller:12,came:10,can:[0,1,2,3,5,6,7,8,9,10,11,12,13],cannot:[2,9,12],capabl:12,capit:1,capitan:0,care:[1,2,7,9,10],carefulli:5,cash:[2,5,6,9,10,11,12,13],cashkt:12,cashsigningpubkei:10,cashstat:10,caus:[1,12],center:12,certain:[1,5,12],cev:3,chain:[2,9,10,12],challeng:2,chanc:[1,10],chang:[0,1,2,6,7,9,10,12,13],channel:10,charact:1,charg:9,check:[],checkabl:9,checkdepend:10,checksufficientsignatur:10,child:10,children:10,childrenfor:10,choic:[1,2],choos:[3,12],chosen:2,circl:13,claim:[2,5,12],clean:10,clear:10,clearer:[7,10],click:[3,13],client:[8,9],clock:9,clone:1,close:9,closur:1,cloud:8,cmd:12,coars:2,codebas:[1,12],cognit:2,coin:2,colleagu:1,collect:[1,8],collector:[1,8,10],column:8,com:[0,3],combin:[2,4,12],come:[2,5,10],command:[],commanddata:9,commerci:[],commercial_pap:12,commercialpap:[5,12,13],commercialpapertest:[12,13],commit:10,common:[2,6,10,12],commonleg:6,commonli:12,commun:3,compani:9,companion:[10,12],compar:[2,7],compil:[11,12],complet:[2,7,10,11,12],complex:[1,2,12],complic:[10,12],compon:7,compos:[10,12],compris:6,comput:[6,9,10],concept:[2,9,10,12],conceptu:10,concern:[2,10,12],conclus:[2,9],concurrenthashmap:1,condit:[9,10],config:8,configur:[3,8,10],confirm:7,conflict:[2,4],confus:10,connect:[5,8,12],consensu:[2,7,9],consid:[1,2,6,9,12],consist:[2,5,6,10],constant:[1,12],constantli:9,constraint:9,construct:[1,7,10,12],constructor:[9,12],consult:9,consum:2,consumpt:9,contact:10,contain:[2,6,7,8,9,10,11,12],content:[1,2,3,7,8,9,11,12],context:[1,2,8,9],continu:[],contract:[],contractst:[12,13],contractstateref:12,contrast:[2,9,10],contribut:[],control:[1,2,3,8,10,12],conveni:[1,2,12],convent:[6,10],convert:[6,12],convinc:10,copi:[1,2,7,10,12],copyonwritearraylist:1,copyright:1,corda:2,core:[7,12],correct:[2,12],correctli:[2,9,12],correspond:12,correspondingli:1,cost:[9,12],could:[1,2,9,10,11,12],count:6,counter:[1,10],counterparti:6,countri:9,coupl:[9,10],cours:[8,9,12],cover:[2,9,10,12],cp_program_id:12,creat:[],createdummyir:6,createmessag:7,creation:[2,4,6,12],creator:9,crisp:12,critic:2,crop:2,curl:8,currenc:[5,6,12],current:[1,2,5,6,7,9,10,11,12,13],currentwallet:10,curv:[5,6],custom:[8,11],cycl:1,dai:[6,8,9,12,13],dashboard:8,data:[],databas:[2,5,10],dataset:6,date:[6,8,9,11,12],deal:[1,9,11],debug:10,decd098666b9657314870e192ced0c3519c2c9d395507a238338f8d003929de9:8,decd:8,decentralis:9,decid:[9,12],decis:2,declar:[1,7,12],dedic:1,defin:[1,2,5,7,8,9,10,12,13],definit:[10,12],delai:[6,9],delet:[1,2,10,12],deliber:2,deliv:7,deliveri:[7,10,11,12],demand:2,demo:[],demonstr:11,denomin:5,dens:1,depend:[1,2,3,9,10,12],dependencytxid:10,deposit:[5,12],depth:12,deregist:7,deriv:[6,10,12],describ:[1,2,4,10,12],descript:[],design:[1,2,4,5,9,12],desir:[10,12],desktop:8,despit:[10,12],destin:7,destroi:[2,12],destroypaperatredempt:[12,13],destructur:12,detail:[],detect:1,determin:6,develop:[1,2,5,7,10,11,12],devic:2,devis:2,diagram:[6,13],diamond:13,didn:[1,10,11,12],differ:[1,2,5,6,9,10,12],difficult:[7,10],digit:[2,9,10,12],digitalsignatur:[9,10],direct:1,directli:[1,8],directori:[0,3,11,12],directthreadexecutor:1,dirti:12,disadvantag:2,disallow:[],discov:2,discuss:[2,7],disk:10,disobei:9,disprov:4,disput:[6,12],disrupt:7,distinguish:12,distribut:[2,5,9,10],distrust:10,dlg:10,doc:[0,1,12],docker:8,docsit:0,document:[],doe:[1,2,5,6,7,8,9,10,12],doesn:[1,2,7,8,9,10,11,12],dokka:0,dollar:[12,13],domain:[12,13],don:[1,2,3,5,7,10,12],done:[0,2,10,11,12],dot:6,doubl:[2,11,12],doubt:[1,5],down:[1,2,9,12],download:[],downsid:[1,2],drag:13,drive:2,driven:11,drm:9,dsl:[12,13],due:[1,2,5,6,9,10,12],dummi:12,dummy_pubkey_1:12,duplic:12,durat:[9,12],dure:[1,6],dynam:12,each:[1,2,5,6,7,9,10,12],earli:[1,12,13],earliest:6,eas:7,easi:[1,2,5,9,12],easier:[1,10,12],easiest:12,easili:[1,9,10,11],econom:6,edit:3,editor:3,effect:[2,6],either:[1,2,5,6,9,10,12],element:2,ellipt:5,els:[2,12],emb:12,embed:[2,5,8,9],emit:12,empti:12,enabl:12,encapsul:1,encod:9,encount:5,end:[1,5,6,9,10],endpoint:8,enforc:[1,2,12],engin:12,english:[1,12],enorm:10,enough:[1,7,10,12],ensur:[1,2,7,10,12],enter:12,entir:[2,6,7,9,12],entireti:6,entiti:[2,9,12],entri:[2,6,10,12],enumer:6,environ:[1,9,10],envisag:12,equal:[10,12],equival:[1,6,12],especi:13,essenti:[8,9,11,12],establish:11,etc:[1,6,9,10,12],euribor:[8,9],evalu:[6,9],even:[2,5,7,9,10,12],event:[1,2,6,9,10],eventu:11,ever:[1,2],everi:[2,9,10,12],everybodi:[2,9],everyon:9,everyth:[7,12],evid:9,evolut:2,evolv:12,exact:[9,12],exactli:[2,7,12],examin:[1,2,9,12],exampl:[0,1,2,6,7,9,10,12,13],excel:9,except:[1,10,12],excess:1,exchang:[6,10,12],execut:[2,9,12],executor:[1,7],exercis:12,exist:[2,4,6,12],exit:12,expect:[1,5,7,10,12],expectedtypenam:10,expectfailureoftx:12,expens:1,experi:2,experiment:10,explain:[1,7,10],explan:1,explicit:[1,2,9,10],explicitli:[1,2,12],explor:[1,2,3,4,5,8,12],exploratori:7,expos:[1,7,8,9,10],exposur:6,express:[2,5,6,9,10,12],extend:[1,5,12],extens:[1,12],extent:2,extern:[5,10],extract:[2,8,9,10,12],extrem:[2,9,12],face:[5,12,13],facevalu:12,fact:[1,2,6,9,10,12],factor:[2,6],fail:[7,12],failur:[10,12],fairli:[1,10],fake:[5,12],fals:[1,7,9,10,12],familiar:[2,12],far:[10,11,12],fashion:1,fast:[2,7],fault:10,favour:[],featur:[1,10,12,13],feed:9,feel:12,fetch:[7,8,9],few:[1,5,7,8,9,10,11,12],fiber:10,field:[1,6,9,10,12,13],file:[0,1,2,7,8,10,11,12],fill:[1,10,12],filter:1,filterisinst:12,finalis:[6,10],financ:10,financi:[2,4,10],find:[0,2,8,10,11],fine:2,finish:[7,10],firm:12,first:[1,3,4,6,7,8,9,10,11,12],firstli:12,fit:[1,2],fix:[],fixedleg:6,fixedlegpaymentschedul:6,fixedratepaymentev:6,fixof:9,flag:[8,11],flexibl:2,flight:2,floatingleg:6,floatinglegpaymentschedul:6,floatingratepaymentev:6,flow:[1,6,12],fly:10,fold:1,folder:0,follow:[0,1,2,3,4,7,8,9,10,12,13],font:1,foo:[1,7],foobrokenexcept:1,fooutil:12,forc:[2,8],fordai:9,forget:[10,12],form:[2,10,12],formal:[7,12],format:[0,1,2,8],forth:10,forward:[7,9,10],found:[3,8,9,10],four:12,frame:[1,10],framework:[],free:[2,9,10],freeform:12,freeli:9,frequenc:6,frequent:10,fresh:[9,12],freshkei:10,freshli:12,from:[0,1,2,3,5,6,7,8,9,10,11,12,13],front:12,frustrat:2,full:[1,7,10,12],fulli:[1,2,7,10,12],fullysign:10,fun:[9,10,12],fund:2,fundament:[2,4,12],fungibl:[],funni:10,further:[2,5,6,11],futur:[2,4,9,10,12,13],gain:5,game:10,garbag:[1,8,10],gather:12,gavin:2,gcd:2,generateirsandfixsom:6,generateissu:12,generatemov:12,generateredeem:12,generatespend:[10,12],genuin:1,get:[],getbloomfilters:1,getclass:12,getcommand:12,getfacevalu:12,getfix:6,getinput:12,getissu:12,getkei:12,getlegalcontractrefer:12,getmaturityd:12,getoutput:12,getown:12,getprogramref:12,getprotocoltrack:10,getsign:12,getter:12,gettim:12,getvalu:12,git:3,github:0,give:[2,12],given:[2,7,9,10,12],givenpric:10,global:[1,2,9],glue:10,gnu:0,goal:[1,2,4,5,10],goe:11,gone:[10,12],good:[1,10,12,13],got:[8,10],gover:12,gradl:[3,5,11],gradlew:3,grammar:1,granular:2,graph:[2,5,8,10,12,13],graphit:8,greatest:2,green:3,groom:2,group:[],groupstat:12,guava:[1,5],gui:10,hack:2,had:12,hand:[10,11,12],handl:[1,2,7,10,12],handler:[7,10],happen:[1,2,9,10,12],happi:11,hard:[1,2,10],harder:[2,12],hase:6,hash:[2,5,8,9,10,12],hashcod:12,hassl:10,have:[1,2,5,6,7,9,10,11,12],haven:12,heap:10,hearn:2,heart:12,heavili:2,hedg:6,heirarchi:1,held:12,hell:10,hello:10,help:[1,2,7,10],helper:[6,7,12],henc:[2,6],her:[12,13],here:[1,2,5,7,8,9,10,12,13],hierarch:10,hierarchi:10,high:[2,9,10],higher:[1,3,12],highlight:12,histori:10,hit:[2,3],hold:[2,7],holder:[1,2,12],holidai:[6,9],home:3,hood:10,hotspot:1,how:[],howev:[2,6,7,9,10,12],html:[0,1],http:[0,3,8,9,11,12],hub:10,human:[2,9,10],hundr:10,hurt:10,hypothesi:4,idea:[1,2,3,5,10,12],ideal:[10,12],ident:[2,9,10,11,12],identifi:[2,5,6,7,8,9,10],identityless:2,identityservic:10,ignor:12,illeg:9,illegalargumentexcept:[1,9,10,12],illegalstateexcept:[1,12],illustr:1,imagin:[1,10,12],immedi:[2,12],immut:[1,2,6,9,12],imper:1,implement:[],impli:10,implic:2,implicitli:6,impos:[9,10,12],imposs:[2,9],improv:[2,12,13],inbackground:7,includ:[],incorpor:9,increas:[1,7],indent:1,independ:9,index:[2,6,12],indic:[6,7,10,12],individu:[7,12],industri:[4,5,8],infer:12,infix:12,influenc:8,info:10,inform:[1,2,10,12],infrastructur:[2,8],inher:2,inherit:[1,7,12],init:9,initi:[7,10,12],inmemorymessagingtest:7,inoutgroup:12,input:[2,9,10,12,13],insert:[1,7,8,9],insid:[2,7,10,11,12],instal:[0,3],instanc:[],instant:[1,9,10,12],instanti:[2,10],instead:[1,2,5,12],institut:[2,5],institutionrefer:12,instruct:[8,11,12],instrument:6,insuffici:2,insufficientbalanceexcept:12,integ:12,integr:[1,5,9,10,13],intellig:1,intend:[1,2,5,8,9,10],intent:[9,12,13],intention:1,interact:[1,2,9,10],interest:[],interestrateswap:5,interfac:[],intern:[5,7,12],internalis:1,interop:[5,12],interpret:[1,2,12],intersect:12,introduc:[1,9,12],introduct:[],intuit:1,invalid:[9,10,12],invari:12,investig:10,invoc:7,invok:[1,2,7,8,10,12],involv:[2,7,9,10,12],iou:5,ipsa:9,irsexport:6,irstest:6,irsutil:6,isaft:12,isempti:12,isinst:10,isn:[1,10,12],issu:[2,5,7,9,12,13],issuanc:[10,12,13],issuer:[2,12],item:[3,12],iter:[10,12],itself:[2,6,7,8,9,10,12],jar:[0,2,8],jarinputstream:2,java:[1,2,5,7,8,10,12],javaclass:10,javacommercialpap:12,javadoc:1,jdk1:3,jdk:[3,10,12],jetbrain:[3,5],jira:5,jmx2graphit:8,jmx:8,jmxtran:8,join:[7,12],joint:12,jolokia:8,json:8,judgement:1,jump:11,junit:[5,12],just:[1,2,3,7,8,10,11,12],justifi:4,jvm:[2,5,8,10],kafka:7,kdoc:1,keep:[2,10,12,13],kei:[1,2,5,7,9,10,11,12],kept:10,key_mismatch_at_issu:12,keymanagementservic:10,keypair:[10,12],keyword:[1,12],kick:10,kind:[2,5,7,9,10,12],know:[2,5,9,10,11],knowledg:9,known:[],kotin:12,kotlin:[],kryo:[5,7,10],label:[10,12,13],labori:12,land:6,languag:[1,2,3,4,5,12,13],larg:[2,9,10,12],larger:[1,2],latenc:9,later:[1,2,5,7,9,10,12],latest:[1,3],latter:[1,12],layer:[2,5,7,10],layout:13,lazili:[],lead:[1,2,12],leak:[2,10],learn:[2,4,10,11,12],least:[9,12],leav:[1,10],ledger:[2,4,6,8,9,10,12,13],left:[7,10],leg:[5,6],legal:[2,9,12],legalcontractrefer:12,legallyidentifi:[9,10],legallyidentifiablenod:10,less:[10,12,13],let:[1,2,8,9,10,11,12],letter:1,level:[1,3,6,7,9,10,12],lib:0,liber:1,libor:[6,8,9],librari:[1,5,8,9,10,12],licens:1,lifecycl:[],lifetim:6,like:[1,2,3,6,7,8,9,10,12],likewis:12,limit:[2,4,12],line:[],link:[1,2,9,10,12],linkabl:2,linux:[8,11],list:[0,2,7,9,10,11,12],listen:[1,5],listenablefutur:10,liter:2,littl:[1,12],live:6,livelock:2,load:[2,11,12],loan:[6,9],local:[0,2,3,8,9,10],locald:9,localhost:8,locat:[9,11,12],lock:[1,12],log:[10,11],logger:10,logic:[2,5,7,10,12],logo:3,longer:[1,6,9,10],look:[1,6,7,8,9,10,12],loop:[1,6,12],loquitur:9,loss:9,lot:[1,2,6],low:10,lower:[1,9],lurch:10,mac:8,machin:[],maco:11,made:[1,2,4,6,10],mai:[1,2,5,7,8,9,10,12],mail:11,main:[10,12,13],maintain:2,maintan:9,mainten:7,make:[0,1,2,6,7,9,10,12],makenod:7,maker:5,malici:10,manag:[],mani:[1,2,5,7,9,10,12],manner:10,manual:7,map:[],mappabl:12,mark:[1,10,12],markdown:1,marker:[10,12],market:4,match:[2,7,9,10,12],matter:12,matur:[6,8,9,12],maturityd:12,maximis:2,maximum:2,maybestx:10,maybetraderequest:10,mbean:8,mean:[1,2,7,9,10],measur:[6,12],mechan:12,meet:12,mega_corp:12,mega_corp_kei:12,mega_corp_pubkei:13,megacorp:[12,13],member:6,memori:[],menlo:1,mention:10,menu:3,mere:[6,12],merg:[2,5,12],mess:10,messag:[],messagehandlerregistr:7,messagerecipi:7,messagerecipientgroup:7,messagingservic:[7,10],method:[],metric:8,middl:[1,7,10],might:[1,2,6,10,12],mike:2,mind:[1,9,10,12],mine:2,minim:[2,10],minimis:[2,7],minimum:[2,6],minu:12,minut:[5,9],misc:7,miss:[1,10,12],missingsig:10,mission:8,mix:[1,10,12],mock:7,mode:[5,7],model:[],modest:2,modif:12,modifi:[3,6,10,12],modul:[7,12],moment:7,monei:[9,12],monetari:12,monitor:[],month:[6,10],more:[1,2,5,6,7,8,9,10,11,12],moreexecutor:1,most:[2,6,7,8,9,10,12],mostli:12,move:[10,12,13],movement:[10,12],much:[1,2,5,10,12],multi:[1,10,12],multipl:[2,7,12],multipli:6,must:[2,7,8,9,10,12],mutabl:[1,2,12],mutat:2,mutual:10,myfil:8,mykeypair:10,nail:1,name:[1,7,8,9,10,11,12],namespac:10,narrow:1,nativ:10,natur:12,naval:[2,9],navistar:9,necessari:[1,11],necessarili:[],need:[0,1,2,4,6,7,8,10,12],negoti:2,neither:[10,12],nest:10,net:[6,12,13],network:[],neutral:5,never:[1,2,9,12],newli:10,newown:12,next:[1,3,6,10,12],nio:1,noddi:8,node:[],nodea:11,nodeb:11,nodeinterestr:9,nodeservic:9,non:[],none:10,normal:[6,10,12],not_matured_at_redempt:12,notat:10,note:[0,1,2,3,6,10,12],noth:[1,2,12],notic:[1,12],notif:7,notifi:7,notion:[2,5,6,12],notnul:12,now:[1,2,3,7,9,10,11,12,13],nugget:12,nullpublickei:12,number:[1,2,6,7,9,10,11,12],numer:2,obj:12,object:[1,2,5,6,7,8,9,10,12,13],oblig:6,observ:[2,6,9,10],observatori:[2,9],obsolet:5,obtain:[1,13],obviou:[1,2,9],obvious:[6,12],occasion:[],occur:[9,10,12],occurr:9,odd:[10,12],off:[7,10,12,13],offer:10,offlin:7,offset:6,often:[1,2,6,9,10,12],oftenor:9,onc:[0,1,5,6,7,9,10,12],onli:[1,2,5,6,7,8,9,10,11,12,13],onto:[1,10,12,13],opaqu:[5,7],opaquebyt:12,open:[2,3,9,10,11,13],openjdk:3,oper:[6,7,8,9,10,12],opposit:[],optim:1,option:[0,6,7,9,10,12],oracl:[],ordain:6,order:[0,2,5,6,7,10,12,13],ordinari:[2,5,10,12],org:[0,3,12],orient:[],origin:12,otc:5,other:[1,2,5,6,7,9,10,11,12],othersid:10,otherwis:[10,12],our:[1,2,10,12],ourselv:[10,12],oursignatur:10,out:[1,2,3,5,8,9,10,12],outag:7,outcom:10,outlin:[2,10],outpoint:2,output:[2,9,10,12,13],outsid:[2,7,9,10,12],outstat:12,over:[1,2,6,7,8,9,10,12],overal:7,overflow:1,overload:10,overrid:[10,12],overview:[],overwhelm:2,own:[1,7,8,9,10,12,13],ownablest:10,owned_bi:12,owner:[10,12],ownership:[10,12],owningkei:[10,12],p2p:[5,10],pack:12,packet:2,page:[9,12],pai:[9,10,12,13],paid:[2,6],pair:[2,10,12],paper:[],paper_1:[12,13],parallel:[2,7,10],parallelis:2,paramet:[1,10,12],parameteris:2,parent:10,pars:9,part:[1,2,9,10,12],parti:[],partial:[10,12],partialtx:10,particip:[2,12],particular:[1,2,8,10],partyrefer:12,pass:[7,10,12,13],past:[1,9,11,12],patch:1,path:[1,8,12],pattern:[1,2,12],paye:2,payer:[2,6],payment:[2,6,9,10,11,12,13],pdf:9,peer:[5,7,9,10],penni:12,peopl:[1,2,5,12],per:[1,2],perform:[1,2,6,9,10,11,12],perhap:[2,12],period:6,perman:[5,12],persist:[5,7,10],perspect:[2,10,12],phrase:9,physic:9,pick:[7,10,12],piec:[1,2,7,10,12],ping:7,pip:0,pki:2,place:[0,1,2,5,6,7,9,10,12],plai:[10,11],plan:7,platform:[2,4,5,6,7,9,10,11,12],pleas:[1,2,11,12],plugin:[3,8],point:[1,2,8,9,10,11,12],pointer:10,pointless:1,pong:7,pool:[1,2,10],poor:2,pop:[3,7],popular:5,posess:10,posit:[1,2,10],possibl:[2,4,7,9,10,12],potenti:[1,5,10,12],pound:12,power:[2,4],practic:[2,12],pre:[0,2,6,10,12],preced:12,precis:[2,5,9],precondit:1,prefer:[1,2],prefix:10,preliminari:7,prepar:[2,12],present:[4,6,9,12],preserv:2,press:12,pretend:8,pretti:[2,10,12],prevent:12,previou:2,previous:[6,9],price:[2,9,10],primari:[5,9],primit:12,print:11,priv:10,privaci:[1,2,10,12],privat:[2,10,12],probabl:[3,9,12],problem:[2,9,10],proce:10,procedur:10,process:[2,6,7,8,12],process_:8,processor:2,produc:[0,12,13],product:[1,4,5,12],profit:[12,13],profound:2,program:[1,2,5,7,8,10,11,12],programref:12,progress:[],progresstrack:10,project:[3,11],proof:[2,4],propag:[4,8,12],properli:10,properti:[8,10,12],propos:10,prose:9,protect:10,protocol:[],protocollog:10,protocolstatemachin:10,protocoltrack:10,prototyp:[],prove:[2,4,12],provid:[0,1,2,6,7,8,9,10,12],pseudo:9,ptx:10,publickei:[10,12],publicli:[],pull:3,pump:7,punish:9,purchas:[10,11],pure:[2,9],purpos:[5,10,12],put:[1,10,12],python:0,qualiti:4,quantiti:[2,5,12],quasar:10,queri:[6,9],question:[1,9],queu:7,queue:[1,5,7,10],quick:9,quickli:[2,7,12],quit:[1,9,10,12],r3prototyp:0,r3repositori:3,random63bitvalu:10,random:[2,10],rang:9,rapid:[1,5],rate:[],ratefixprotocol:9,rather:[1,2,10,12],rational:[],raw:[8,10],reach:[2,6,9],reachabl:10,read:[1,2,4,5,8,9,10,12],readabl:[5,10],reader:12,readi:12,readm:1,real:[1,5,7,9,12],realis:10,realism:7,realiti:6,realli:[1,2,10,12],reason:[1,2,6,10,12],reassign:12,recal:6,receiv:[2,6,7,9,10,12,13],receiveandcheckproposedtransact:10,receiveandvalidatetraderequest:10,recipi:[2,7,12],recognis:[2,9,12],recommend:[1,7],record:7,recov:7,recreat:10,red:[3,6],redeem:[5,12,13],redempt:[12,13],redemptiontim:[12,13],reduc:1,redund:1,ref:[10,12],refer:[2,5,6,9,10,12],refin:5,reflect:12,refus:3,regardless:10,regener:6,regist:[1,7,8,10],registr:7,regular:[5,8,10,12],reissuanc:[2,12],reject:12,rel:[2,7],relabelablestep:10,relat:[6,12],relationship:12,releas:13,relev:2,reli:2,reliabl:7,relianc:2,relic:8,religi:1,remain:[12,13],rememb:[1,10,12],remind:10,remov:[7,10,12],render:[1,10,13],repeat:[1,6,7,10],replac:[6,8,12],replic:2,report:7,repositori:[],repres:[1,2,6,7,9,10,12],represent:6,request:[2,7,9,10],requir:[],requiresinglecommand:12,requirethat:12,resel:9,reserv:10,reset:6,reshap:2,resolut:[2,4,10],resolv:10,resolvetransactionsprotocol:10,resourc:10,respect:[1,2,10,12],respend:2,respons:[2,7,9,10],rest:[2,7,8,10],restart:[3,10,11],restor:10,restructuredtext:0,result:[1,2,6,9,10,12],resultfutur:10,resum:10,resurrect:10,retain:7,retri:[7,10],retriev:6,reus:[2,10],reusabl:9,reveal:[2,10,12],revers:10,review:1,revis:6,rewrit:10,right:[1,3,7,8,10],rigid:2,rigidli:1,risk:10,roll:[6,10],rollov:12,root:[11,12,13],roughli:9,rout:10,router:7,rule:[1,9,10,12],run:[],runbuy:10,runnetwork:7,runsel:10,runtim:[1,10],safe:[1,2,10,12],safeti:1,sai:[1,2,12],sale:[11,12],same:[1,2,5,6,7,9,10,12,13],sandbox:[2,5,12],saniti:10,satisfi:12,save:[1,12],scala:[5,12],scalabl:[1,2],scale:6,scenario:2,scene:[10,12],schedul:[6,8],scope:[2,12],scrape:8,screen:[1,3],script:[0,2,11,12],scroll:11,scrub:10,seamless:5,search:[3,10,12],second:[6,10,11,12],secondari:10,secp256r1:5,section:[2,12],secur:[2,7,10],securehash:12,see:[0,1,5,6,7,9,10,11,12],seed:10,seek:2,seem:2,seen:[1,6,9,10,12,13],select:[3,12],self:5,sell:[5,10,12],seller:[],sellerownerkei:10,sellersig:10,sellertradeinfo:10,semi:[2,9],send:[1,2,7,8,9,10,12],sendandrec:10,sender:2,sendsignatur:10,sens:[6,9,10,12],sent:[7,10,12],separ:[2,8,9,10,12],sequenc:[2,7],sequenti:[7,10],seri:10,serial:[5,7,12],serialis:[1,2,5,7,10,12],serializablewithkryo:12,serializeablewithkryo:12,seriou:2,server:[8,9],servic:[],servicehub:10,session:[7,10],sessionid:10,set:[],setof:10,setter:12,settim:10,settl:[7,9],settlement:10,sever:[2,10,12],sha256:12,sha256sum:8,sha:[2,8],shape:2,share:[2,4,6,9,10,12],shasum:8,she:12,shell:11,shortcut:5,shorthand:12,shot:7,should:[1,2,3,5,7,10,11,12],shoulder:1,shouldn:[10,12],show:[2,3,5,11,12,13],shown:[10,12],shutdown:10,side:[9,10],sig:12,sign:[2,5,6,7,9,10,12],signatur:[2,5,7,9,10,12],signatureexcept:10,signaturesfromsel:10,signedtransact:[10,12],signer:[9,12],signific:2,significantli:6,signoff:9,signwith:[10,12],signwithecdsa:10,signwithourkei:10,silver:1,similar:[1,2,7,9,12],similarli:[],simpl:[1,2,5,6,7,8,10,12,13],simpler:[2,5],simplest:[2,10,12],simpli:[1,2,7,10,12],simplifi:[1,2,5,7,12],simultan:[2,7,10,12],singl:[1,2,8,9,10,12,13],singlemessagerecipi:[7,10],singleton:[10,12],sit:7,site:1,situat:[1,2],size:[1,2,6,10,12],skip:10,slight:12,slightli:12,slow:[1,2],slowest:2,small:[2,5,9,10,11,12,13],smart:[],smm:10,smooth:12,snapshot:2,snide:0,snippet:[10,12],softwar:[5,10],sold:[10,12,13],solv:[2,9,10],solvenc:9,some:[1,2,5,7,8,9,10,11,12,13],somed:12,someon:[2,7,12],someprofit:[12,13],someth:[1,2,3,6,11,12],sometim:[2,7,8,9,10,12],somewhat:[2,10],somewher:[12,13],sophist:2,sort:[9,10],sound:[10,12,13],sourc:[6,9,10],space:[],sparingli:1,special:2,specialis:10,specif:[2,7,8,9,10,12,13],specifi:[0,1,2,5,7,9,10,12],speed:[2,10],spend:[2,10,12],spent:2,sphinx:0,sphinx_rtd_them:0,split:[2,5,12],spread:[7,10],spreadsheet:9,squar:13,src:[12,13],stack:10,stage:[1,10,12],stai:[2,12],stake:2,standalon:[5,9],standard:[1,4,5,8,10,12],standardis:[2,12],start:[],startup:11,state:[],stateandref:[10,12],stateless:2,statemachinemanag:10,statement:[1,2,9,10,12],stateref:2,statesoftyp:10,statist:8,status:2,step:[9,10,12],still:[2,10,12],stock:[2,9],stop:[1,7,10],storag:2,store:[10,12],stori:1,straightforward:[10,12],stream:10,stress:1,strictli:[2,6],string:[7,9,10,12],strong:5,structur:[1,2,3,5,9,10,12],studi:12,stuff:[1,10],stx:10,sub:10,subclass:10,subgroup:2,submenu:3,submiss:9,submit:[1,7,10],subprotocol:10,subscrib:7,subtask:10,subtl:[1,2],success:11,successor:5,sudo:0,suffer:2,suffic:9,suffici:[2,4,7,9],suffix:12,suggest:[7,12],suitabl:7,sum:12,sumcashbi:[10,12],sumcashornul:12,summaris:2,sun:1,superclass:10,superior:1,supersed:2,supertyp:12,support:[1,2,5,6,7,9,10,11,12],suppos:[10,12],sure:12,surfac:10,surround:[1,12],surviv:10,suspend:[],swap:[],swapsignatureswithsel:10,symbol:3,synchronis:[1,2,9],syntax:[5,12],syscal:11,system:[2,5,8,9,10,12],tab:[1,3],tag:1,tailor:4,take:[1,5,6,10,12,13],tamper:10,target:[0,1,2,5,8],targetrecipi:7,task:[2,10],technic:[],techniqu:[1,2,9,12],tell:[0,7,10],tempor:9,temporari:2,temporarili:10,tempt:12,temptat:10,ten:12,tenor:[6,8,9],term:[2,12],termin:[6,8,10,11],terminolog:2,test:[],test_tx_tim:12,testutil:12,testwithinmemorynetwork:7,text:[1,3,8],than:[1,2,4,8,10,12,13],thei:[1,2,5,6,7,8,9,10,11,12],theirsessionid:10,them:[1,2,5,6,7,8,10,11,12],themselv:[7,9,10,12],theori:[],therefor:[2,5,10,12],thi:[0,1,2,3,4,5,6,7,8,9,10,11,12,13],thing:[1,2,5,9,10,11,12],think:[1,2,3,10,12],third:[2,11,12],those:[2,7,8,9,10,12],though:[7,8,10,12],thought:[2,5],threadsaf:1,three:[11,12],threshold:12,through:[2,6,8,10,12],throughput:2,throwifsignaturesaremiss:10,thrown:12,thu:[1,2,8,9,12],tighten:12,tightli:10,time:[1,2,5,6,8,9,10,12,13],timelin:12,timestamp:[1,2,5,9,10,12],timestampauthoritysig:10,timestampcommand:9,timestampercli:12,timestamperservic:9,timestampingauthor:10,timestampingprotocol:10,todo:[1,10,12],togeth:[2,10,12],told:1,toledgertransact:10,toler:9,too:[1,10,12,13],took:10,tool:[5,8],top:[1,2,10,12],topic:[7,10],topriv:10,toset:10,tosignedtransact:[10,12],tostr:[1,10,12],total:[2,12],trace:10,track:[],tracker:[5,10],trade1:11,trade:[],trade_top:10,tradeoff:1,trader:[],traderequest:10,tradit:[2,12],traffic:[2,10],transact:[2,4,8,9,10,12,13],transactionbuild:[10,12],transactionforverif:12,transactiongroup:12,transactiongroupdsl:13,transactiongroupfor:13,transactiongroupfortest:12,transfer:12,transit:[4,12],treat:12,tree:10,tri:[2,12],tricki:[2,10],trigger:9,trivial:[1,2,11],trust:[2,10],truth:10,tsa:[2,10],tsasig:10,ture:2,turn:[2,10,12],tutori:[4,5,9,10,12],twice:5,two:[],twopartytradeprotocol:10,txbit:10,txhash:[2,10,12],txt:8,type:[1,2,6,9,10,12],typenam:10,typetobui:10,typic:[2,7,8,10,12],ubuntu:11,unacceptablepriceexcept:10,under:[0,10,12],underli:[2,6,10],underscor:12,understand:[],unexecut:12,unexpect:10,unfinish:10,unfortun:[10,12],unguess:10,uniqu:[2,9,10],unit:[2,3,5,7,10,12,13],unix:8,unknow:9,unless:[1,9,10,12],unlik:12,unnatur:2,unnecessari:12,unpack:[10,12],unread:10,unrecognis:12,unrel:12,unserialis:10,unset:6,unspent:2,unstart:10,unsupportedoperationexcept:12,until:[2,6,7,10],untrustworthydata:10,unus:7,unusu:12,unwieldi:[],updat:[2,3,7,10,12],upgrad:[3,4],upload:[],upon:[6,10,12],url:3,usabl:5,usag:[1,9,10,12],useless:12,user:[0,1,2,5,7,9,10,11],usr:0,usual:2,util:[5,7,12],utxo:[],vagu:1,val:[7,9,10,12,13],valid:[2,6,9,10,12],valu:[2,5,6,9,12,13],valuabl:9,valuat:6,vanilla:[5,6],vari:[],variabl:[2,6,10,12],variant:12,variou:[1,2,5,8,10,12],vehicl:2,vendor:[5,8],verbos:12,veri:[1,2,5,9,11,13],verif:[2,5],verifi:[],verifytransact:10,versa:[6,10],version:[3,5,6,7,10,12],versu:10,vertic:1,via:[0,1,2,6,8,9,10,11],vice:[6,10],view:[1,6],virtual:[2,4],visibl:2,visualis:[],vital:10,wai:[1,2,5,8,9,10,12],wait:[3,7,10,11],wallet:[2,10,12],walletservic:10,want:[1,2,3,7,8,9,10,12],weak:9,web:[8,9],websit:12,weekend:6,well:[0,1,2,5,6,8,9,10,12],went:1,were:[1,2,9,10,12],what:[],whatev:[1,10],when:[1,2,6,7,8,9,10,12],whenev:1,where:[1,2,6,7,8,9,10],wherea:6,wherev:8,whether:[7,9,10],which:[0,1,2,5,6,7,8,9,10,11,12],whilst:[2,9,10,12],who:[1,2,5,7,10,12],whole:12,whom:[2,7],whose:8,why:[1,2,5,12],wide:[1,7,12],widescreen:1,widespread:1,width:1,wiki:[2,12],wikipedia:12,window:[2,10,11,13],wirecommand:12,wiretransact:[9,10],wish:[2,7,9,10,12],within:[0,2,8,11],withkei:10,withnewown:10,without:[],withoutown:12,won:[7,9,10,12],word:1,work:[1,2,3,4,5,6,7,8,9,10,11,12],worker:1,world:[2,9,10,12],worn:12,worri:[1,5,10],worst:2,worth:[1,12],worthless:9,would:[1,2,5,6,7,8,9,10,12],wouldn:[9,12],wrap:[1,8,10,12],wrapper:10,write:[],written:[0,2,5,6,12],wrong:[1,10,11],wrote:2,wtx:[9,10],www:[0,3],year:6,yet:[1,2,6,10,12],yield:[2,10],you:[0,1,2,3,5,7,8,9,10,11,12,13],your:[],your_usernam:3,yourself:2,zero:[2,12],zip:[2,8]},titles:["Building the documentation","Code style guide","Data model","Getting set up","Welcome to the R3 prototyping repository!","What’s included?","The Interest Rate Swap Contract","Networking and messaging","Node administration","Writing oracle services","Protocol state machines","Running the demos","Writing a contract","Using the visualiser"],titleterms:{"class":12,"function":12,about:3,administr:8,adopt:2,api:12,approach:9,assert:[1,9],asset:12,attach:8,base:12,basic:9,bitcoin:2,build:0,buyer:10,check:12,code:1,command:12,comment:1,commerci:12,comparison:2,complain:3,con:2,continu:9,contract:[5,6,12],creat:6,data:[2,9],demo:11,descript:[],detail:6,document:0,download:8,error:1,ethereum:2,fix:8,framework:9,fungibl:[],gener:[1,12],get:3,group:12,guid:1,how:12,implement:[7,9,10],includ:5,instanc:6,intellij:3,interest:[6,8],interfac:7,introduct:[9,10],known:9,kotlin:5,lack:3,length:1,lifecycl:6,line:1,machin:10,manag:10,map:7,memori:7,messag:7,method:10,model:2,monitor:8,network:7,node:8,non:12,occasion:9,oracl:9,orient:12,overview:2,paper:12,parti:10,pro:2,progress:10,protocol:10,prototyp:4,publicli:9,rate:[6,8],rational:2,repositori:4,requir:[0,12],run:11,sdk:3,seller:10,servic:[7,9],set:3,smart:12,space:1,start:12,state:[10,12],style:[1,2],suspend:10,swap:6,technic:6,test:12,theori:10,thread:1,track:10,trade:10,tradeoff:2,trader:11,two:[9,10],understand:[],upload:8,utxo:2,vari:9,verifi:12,visualis:13,welcom:4,what:5,without:3,write:[9,12],your:[8,12]}}) \ No newline at end of file diff --git a/docs/build/html/tutorial_contract.html b/docs/build/html/tutorial_contract.html index f89f022eda..25e3150e71 100644 --- a/docs/build/html/tutorial_contract.html +++ b/docs/build/html/tutorial_contract.html @@ -8,7 +8,7 @@ - Writing a contract — R3 Prototyping latest documentation + Writing a contract — R3 Corda latest documentation @@ -30,7 +30,7 @@ - + @@ -51,7 +51,7 @@ - R3 Prototyping + R3 Corda @@ -130,7 +130,7 @@ @@ -923,7 +923,7 @@ be implemented once in a separate contract, with the controlling data being held

          - © Copyright 2015, R3 CEV. + © Copyright 2016, Distributed Ledger Group, LLC.

          diff --git a/docs/build/html/visualiser.html b/docs/build/html/visualiser.html index a6be7f87df..a032117e7e 100644 --- a/docs/build/html/visualiser.html +++ b/docs/build/html/visualiser.html @@ -8,7 +8,7 @@ - Using the visualiser — R3 Prototyping latest documentation + Using the visualiser — R3 Corda latest documentation @@ -30,7 +30,7 @@ - + @@ -51,7 +51,7 @@ - R3 Prototyping + R3 Corda @@ -91,13 +91,13 @@
        • Getting set up
        • Data model
        • Networking and messaging
        • -
        • Running the demos
        • +
        • Running the demos
        • Node administration
        • The Interest Rate Swap Contract

        Tutorials

        @@ -105,6 +105,7 @@ @@ -118,7 +119,7 @@ @@ -235,7 +236,7 @@ feature).
      • - © Copyright 2015, R3 CEV. + © Copyright 2016, Distributed Ledger Group, LLC.