diff --git a/docs/build/doctrees/CLI-vs-IDE.doctree b/docs/build/doctrees/CLI-vs-IDE.doctree index 5b06afa9fe..6a63c1332b 100644 Binary files a/docs/build/doctrees/CLI-vs-IDE.doctree and b/docs/build/doctrees/CLI-vs-IDE.doctree differ diff --git a/docs/build/doctrees/azure-vm.doctree b/docs/build/doctrees/azure-vm.doctree new file mode 100644 index 0000000000..0306711118 Binary files /dev/null and b/docs/build/doctrees/azure-vm.doctree differ diff --git a/docs/build/doctrees/building-the-docs.doctree b/docs/build/doctrees/building-the-docs.doctree index 2a8c445d6e..fdf5cc568d 100644 Binary files a/docs/build/doctrees/building-the-docs.doctree and b/docs/build/doctrees/building-the-docs.doctree differ diff --git a/docs/build/doctrees/clauses.doctree b/docs/build/doctrees/clauses.doctree index b2cd0fba92..7695d55a80 100644 Binary files a/docs/build/doctrees/clauses.doctree and b/docs/build/doctrees/clauses.doctree differ diff --git a/docs/build/doctrees/clientrpc.doctree b/docs/build/doctrees/clientrpc.doctree index c1a20601d3..ad6bf813f7 100644 Binary files a/docs/build/doctrees/clientrpc.doctree and b/docs/build/doctrees/clientrpc.doctree differ diff --git a/docs/build/doctrees/codestyle.doctree b/docs/build/doctrees/codestyle.doctree index 39c34920e6..ec95623ec2 100644 Binary files a/docs/build/doctrees/codestyle.doctree and b/docs/build/doctrees/codestyle.doctree differ diff --git a/docs/build/doctrees/consensus.doctree b/docs/build/doctrees/consensus.doctree index c29327ebe2..f25588c6b9 100644 Binary files a/docs/build/doctrees/consensus.doctree and b/docs/build/doctrees/consensus.doctree differ diff --git a/docs/build/doctrees/contract-catalogue.doctree b/docs/build/doctrees/contract-catalogue.doctree index 5b6c9c1426..05a82affad 100644 Binary files a/docs/build/doctrees/contract-catalogue.doctree and b/docs/build/doctrees/contract-catalogue.doctree differ diff --git a/docs/build/doctrees/contract-irs.doctree b/docs/build/doctrees/contract-irs.doctree index bd1c9136a5..cfa59c2d43 100644 Binary files a/docs/build/doctrees/contract-irs.doctree and b/docs/build/doctrees/contract-irs.doctree differ diff --git a/docs/build/doctrees/corda-configuration-file.doctree b/docs/build/doctrees/corda-configuration-file.doctree index 555547b945..7e42fd4d90 100644 Binary files a/docs/build/doctrees/corda-configuration-file.doctree and b/docs/build/doctrees/corda-configuration-file.doctree differ diff --git a/docs/build/doctrees/corda-plugins.doctree b/docs/build/doctrees/corda-plugins.doctree index 567577f104..58d006db42 100644 Binary files a/docs/build/doctrees/corda-plugins.doctree and b/docs/build/doctrees/corda-plugins.doctree differ diff --git a/docs/build/doctrees/creating-a-cordapp.doctree b/docs/build/doctrees/creating-a-cordapp.doctree index b78077a7ae..3c9ecf1c6d 100644 Binary files a/docs/build/doctrees/creating-a-cordapp.doctree and b/docs/build/doctrees/creating-a-cordapp.doctree differ diff --git a/docs/build/doctrees/data-model.doctree b/docs/build/doctrees/data-model.doctree index 8feeb14d5c..453796f1df 100644 Binary files a/docs/build/doctrees/data-model.doctree and b/docs/build/doctrees/data-model.doctree differ diff --git a/docs/build/doctrees/environment.pickle b/docs/build/doctrees/environment.pickle index a6d6f7caed..3dfe9a9d66 100644 Binary files a/docs/build/doctrees/environment.pickle and b/docs/build/doctrees/environment.pickle differ diff --git a/docs/build/doctrees/event-scheduling.doctree b/docs/build/doctrees/event-scheduling.doctree index f4653ee3b9..b994a49aa9 100644 Binary files a/docs/build/doctrees/event-scheduling.doctree and b/docs/build/doctrees/event-scheduling.doctree differ diff --git a/docs/build/doctrees/flow-state-machines.doctree b/docs/build/doctrees/flow-state-machines.doctree index 88f175a717..314b942153 100644 Binary files a/docs/build/doctrees/flow-state-machines.doctree and b/docs/build/doctrees/flow-state-machines.doctree differ diff --git a/docs/build/doctrees/flow-testing.doctree b/docs/build/doctrees/flow-testing.doctree index b6174aab62..79cddcd92e 100644 Binary files a/docs/build/doctrees/flow-testing.doctree and b/docs/build/doctrees/flow-testing.doctree differ diff --git a/docs/build/doctrees/further-notes-on-kotlin.doctree b/docs/build/doctrees/further-notes-on-kotlin.doctree index c821773917..f876eb9c5f 100644 Binary files a/docs/build/doctrees/further-notes-on-kotlin.doctree and b/docs/build/doctrees/further-notes-on-kotlin.doctree differ diff --git a/docs/build/doctrees/getting-set-up-fault-finding.doctree b/docs/build/doctrees/getting-set-up-fault-finding.doctree index ab67e0c83d..db9efac42d 100644 Binary files a/docs/build/doctrees/getting-set-up-fault-finding.doctree and b/docs/build/doctrees/getting-set-up-fault-finding.doctree differ diff --git a/docs/build/doctrees/getting-set-up.doctree b/docs/build/doctrees/getting-set-up.doctree index d102f89a7e..fe9947e737 100644 Binary files a/docs/build/doctrees/getting-set-up.doctree and b/docs/build/doctrees/getting-set-up.doctree differ diff --git a/docs/build/doctrees/glossary.doctree b/docs/build/doctrees/glossary.doctree index 8cb4d95f10..0d2c2db8bb 100644 Binary files a/docs/build/doctrees/glossary.doctree and b/docs/build/doctrees/glossary.doctree differ diff --git a/docs/build/doctrees/index.doctree b/docs/build/doctrees/index.doctree index 16cbbf5f55..17208d3c6b 100644 Binary files a/docs/build/doctrees/index.doctree and b/docs/build/doctrees/index.doctree differ diff --git a/docs/build/doctrees/initial-margin-agreement.doctree b/docs/build/doctrees/initial-margin-agreement.doctree index 494d10ffe0..865d6f1723 100644 Binary files a/docs/build/doctrees/initial-margin-agreement.doctree and b/docs/build/doctrees/initial-margin-agreement.doctree differ diff --git a/docs/build/doctrees/inthebox.doctree b/docs/build/doctrees/inthebox.doctree index dfe534d08c..d0ff2c66bb 100644 Binary files a/docs/build/doctrees/inthebox.doctree and b/docs/build/doctrees/inthebox.doctree differ diff --git a/docs/build/doctrees/loadtesting.doctree b/docs/build/doctrees/loadtesting.doctree index 9beba04587..accc4bd99a 100644 Binary files a/docs/build/doctrees/loadtesting.doctree and b/docs/build/doctrees/loadtesting.doctree differ diff --git a/docs/build/doctrees/merkle-trees.doctree b/docs/build/doctrees/merkle-trees.doctree index 9cbaf38d45..8c7e96f6f2 100644 Binary files a/docs/build/doctrees/merkle-trees.doctree and b/docs/build/doctrees/merkle-trees.doctree differ diff --git a/docs/build/doctrees/messaging.doctree b/docs/build/doctrees/messaging.doctree index 9db11bad86..e02dbcdcd2 100644 Binary files a/docs/build/doctrees/messaging.doctree and b/docs/build/doctrees/messaging.doctree differ diff --git a/docs/build/doctrees/network-simulator.doctree b/docs/build/doctrees/network-simulator.doctree index 7810a3aea2..1bef98d495 100644 Binary files a/docs/build/doctrees/network-simulator.doctree and b/docs/build/doctrees/network-simulator.doctree differ diff --git a/docs/build/doctrees/node-administration.doctree b/docs/build/doctrees/node-administration.doctree index df9f9bfae9..b35cc51997 100644 Binary files a/docs/build/doctrees/node-administration.doctree and b/docs/build/doctrees/node-administration.doctree differ diff --git a/docs/build/doctrees/node-explorer.doctree b/docs/build/doctrees/node-explorer.doctree index 1ef14ccec9..c78b1a4e49 100644 Binary files a/docs/build/doctrees/node-explorer.doctree and b/docs/build/doctrees/node-explorer.doctree differ diff --git a/docs/build/doctrees/node-services.doctree b/docs/build/doctrees/node-services.doctree index 61ddc7df71..a1a7412084 100644 Binary files a/docs/build/doctrees/node-services.doctree and b/docs/build/doctrees/node-services.doctree differ diff --git a/docs/build/doctrees/oracles.doctree b/docs/build/doctrees/oracles.doctree index 50043c50af..49b8672028 100644 Binary files a/docs/build/doctrees/oracles.doctree and b/docs/build/doctrees/oracles.doctree differ diff --git a/docs/build/doctrees/permissioning.doctree b/docs/build/doctrees/permissioning.doctree index c58effb939..73551da81c 100644 Binary files a/docs/build/doctrees/permissioning.doctree and b/docs/build/doctrees/permissioning.doctree differ diff --git a/docs/build/doctrees/persistence.doctree b/docs/build/doctrees/persistence.doctree index 5bb61766d8..d90b368ec2 100644 Binary files a/docs/build/doctrees/persistence.doctree and b/docs/build/doctrees/persistence.doctree differ diff --git a/docs/build/doctrees/publishing-corda.doctree b/docs/build/doctrees/publishing-corda.doctree new file mode 100644 index 0000000000..50b8c58014 Binary files /dev/null and b/docs/build/doctrees/publishing-corda.doctree differ diff --git a/docs/build/doctrees/release-notes.doctree b/docs/build/doctrees/release-notes.doctree index 2860e474e0..db4b91b30a 100644 Binary files a/docs/build/doctrees/release-notes.doctree and b/docs/build/doctrees/release-notes.doctree differ diff --git a/docs/build/doctrees/release-process.doctree b/docs/build/doctrees/release-process.doctree index 645b785566..4ae17b6cd7 100644 Binary files a/docs/build/doctrees/release-process.doctree and b/docs/build/doctrees/release-process.doctree differ diff --git a/docs/build/doctrees/running-a-notary.doctree b/docs/build/doctrees/running-a-notary.doctree index e416216333..dcc6dc3a1d 100644 Binary files a/docs/build/doctrees/running-a-notary.doctree and b/docs/build/doctrees/running-a-notary.doctree differ diff --git a/docs/build/doctrees/running-the-demos.doctree b/docs/build/doctrees/running-the-demos.doctree index 994fe60eff..09e811d6c8 100644 Binary files a/docs/build/doctrees/running-the-demos.doctree and b/docs/build/doctrees/running-the-demos.doctree differ diff --git a/docs/build/doctrees/secure-coding-guidelines.doctree b/docs/build/doctrees/secure-coding-guidelines.doctree index 87506f879d..6d201b49ce 100644 Binary files a/docs/build/doctrees/secure-coding-guidelines.doctree and b/docs/build/doctrees/secure-coding-guidelines.doctree differ diff --git a/docs/build/doctrees/setting-up-a-corda-network.doctree b/docs/build/doctrees/setting-up-a-corda-network.doctree index 3ef82feb25..5558e30700 100644 Binary files a/docs/build/doctrees/setting-up-a-corda-network.doctree and b/docs/build/doctrees/setting-up-a-corda-network.doctree differ diff --git a/docs/build/doctrees/transaction-data-types.doctree b/docs/build/doctrees/transaction-data-types.doctree index 5d3f4b842b..e22b5d3053 100644 Binary files a/docs/build/doctrees/transaction-data-types.doctree and b/docs/build/doctrees/transaction-data-types.doctree differ diff --git a/docs/build/doctrees/tutorial-attachments.doctree b/docs/build/doctrees/tutorial-attachments.doctree index 9b3599eaf6..37ba955583 100644 Binary files a/docs/build/doctrees/tutorial-attachments.doctree and b/docs/build/doctrees/tutorial-attachments.doctree differ diff --git a/docs/build/doctrees/tutorial-building-transactions.doctree b/docs/build/doctrees/tutorial-building-transactions.doctree index 3d2f94419b..e3dc4d1960 100644 Binary files a/docs/build/doctrees/tutorial-building-transactions.doctree and b/docs/build/doctrees/tutorial-building-transactions.doctree differ diff --git a/docs/build/doctrees/tutorial-clientrpc-api.doctree b/docs/build/doctrees/tutorial-clientrpc-api.doctree index 829e8aba01..beefc53f07 100644 Binary files a/docs/build/doctrees/tutorial-clientrpc-api.doctree and b/docs/build/doctrees/tutorial-clientrpc-api.doctree differ diff --git a/docs/build/doctrees/tutorial-contract-clauses.doctree b/docs/build/doctrees/tutorial-contract-clauses.doctree index 497e021f5a..1155fef12e 100644 Binary files a/docs/build/doctrees/tutorial-contract-clauses.doctree and b/docs/build/doctrees/tutorial-contract-clauses.doctree differ diff --git a/docs/build/doctrees/tutorial-contract.doctree b/docs/build/doctrees/tutorial-contract.doctree index 62cb14cfac..854891d8f2 100644 Binary files a/docs/build/doctrees/tutorial-contract.doctree and b/docs/build/doctrees/tutorial-contract.doctree differ diff --git a/docs/build/doctrees/tutorial-cordapp.doctree b/docs/build/doctrees/tutorial-cordapp.doctree index 0912907e18..70c76411f0 100644 Binary files a/docs/build/doctrees/tutorial-cordapp.doctree and b/docs/build/doctrees/tutorial-cordapp.doctree differ diff --git a/docs/build/doctrees/tutorial-integration-testing.doctree b/docs/build/doctrees/tutorial-integration-testing.doctree index f8930d7caf..1b26def399 100644 Binary files a/docs/build/doctrees/tutorial-integration-testing.doctree and b/docs/build/doctrees/tutorial-integration-testing.doctree differ diff --git a/docs/build/doctrees/tutorial-test-dsl.doctree b/docs/build/doctrees/tutorial-test-dsl.doctree index 85b8dc2665..32f87c2f2e 100644 Binary files a/docs/build/doctrees/tutorial-test-dsl.doctree and b/docs/build/doctrees/tutorial-test-dsl.doctree differ diff --git a/docs/build/doctrees/using-a-notary.doctree b/docs/build/doctrees/using-a-notary.doctree index f70853b97e..bb0587e858 100644 Binary files a/docs/build/doctrees/using-a-notary.doctree and b/docs/build/doctrees/using-a-notary.doctree differ diff --git a/docs/build/html/.buildinfo b/docs/build/html/.buildinfo index c391c71a7b..48126ebbdf 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: 81f5156b78c635dc74e3741102dbb51c +config: 2535fde532a0ac1a7bd6c73ae772bf54 tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/docs/build/html/CLI-vs-IDE.html b/docs/build/html/CLI-vs-IDE.html index c7fc329f7f..8260a94852 100644 --- a/docs/build/html/CLI-vs-IDE.html +++ b/docs/build/html/CLI-vs-IDE.html @@ -1,3 +1,7 @@ + + + @@ -78,6 +82,11 @@
API reference +
+Discourse Forums +
+Slack +
@@ -119,8 +128,9 @@
  • Gradle plugins for CorDapps
  • The CorDapp Template
  • Building the CorDapp template
  • -
  • Running the Sample CorDapp
  • -
  • Using the sample CorDapp
  • +
  • Running the CorDapp template
  • +
  • Interacting with the CorDapp template
  • +
  • Extending the CorDapp template
  • The Corda node

    Glossary

    -fun bridgeToNetworkMapService(networkMapService: NetworkMapAddress): Unit
    val config: NodeConfiguration
    +fun deployBridgeIfAbsent(queueName: <ERROR CLASS>, hostAndPort: <ERROR CLASS>): Unit
    val myHostPort: <ERROR CLASS>
    val networkMapCache: NetworkMapCache
    fun start(): Unit
    @@ -1189,8 +1190,14 @@ CashFlow(command: CashCommand)
    +CashFlow(command: CashCommand, progressTracker: ProgressTracker)
    +object EXITING : Step
    +object ISSUING : Step
    +object PAYING : Step
    fun call(): CashFlowResult
    val command: CashCommand
    +val progressTracker: ProgressTracker
    +fun tracker(): ProgressTracker
    @@ -2589,9 +2596,9 @@ -Diff(added: Collection<StateAndRef<T>>, removed: Collection<StateRef>)
    +Diff(added: Collection<StateAndRef<T>>, removed: Collection<StateAndRef<T>>)
    val added: Collection<StateAndRef<T>>
    -val removed: Collection<StateRef>
    +val removed: Collection<StateAndRef<T>>
    @@ -2739,8 +2746,7 @@ State()
    val clients: LinkedList<NodeMessagingClient>
    -var localServer: ArtemisMessagingServer?
    -val registeredProcesses: LinkedList<Process>
    +val registeredProcesses: LinkedList<<ERROR CLASS><Process>>
    @@ -2750,7 +2756,7 @@ val name: Array<String>
    fun <A> pickA(array: Array<A>): A
    val portAllocation: PortAllocation
    -fun registerProcess(process: Process): Unit
    +fun registerProcess(process: <ERROR CLASS><Process>): Unit
    open fun shutdown(): Unit
    open fun start(): Unit
    open fun startNode(providedName: String?, advertisedServices: Set<ServiceInfo>, rpcUsers: List<User>, customOverrides: Map<String, Any?>): <ERROR CLASS><NodeHandle>
    @@ -2768,7 +2774,7 @@ -abstract fun startNode(providedName: String? = null, advertisedServices: Set<ServiceInfo> = emptySet(), rpcUsers: List<User> = emptyList(), customOverrides: Map<String, Any?> = emptyMap()): Future<NodeHandle>
    +abstract fun startNode(providedName: String? = null, advertisedServices: Set<ServiceInfo> = emptySet(), rpcUsers: List<User> = emptyList(), customOverrides: Map<String, Any?> = emptyMap()): <ERROR CLASS><NodeHandle>
    abstract fun startNotaryCluster(notaryName: String, clusterSize: Int = 3, type: ServiceType = RaftValidatingNotaryService.type, rpcUsers: List<User> = emptyList()): Future<<ERROR CLASS><Party, List<NodeHandle>>>
    abstract fun waitForAllNodesToFinish(): Unit
    @@ -2988,6 +2994,7 @@ const val CODE_NEWSPAPER: String
    const val CODE_PAPERCLIP: String
    const val CODE_RIGHT_ARROW: String
    +const val CODE_SANTA_CLAUS: String
    val bagOfCash: String
    val coolGuy: String
    val diamond: String
    @@ -2999,6 +3006,7 @@ inline fun <T> renderIfSupported(body: () -> T): T
    fun renderIfSupported(obj: Any): String
    val rightArrow: String
    +val santaClaus: String
    @@ -3031,21 +3039,23 @@ -EventGenerator(parties: List<Party>, notary: Party)
    -val amountGenerator: <ERROR CLASS>
    -val amountIssuedGenerator: <ERROR CLASS>
    -val bankOfCordaCommandGenerator: <ERROR CLASS>
    +EventGenerator(parties: List<Party>, notary: Party, currencies: List<Currency> = listOf(USD, GBP, CHF), issuers: List<Party> = parties)
    +val amountGenerator: Generator<Amount<Currency>>
    +val amountIssuedGenerator: Generator<Amount<Issued<Currency>>>
    +val bankOfCordaExitGenerator: <ERROR CLASS>
    +val bankOfCordaIssueGenerator: <ERROR CLASS>
    val cashStateGenerator: <ERROR CLASS>
    val clientCommandGenerator: <ERROR CLASS>
    val consumedGenerator: Generator<Set<StateRef>>
    -val currencies: <ERROR CLASS>
    -val currencyGenerator: <ERROR CLASS>
    -val exitCashGenerator: <ERROR CLASS>
    -val issueCashGenerator: <ERROR CLASS>
    +val currencies: List<Currency>
    +val currencyGenerator: Generator<Currency>
    +val exitCashGenerator: Generator<ExitCash>
    +val issueCashGenerator: Generator<IssueCash>
    val issueRefGenerator: Generator<OpaqueBytes>
    -val issuedGenerator: <ERROR CLASS>
    +val issuedGenerator: Generator<Issued<Currency>>
    val issuerGenerator: Generator<PartyAndReference>
    -val moveCashGenerator: <ERROR CLASS>
    +val issuers: List<Party>
    +val moveCashGenerator: Generator<PayCash>
    val notary: Party
    val parties: List<Party>
    val partyGenerator: Generator<Party>
    @@ -3506,10 +3516,10 @@ val logger: <ERROR CLASS>
    open val progressTracker: ProgressTracker?
    inline fun <reified T : Any> receive(otherParty: Party): UntrustworthyData<T>
    -fun <T : Any> receive(otherParty: Party, receiveType: Class<T>): UntrustworthyData<T>
    +fun <T : Any> receive(receiveType: Class<T>, otherParty: Party): UntrustworthyData<T>
    fun send(otherParty: Party, payload: Any): Unit
    inline fun <reified T : Any> sendAndReceive(otherParty: Party, payload: Any): UntrustworthyData<T>
    -fun <T : Any> sendAndReceive(otherParty: Party, payload: Any, receiveType: Class<T>): UntrustworthyData<T>
    +fun <T : Any> sendAndReceive(receiveType: Class<T>, otherParty: Party, payload: Any): UntrustworthyData<T>
    val serviceHub: ServiceHub
    fun <R> subFlow(subLogic: FlowLogic<R>, shareParentSessions: Boolean = false): R
    fun track(): <ERROR CLASS><String, <ERROR CLASS><String>>?
    @@ -4178,6 +4188,81 @@ +object IssuerFlow
    + class JDBCHashMap<K : Any, V : Any> : AbstractJDBCHashMap<K, V, BlobMapTable>
    -const val RPC_QUEUE_REMOVALS_QUEUE: String
    const val SESSION_ID_PROPERTY: String
    const val TOPIC_PROPERTY: String
    fun addMessageHandler(topic: String, sessionID: Long, callback: (ReceivedMessage, MessageHandlerRegistration) -> Unit): MessageHandlerRegistration
    @@ -5509,7 +5593,6 @@ NodeMonitorModel()
    -val clientToService: <ERROR CLASS><CashCommand>
    val networkMap: <ERROR CLASS><MapChange>
    val progressTracking: <ERROR CLASS><ProgressTrackingEvent>
    val proxyObservable: SimpleObjectProperty<CordaRPCOps?>
    @@ -5628,12 +5711,13 @@ NodeVaultService(services: ServiceHub)
    fun addNoteToTransaction(txnId: SecureHash, noteText: String): Unit
    +val cashBalances: Map<Currency, Amount<Currency>>
    val currentVault: Vault
    fun generateSpend(tx: TransactionBuilder, amount: Amount<Currency>, to: CompositeKey, onlyFromParties: Set<Party>?): <ERROR CLASS><TransactionBuilder, List<CompositeKey>>
    fun getTransactionNotes(txnId: SecureHash): Iterable<String>
    val linearHeads: Map<UniqueIdentifier, StateAndRef<LinearState>>
    val log: <ERROR CLASS>
    -fun notifyAll(txns: Iterable<WireTransaction>): Vault
    +fun notifyAll(txns: Iterable<WireTransaction>): Unit
    val rawUpdates: <ERROR CLASS><Update>
    fun track(): <ERROR CLASS><Vault, <ERROR CLASS><Update>>
    val updates: <ERROR CLASS><Update>
    @@ -9613,7 +9697,7 @@ -Vault(states: Iterable<StateAndRef<ContractState>>)
    +Vault(states: List<StateAndRef<ContractState>>)
    val NoUpdate: Update
    data class Update
    -val states: Iterable<StateAndRef<ContractState>>
    +val states: List<StateAndRef<ContractState>>
    inline fun <reified T : ContractState> statesOfType(): List<StateAndRef<T>>
    @@ -9645,14 +9730,14 @@ abstract fun addNoteToTransaction(txnId: SecureHash, noteText: String): Unit
    -open val cashBalances: Map<Currency, Amount<Currency>>
    +abstract val cashBalances: Map<Currency, Amount<Currency>>
    abstract val currentVault: Vault
    abstract fun generateSpend(tx: TransactionBuilder, amount: Amount<Currency>, to: CompositeKey, onlyFromParties: Set<Party>? = null): <ERROR CLASS><TransactionBuilder, List<CompositeKey>>
    abstract fun getTransactionNotes(txnId: SecureHash): Iterable<String>
    abstract val linearHeads: Map<UniqueIdentifier, StateAndRef<LinearState>>
    open fun <T : LinearState> linearHeadsOfType_(stateType: Class<T>): Map<UniqueIdentifier, StateAndRef<T>>
    -open fun notify(tx: WireTransaction): Vault
    -abstract fun notifyAll(txns: Iterable<WireTransaction>): Vault
    +open fun notify(tx: WireTransaction): Unit
    +abstract fun notifyAll(txns: Iterable<WireTransaction>): Unit
    abstract val rawUpdates: <ERROR CLASS><Update>
    open fun statesForRefs(refs: List<StateRef>): Map<StateRef, TransactionState<*>?>
    abstract fun track(): <ERROR CLASS><Vault, <ERROR CLASS><Update>>
    @@ -9991,7 +10076,7 @@ -fun <T> Future<T>.getOrThrow(): T
    +fun <T> Future<T>.getOrThrow(timeout: Duration? = null): T
    @@ -10704,21 +10789,23 @@ -EventGenerator(parties: List<Party>, notary: Party)
    -val amountGenerator: <ERROR CLASS>
    -val amountIssuedGenerator: <ERROR CLASS>
    -val bankOfCordaCommandGenerator: <ERROR CLASS>
    +EventGenerator(parties: List<Party>, notary: Party, currencies: List<Currency> = listOf(USD, GBP, CHF), issuers: List<Party> = parties)
    +val amountGenerator: Generator<Amount<Currency>>
    +val amountIssuedGenerator: Generator<Amount<Issued<Currency>>>
    +val bankOfCordaExitGenerator: <ERROR CLASS>
    +val bankOfCordaIssueGenerator: <ERROR CLASS>
    val cashStateGenerator: <ERROR CLASS>
    val clientCommandGenerator: <ERROR CLASS>
    val consumedGenerator: Generator<Set<StateRef>>
    -val currencies: <ERROR CLASS>
    -val currencyGenerator: <ERROR CLASS>
    -val exitCashGenerator: <ERROR CLASS>
    -val issueCashGenerator: <ERROR CLASS>
    +val currencies: List<Currency>
    +val currencyGenerator: Generator<Currency>
    +val exitCashGenerator: Generator<ExitCash>
    +val issueCashGenerator: Generator<IssueCash>
    val issueRefGenerator: Generator<OpaqueBytes>
    -val issuedGenerator: <ERROR CLASS>
    +val issuedGenerator: Generator<Issued<Currency>>
    val issuerGenerator: Generator<PartyAndReference>
    -val moveCashGenerator: <ERROR CLASS>
    +val issuers: List<Party>
    +val moveCashGenerator: Generator<PayCash>
    val notary: Party
    val parties: List<Party>
    val partyGenerator: Generator<Party>
    @@ -10807,9 +10894,9 @@ -Diff(added: Collection<StateAndRef<T>>, removed: Collection<StateRef>)
    +Diff(added: Collection<StateAndRef<T>>, removed: Collection<StateAndRef<T>>)
    val added: Collection<StateAndRef<T>>
    -val removed: Collection<StateRef>
    +val removed: Collection<StateAndRef<T>>
    @@ -10906,7 +10993,6 @@ NodeMonitorModel()
    -val clientToService: <ERROR CLASS><CashCommand>
    val networkMap: <ERROR CLASS><MapChange>
    val progressTracking: <ERROR CLASS><ProgressTrackingEvent>
    val proxyObservable: SimpleObjectProperty<CordaRPCOps?>
    @@ -12537,7 +12623,7 @@ -fun <T> Future<T>.getOrThrow(): T
    +fun <T> Future<T>.getOrThrow(timeout: Duration? = null): T
    @@ -14725,10 +14811,10 @@ val logger: <ERROR CLASS>
    open val progressTracker: ProgressTracker?
    inline fun <reified T : Any> receive(otherParty: Party): UntrustworthyData<T>
    -fun <T : Any> receive(otherParty: Party, receiveType: Class<T>): UntrustworthyData<T>
    +fun <T : Any> receive(receiveType: Class<T>, otherParty: Party): UntrustworthyData<T>
    fun send(otherParty: Party, payload: Any): Unit
    inline fun <reified T : Any> sendAndReceive(otherParty: Party, payload: Any): UntrustworthyData<T>
    -fun <T : Any> sendAndReceive(otherParty: Party, payload: Any, receiveType: Class<T>): UntrustworthyData<T>
    +fun <T : Any> sendAndReceive(receiveType: Class<T>, otherParty: Party, payload: Any): UntrustworthyData<T>
    val serviceHub: ServiceHub
    fun <R> subFlow(subLogic: FlowLogic<R>, shareParentSessions: Boolean = false): R
    fun track(): <ERROR CLASS><String, <ERROR CLASS><String>>?
    @@ -15708,7 +15794,7 @@ -Vault(states: Iterable<StateAndRef<ContractState>>)
    +Vault(states: List<StateAndRef<ContractState>>)
    val NoUpdate: Update
    data class Update
    -val states: Iterable<StateAndRef<ContractState>>
    +val states: List<StateAndRef<ContractState>>
    inline fun <reified T : ContractState> statesOfType(): List<StateAndRef<T>>
    @@ -15740,14 +15827,14 @@ abstract fun addNoteToTransaction(txnId: SecureHash, noteText: String): Unit
    -open val cashBalances: Map<Currency, Amount<Currency>>
    +abstract val cashBalances: Map<Currency, Amount<Currency>>
    abstract val currentVault: Vault
    abstract fun generateSpend(tx: TransactionBuilder, amount: Amount<Currency>, to: CompositeKey, onlyFromParties: Set<Party>? = null): <ERROR CLASS><TransactionBuilder, List<CompositeKey>>
    abstract fun getTransactionNotes(txnId: SecureHash): Iterable<String>
    abstract val linearHeads: Map<UniqueIdentifier, StateAndRef<LinearState>>
    open fun <T : LinearState> linearHeadsOfType_(stateType: Class<T>): Map<UniqueIdentifier, StateAndRef<T>>
    -open fun notify(tx: WireTransaction): Vault
    -abstract fun notifyAll(txns: Iterable<WireTransaction>): Vault
    +open fun notify(tx: WireTransaction): Unit
    +abstract fun notifyAll(txns: Iterable<WireTransaction>): Unit
    abstract val rawUpdates: <ERROR CLASS><Update>
    open fun statesForRefs(refs: List<StateRef>): Map<StateRef, TransactionState<*>?>
    abstract fun track(): <ERROR CLASS><Vault, <ERROR CLASS><Update>>
    @@ -16695,6 +16782,7 @@ const val CODE_NEWSPAPER: String
    const val CODE_PAPERCLIP: String
    const val CODE_RIGHT_ARROW: String
    +const val CODE_SANTA_CLAUS: String
    val bagOfCash: String
    val coolGuy: String
    val diamond: String
    @@ -16706,6 +16794,7 @@ inline fun <T> renderIfSupported(body: () -> T): T
    fun renderIfSupported(obj: Any): String
    val rightArrow: String
    +val santaClaus: String
    @@ -17132,8 +17221,14 @@ CashFlow(command: CashCommand)
    +CashFlow(command: CashCommand, progressTracker: ProgressTracker)
    +object EXITING : Step
    +object ISSUING : Step
    +object PAYING : Step
    fun call(): CashFlowResult
    val command: CashCommand
    +val progressTracker: ProgressTracker
    +fun tracker(): ProgressTracker
    @@ -17322,6 +17417,81 @@ +object IssuerFlow
    + object NotaryChangeFlow : AbstractStateReplacementFlow<Party>
    @@ -18162,7 +18331,7 @@ val name: Array<String>
    fun <A> pickA(array: Array<A>): A
    val portAllocation: PortAllocation
    -fun registerProcess(process: Process): Unit
    +fun registerProcess(process: <ERROR CLASS><Process>): Unit
    open fun shutdown(): Unit
    open fun start(): Unit
    open fun startNode(providedName: String?, advertisedServices: Set<ServiceInfo>, rpcUsers: List<User>, customOverrides: Map<String, Any?>): <ERROR CLASS><NodeHandle>
    @@ -18180,7 +18349,7 @@ -abstract fun startNode(providedName: String? = null, advertisedServices: Set<ServiceInfo> = emptySet(), rpcUsers: List<User> = emptyList(), customOverrides: Map<String, Any?> = emptyMap()): Future<NodeHandle>
    +abstract fun startNode(providedName: String? = null, advertisedServices: Set<ServiceInfo> = emptySet(), rpcUsers: List<User> = emptyList(), customOverrides: Map<String, Any?> = emptyMap()): <ERROR CLASS><NodeHandle>
    abstract fun startNotaryCluster(notaryName: String, clusterSize: Int = 3, type: ServiceType = RaftValidatingNotaryService.type, rpcUsers: List<User> = emptyList()): Future<<ERROR CLASS><Party, List<NodeHandle>>>
    abstract fun waitForAllNodesToFinish(): Unit
    @@ -18254,12 +18423,11 @@ -fun addressMustBeBound(hostAndPort: <ERROR CLASS>): Unit
    -fun addressMustNotBeBound(hostAndPort: <ERROR CLASS>): Unit
    -fun <A> driver(driverDirectory: Path = Paths.get("build", getTimestampAsDirectoryName()), portAllocation: PortAllocation = PortAllocation.Incremental(10000), debugPortAllocation: PortAllocation = PortAllocation.Incremental(5005), useTestClock: Boolean = false, isDebug: Boolean = false, dsl: DriverDSLExposedInterface.() -> A): A
    +fun addressMustBeBound(executorService: ScheduledExecutorService, hostAndPort: <ERROR CLASS>): <ERROR CLASS><Unit>
    +fun addressMustNotBeBound(executorService: ScheduledExecutorService, hostAndPort: <ERROR CLASS>): <ERROR CLASS><Unit>
    +fun <A> driver(isDebug: Boolean = false, driverDirectory: Path = Paths.get("build", getTimestampAsDirectoryName()), portAllocation: PortAllocation = PortAllocation.Incremental(10000), debugPortAllocation: PortAllocation = PortAllocation.Incremental(5005), useTestClock: Boolean = false, dsl: DriverDSLExposedInterface.() -> A): A
    fun <DI : DriverDSLExposedInterface, D : DriverDSLInternalInterface, A> genericDriver(driverDsl: D, coerce: (D) -> DI, dsl: DI.() -> A): A
    fun getTimestampAsDirectoryName(): String
    -fun <A> poll(pollName: String, pollIntervalMs: Long = 500, warnCount: Int = 120, f: () -> A?): A
    fun writeConfig(path: Path, filename: String, config: <ERROR CLASS>): Unit
    @@ -18995,7 +19163,7 @@ ArtemisMessagingComponent()
    -protected interface ArtemisAddress : MessageRecipients
    +interface ArtemisAddress : MessageRecipients
    -protected interface ArtemisPeerAddress : ArtemisAddress, SingleMessageRecipient
    +interface ArtemisPeerAddress : ArtemisAddress, SingleMessageRecipient
    const val INTERNAL_PREFIX: String
    -val NETWORK_MAP_ADDRESS: <ERROR CLASS>
    +val NETWORK_MAP_ADDRESS: String
    const val NODE_USER: String
    const val NOTIFICATIONS_ADDRESS: String
    data class NetworkMapAddress : SingleMessageRecipient, ArtemisPeerAddress
    @@ -19071,6 +19239,7 @@ const val P2P_QUEUE: String
    const val PEERS_PREFIX: String
    const val PEER_USER: String
    +const val RPC_QUEUE_REMOVALS_QUEUE: String
    const val RPC_REQUESTS_QUEUE: String
    const val SERVICES_PREFIX: String
    data class ServiceAddress : ArtemisAddress, MessageRecipientGroup
    @@ -19124,8 +19293,8 @@ -fun bridgeToNetworkMapService(networkMapService: NetworkMapAddress): Unit
    val config: NodeConfiguration
    +fun deployBridgeIfAbsent(queueName: <ERROR CLASS>, hostAndPort: <ERROR CLASS>): Unit
    val myHostPort: <ERROR CLASS>
    val networkMapCache: NetworkMapCache
    fun start(): Unit
    @@ -19235,7 +19404,6 @@ -const val RPC_QUEUE_REMOVALS_QUEUE: String
    const val SESSION_ID_PROPERTY: String
    const val TOPIC_PROPERTY: String
    fun addMessageHandler(topic: String, sessionID: Long, callback: (ReceivedMessage, MessageHandlerRegistration) -> Unit): MessageHandlerRegistration
    @@ -20477,12 +20645,13 @@ NodeVaultService(services: ServiceHub)
    fun addNoteToTransaction(txnId: SecureHash, noteText: String): Unit
    +val cashBalances: Map<Currency, Amount<Currency>>
    val currentVault: Vault
    fun generateSpend(tx: TransactionBuilder, amount: Amount<Currency>, to: CompositeKey, onlyFromParties: Set<Party>?): <ERROR CLASS><TransactionBuilder, List<CompositeKey>>
    fun getTransactionNotes(txnId: SecureHash): Iterable<String>
    val linearHeads: Map<UniqueIdentifier, StateAndRef<LinearState>>
    val log: <ERROR CLASS>
    -fun notifyAll(txns: Iterable<WireTransaction>): Vault
    +fun notifyAll(txns: Iterable<WireTransaction>): Unit
    val rawUpdates: <ERROR CLASS><Update>
    fun track(): <ERROR CLASS><Vault, <ERROR CLASS><Update>>
    val updates: <ERROR CLASS><Update>
    @@ -21240,6 +21409,7 @@ fun <ERROR CLASS>.stateRef(txIdColumnName: String, indexColumnName: String): <ERROR CLASS>
    fun <ERROR CLASS>.txnNote(txIdColumnName: String, txnNoteColumnName: String): <ERROR CLASS>
    fun <ERROR CLASS>.uuidString(name: String): <ERROR CLASS>
    +fun <T : Any> <ERROR CLASS><T>.wrapWithDatabaseTransaction(db: <ERROR CLASS>? = null): <ERROR CLASS><T>
    diff --git a/docs/build/html/api/net.corda.client.mock/-event-generator/-init-.html b/docs/build/html/api/net.corda.client.mock/-event-generator/-init-.html index 0be542ef35..198092145a 100644 --- a/docs/build/html/api/net.corda.client.mock/-event-generator/-init-.html +++ b/docs/build/html/api/net.corda.client.mock/-event-generator/-init-.html @@ -7,7 +7,7 @@ net.corda.client.mock / EventGenerator / <init>

    <init>

    -EventGenerator(parties: List<Party>, notary: Party)
    +EventGenerator(parties: List<Party>, notary: Party, currencies: List<Currency> = listOf(USD, GBP, CHF), issuers: List<Party> = parties)

    Generators for incoming/outgoing events to/from the WalletMonitorService. Internally it keeps track of owned state/ref pairs, but it doesnt necessarily generate "correct" events


    diff --git a/docs/build/html/api/net.corda.client.mock/-event-generator/amount-generator.html b/docs/build/html/api/net.corda.client.mock/-event-generator/amount-generator.html index 01ec1fe64d..c1bfa0caea 100644 --- a/docs/build/html/api/net.corda.client.mock/-event-generator/amount-generator.html +++ b/docs/build/html/api/net.corda.client.mock/-event-generator/amount-generator.html @@ -8,7 +8,7 @@

    amountGenerator

    -val amountGenerator: <ERROR CLASS>
    +val amountGenerator: Generator<Amount<Currency>>


    diff --git a/docs/build/html/api/net.corda.client.mock/-event-generator/amount-issued-generator.html b/docs/build/html/api/net.corda.client.mock/-event-generator/amount-issued-generator.html index d6c31d0170..9ff4ba05c8 100644 --- a/docs/build/html/api/net.corda.client.mock/-event-generator/amount-issued-generator.html +++ b/docs/build/html/api/net.corda.client.mock/-event-generator/amount-issued-generator.html @@ -8,7 +8,7 @@

    amountIssuedGenerator

    -val amountIssuedGenerator: <ERROR CLASS>
    +val amountIssuedGenerator: Generator<Amount<Issued<Currency>>>


    diff --git a/docs/build/html/api/net.corda.client.mock/-event-generator/bank-of-corda-exit-generator.html b/docs/build/html/api/net.corda.client.mock/-event-generator/bank-of-corda-exit-generator.html new file mode 100644 index 0000000000..2889adf2e3 --- /dev/null +++ b/docs/build/html/api/net.corda.client.mock/-event-generator/bank-of-corda-exit-generator.html @@ -0,0 +1,15 @@ + + +EventGenerator.bankOfCordaExitGenerator - + + + +net.corda.client.mock / EventGenerator / bankOfCordaExitGenerator
    +
    +

    bankOfCordaExitGenerator

    + +val bankOfCordaExitGenerator: <ERROR CLASS>
    +
    +
    + + diff --git a/docs/build/html/api/net.corda.client.mock/-event-generator/bank-of-corda-issue-generator.html b/docs/build/html/api/net.corda.client.mock/-event-generator/bank-of-corda-issue-generator.html new file mode 100644 index 0000000000..2f6fcb0625 --- /dev/null +++ b/docs/build/html/api/net.corda.client.mock/-event-generator/bank-of-corda-issue-generator.html @@ -0,0 +1,15 @@ + + +EventGenerator.bankOfCordaIssueGenerator - + + + +net.corda.client.mock / EventGenerator / bankOfCordaIssueGenerator
    +
    +

    bankOfCordaIssueGenerator

    + +val bankOfCordaIssueGenerator: <ERROR CLASS>
    +
    +
    + + diff --git a/docs/build/html/api/net.corda.client.mock/-event-generator/currencies.html b/docs/build/html/api/net.corda.client.mock/-event-generator/currencies.html index 1519a2114e..8dfe3ac43c 100644 --- a/docs/build/html/api/net.corda.client.mock/-event-generator/currencies.html +++ b/docs/build/html/api/net.corda.client.mock/-event-generator/currencies.html @@ -8,7 +8,7 @@

    currencies

    -val currencies: <ERROR CLASS>
    +val currencies: List<Currency>


    diff --git a/docs/build/html/api/net.corda.client.mock/-event-generator/currency-generator.html b/docs/build/html/api/net.corda.client.mock/-event-generator/currency-generator.html index f732960fbb..81a4beb904 100644 --- a/docs/build/html/api/net.corda.client.mock/-event-generator/currency-generator.html +++ b/docs/build/html/api/net.corda.client.mock/-event-generator/currency-generator.html @@ -8,7 +8,7 @@

    currencyGenerator

    -val currencyGenerator: <ERROR CLASS>
    +val currencyGenerator: Generator<Currency>


    diff --git a/docs/build/html/api/net.corda.client.mock/-event-generator/exit-cash-generator.html b/docs/build/html/api/net.corda.client.mock/-event-generator/exit-cash-generator.html index 5c3b52180c..e26f29e9c8 100644 --- a/docs/build/html/api/net.corda.client.mock/-event-generator/exit-cash-generator.html +++ b/docs/build/html/api/net.corda.client.mock/-event-generator/exit-cash-generator.html @@ -8,7 +8,7 @@

    exitCashGenerator

    -val exitCashGenerator: <ERROR CLASS>
    +val exitCashGenerator: Generator<ExitCash>


    diff --git a/docs/build/html/api/net.corda.client.mock/-event-generator/index.html b/docs/build/html/api/net.corda.client.mock/-event-generator/index.html index d48b73a291..76f4832916 100644 --- a/docs/build/html/api/net.corda.client.mock/-event-generator/index.html +++ b/docs/build/html/api/net.corda.client.mock/-event-generator/index.html @@ -19,7 +19,7 @@ state/ref pairs, but it doesnt necessarily generate "correct" events

    <init> -EventGenerator(parties: List<Party>, notary: Party)

    Generators for incoming/outgoing events to/from the WalletMonitorService. Internally it keeps track of owned +EventGenerator(parties: List<Party>, notary: Party, currencies: List<Currency> = listOf(USD, GBP, CHF), issuers: List<Party> = parties)

    Generators for incoming/outgoing events to/from the WalletMonitorService. Internally it keeps track of owned state/ref pairs, but it doesnt necessarily generate "correct" events

    @@ -32,19 +32,25 @@ state/ref pairs, but it doesnt necessarily generate "correct" events

    amountGenerator -val amountGenerator: <ERROR CLASS> +val amountGenerator: Generator<Amount<Currency>> amountIssuedGenerator -val amountIssuedGenerator: <ERROR CLASS> +val amountIssuedGenerator: Generator<Amount<Issued<Currency>>> -bankOfCordaCommandGenerator +bankOfCordaExitGenerator -val bankOfCordaCommandGenerator: <ERROR CLASS> +val bankOfCordaExitGenerator: <ERROR CLASS> + + + +bankOfCordaIssueGenerator + +val bankOfCordaIssueGenerator: <ERROR CLASS> @@ -68,25 +74,25 @@ state/ref pairs, but it doesnt necessarily generate "correct" events

    currencies -val currencies: <ERROR CLASS> +val currencies: List<Currency> currencyGenerator -val currencyGenerator: <ERROR CLASS> +val currencyGenerator: Generator<Currency> exitCashGenerator -val exitCashGenerator: <ERROR CLASS> +val exitCashGenerator: Generator<ExitCash> issueCashGenerator -val issueCashGenerator: <ERROR CLASS> +val issueCashGenerator: Generator<IssueCash> @@ -98,7 +104,7 @@ state/ref pairs, but it doesnt necessarily generate "correct" events

    issuedGenerator -val issuedGenerator: <ERROR CLASS> +val issuedGenerator: Generator<Issued<Currency>> @@ -108,9 +114,15 @@ state/ref pairs, but it doesnt necessarily generate "correct" events

    +issuers + +val issuers: List<Party> + + + moveCashGenerator -val moveCashGenerator: <ERROR CLASS> +val moveCashGenerator: Generator<PayCash> diff --git a/docs/build/html/api/net.corda.client.mock/-event-generator/issue-cash-generator.html b/docs/build/html/api/net.corda.client.mock/-event-generator/issue-cash-generator.html index 3dc5cf9e71..9674b2e98c 100644 --- a/docs/build/html/api/net.corda.client.mock/-event-generator/issue-cash-generator.html +++ b/docs/build/html/api/net.corda.client.mock/-event-generator/issue-cash-generator.html @@ -8,7 +8,7 @@

    issueCashGenerator

    -val issueCashGenerator: <ERROR CLASS>
    +val issueCashGenerator: Generator<IssueCash>


    diff --git a/docs/build/html/api/net.corda.client.mock/-event-generator/issued-generator.html b/docs/build/html/api/net.corda.client.mock/-event-generator/issued-generator.html index 52bdeb2ff3..216f2dfc52 100644 --- a/docs/build/html/api/net.corda.client.mock/-event-generator/issued-generator.html +++ b/docs/build/html/api/net.corda.client.mock/-event-generator/issued-generator.html @@ -8,7 +8,7 @@

    issuedGenerator

    -val issuedGenerator: <ERROR CLASS>
    +val issuedGenerator: Generator<Issued<Currency>>


    diff --git a/docs/build/html/api/net.corda.client.mock/-event-generator/issuers.html b/docs/build/html/api/net.corda.client.mock/-event-generator/issuers.html new file mode 100644 index 0000000000..a548475e8e --- /dev/null +++ b/docs/build/html/api/net.corda.client.mock/-event-generator/issuers.html @@ -0,0 +1,15 @@ + + +EventGenerator.issuers - + + + +net.corda.client.mock / EventGenerator / issuers
    +
    +

    issuers

    + +val issuers: List<Party>
    +
    +
    + + diff --git a/docs/build/html/api/net.corda.client.mock/-event-generator/move-cash-generator.html b/docs/build/html/api/net.corda.client.mock/-event-generator/move-cash-generator.html index 6a88902abf..47ddbb62c6 100644 --- a/docs/build/html/api/net.corda.client.mock/-event-generator/move-cash-generator.html +++ b/docs/build/html/api/net.corda.client.mock/-event-generator/move-cash-generator.html @@ -8,7 +8,7 @@

    moveCashGenerator

    -val moveCashGenerator: <ERROR CLASS>
    +val moveCashGenerator: Generator<PayCash>


    diff --git a/docs/build/html/api/net.corda.client.model/-diff/-init-.html b/docs/build/html/api/net.corda.client.model/-diff/-init-.html index 081e3851db..ef146199ca 100644 --- a/docs/build/html/api/net.corda.client.model/-diff/-init-.html +++ b/docs/build/html/api/net.corda.client.model/-diff/-init-.html @@ -7,7 +7,7 @@ net.corda.client.model / Diff / <init>

    <init>

    -Diff(added: Collection<StateAndRef<T>>, removed: Collection<StateRef>)
    +Diff(added: Collection<StateAndRef<T>>, removed: Collection<StateAndRef<T>>)


    diff --git a/docs/build/html/api/net.corda.client.model/-diff/index.html b/docs/build/html/api/net.corda.client.model/-diff/index.html index addb643b6e..633998d029 100644 --- a/docs/build/html/api/net.corda.client.model/-diff/index.html +++ b/docs/build/html/api/net.corda.client.model/-diff/index.html @@ -17,7 +17,7 @@ <init> -Diff(added: Collection<StateAndRef<T>>, removed: Collection<StateRef>) +Diff(added: Collection<StateAndRef<T>>, removed: Collection<StateAndRef<T>>) @@ -34,7 +34,7 @@ removed -val removed: Collection<StateRef> +val removed: Collection<StateAndRef<T>> diff --git a/docs/build/html/api/net.corda.client.model/-diff/removed.html b/docs/build/html/api/net.corda.client.model/-diff/removed.html index 0f0d22cd2a..02e0aeedb8 100644 --- a/docs/build/html/api/net.corda.client.model/-diff/removed.html +++ b/docs/build/html/api/net.corda.client.model/-diff/removed.html @@ -8,7 +8,7 @@

    removed

    -val removed: Collection<StateRef>
    +val removed: Collection<StateAndRef<T>>


    diff --git a/docs/build/html/api/net.corda.client.model/-node-monitor-model/index.html b/docs/build/html/api/net.corda.client.model/-node-monitor-model/index.html index 1eca0da344..fc9a7f65ac 100644 --- a/docs/build/html/api/net.corda.client.model/-node-monitor-model/index.html +++ b/docs/build/html/api/net.corda.client.model/-node-monitor-model/index.html @@ -28,12 +28,6 @@ -clientToService - -val clientToService: <ERROR CLASS><CashCommand> - - - networkMap val networkMap: <ERROR CLASS><MapChange> diff --git a/docs/build/html/api/net.corda.core.flows/-flow-logic/index.html b/docs/build/html/api/net.corda.core.flows/-flow-logic/index.html index d441be5087..c67a2d2fa9 100644 --- a/docs/build/html/api/net.corda.core.flows/-flow-logic/index.html +++ b/docs/build/html/api/net.corda.core.flows/-flow-logic/index.html @@ -100,7 +100,7 @@ will do as long as the other side registers with it.

    receive fun <T : Any> receive(otherParty: Party): UntrustworthyData<T>
    -fun <T : Any> receive(otherParty: Party, receiveType: Class<T>): UntrustworthyData<T> +fun <T : Any> receive(receiveType: Class<T>, otherParty: Party): UntrustworthyData<T> @@ -113,7 +113,7 @@ will do as long as the other side registers with it.

    sendAndReceive fun <T : Any> sendAndReceive(otherParty: Party, payload: Any): UntrustworthyData<T>
    -fun <T : Any> sendAndReceive(otherParty: Party, payload: Any, receiveType: Class<T>): UntrustworthyData<T> +fun <T : Any> sendAndReceive(receiveType: Class<T>, otherParty: Party, payload: Any): UntrustworthyData<T> @@ -191,6 +191,22 @@ timestamp is correct and none of its inputs have been used in another completed +IssuanceRequester + +class IssuanceRequester : FlowLogic<SignedTransaction>

    IssuanceRequester should be used by a client to ask a remote note to issue some FungibleAsset with the given details. +Returns the transaction created by the Issuer to move the cash to the Requester.

    + + + + +Issuer + +class Issuer : FlowLogic<SignedTransaction>

    Issuer refers to a Node acting as a Bank Issuer of FungibleAsset, and processes requests from a IssuanceRequester client. +Returns the generated transaction representing the transfer of the Issued to the issue requester.

    + + + + NotifyTransactionHandler class NotifyTransactionHandler : FlowLogic<Unit> diff --git a/docs/build/html/api/net.corda.core.flows/-flow-logic/receive.html b/docs/build/html/api/net.corda.core.flows/-flow-logic/receive.html index d64e08986b..b6cd302ae1 100644 --- a/docs/build/html/api/net.corda.core.flows/-flow-logic/receive.html +++ b/docs/build/html/api/net.corda.core.flows/-flow-logic/receive.html @@ -9,8 +9,8 @@

    receive

    inline fun <reified T : Any> receive(otherParty: Party): UntrustworthyData<T>
    - -fun <T : Any> receive(otherParty: Party, receiveType: Class<T>): UntrustworthyData<T>
    + +fun <T : Any> receive(receiveType: Class<T>, otherParty: Party): UntrustworthyData<T>


    diff --git a/docs/build/html/api/net.corda.core.flows/-flow-logic/send-and-receive.html b/docs/build/html/api/net.corda.core.flows/-flow-logic/send-and-receive.html index 09cf7b81db..3f650e39c0 100644 --- a/docs/build/html/api/net.corda.core.flows/-flow-logic/send-and-receive.html +++ b/docs/build/html/api/net.corda.core.flows/-flow-logic/send-and-receive.html @@ -9,8 +9,8 @@

    sendAndReceive

    inline fun <reified T : Any> sendAndReceive(otherParty: Party, payload: Any): UntrustworthyData<T>
    - -fun <T : Any> sendAndReceive(otherParty: Party, payload: Any, receiveType: Class<T>): UntrustworthyData<T>
    + +fun <T : Any> sendAndReceive(receiveType: Class<T>, otherParty: Party, payload: Any): UntrustworthyData<T>


    diff --git a/docs/build/html/api/net.corda.core.node.services/-vault-service/cash-balances.html b/docs/build/html/api/net.corda.core.node.services/-vault-service/cash-balances.html index 5c0ba6c9da..3125831c39 100644 --- a/docs/build/html/api/net.corda.core.node.services/-vault-service/cash-balances.html +++ b/docs/build/html/api/net.corda.core.node.services/-vault-service/cash-balances.html @@ -8,7 +8,7 @@

    cashBalances

    -open val cashBalances: Map<Currency, Amount<Currency>>
    +abstract val cashBalances: Map<Currency, Amount<Currency>>

    Returns a map of how much cash we have in each currency, ignoring details like issuer. Note: currencies for which we have no cash evaluate to null (not present in map), not 0.


    diff --git a/docs/build/html/api/net.corda.core.node.services/-vault-service/index.html b/docs/build/html/api/net.corda.core.node.services/-vault-service/index.html index fd6036980c..cc00d61731 100644 --- a/docs/build/html/api/net.corda.core.node.services/-vault-service/index.html +++ b/docs/build/html/api/net.corda.core.node.services/-vault-service/index.html @@ -24,7 +24,7 @@ consumed by someone else first

    cashBalances -open val cashBalances: Map<Currency, Amount<Currency>>

    Returns a map of how much cash we have in each currency, ignoring details like issuer. Note: currencies for +abstract val cashBalances: Map<Currency, Amount<Currency>>

    Returns a map of how much cash we have in each currency, ignoring details like issuer. Note: currencies for which we have no cash evaluate to null (not present in map), not 0.

    @@ -99,14 +99,14 @@ Note: an Amount notify -open fun notify(tx: WireTransaction): Vault

    Same as notifyAll but with a single transaction.

    +open fun notify(tx: WireTransaction): Unit

    Same as notifyAll but with a single transaction.

    notifyAll -abstract fun notifyAll(txns: Iterable<WireTransaction>): Vault

    Possibly update the vault by marking as spent states that these transactions consume, and adding any relevant +abstract fun notifyAll(txns: Iterable<WireTransaction>): Unit

    Possibly update the vault by marking as spent states that these transactions consume, and adding any relevant new states that they create. You should only insert transactions that have been successfully verified here

    diff --git a/docs/build/html/api/net.corda.core.node.services/-vault-service/notify-all.html b/docs/build/html/api/net.corda.core.node.services/-vault-service/notify-all.html index 8ed4feb631..65aa354494 100644 --- a/docs/build/html/api/net.corda.core.node.services/-vault-service/notify-all.html +++ b/docs/build/html/api/net.corda.core.node.services/-vault-service/notify-all.html @@ -8,10 +8,9 @@

    notifyAll

    -abstract fun notifyAll(txns: Iterable<WireTransaction>): Vault
    +abstract fun notifyAll(txns: Iterable<WireTransaction>): Unit

    Possibly update the vault by marking as spent states that these transactions consume, and adding any relevant new states that they create. You should only insert transactions that have been successfully verified here

    -

    Returns the new vault that resulted from applying the transactions (note: it may quickly become out of date).

    TODO: Consider if theres a good way to enforce the must-be-verified requirement in the type system.



    diff --git a/docs/build/html/api/net.corda.core.node.services/-vault-service/notify.html b/docs/build/html/api/net.corda.core.node.services/-vault-service/notify.html index e1d6884d0d..417579b84a 100644 --- a/docs/build/html/api/net.corda.core.node.services/-vault-service/notify.html +++ b/docs/build/html/api/net.corda.core.node.services/-vault-service/notify.html @@ -8,7 +8,7 @@

    notify

    -open fun notify(tx: WireTransaction): Vault
    +open fun notify(tx: WireTransaction): Unit

    Same as notifyAll but with a single transaction.



    diff --git a/docs/build/html/api/net.corda.core.node.services/-vault/-init-.html b/docs/build/html/api/net.corda.core.node.services/-vault/-init-.html index 493329c0d5..9928ad3524 100644 --- a/docs/build/html/api/net.corda.core.node.services/-vault/-init-.html +++ b/docs/build/html/api/net.corda.core.node.services/-vault/-init-.html @@ -7,13 +7,13 @@ net.corda.core.node.services / Vault / <init>

    <init>

    -Vault(states: Iterable<StateAndRef<ContractState>>)
    +Vault(states: List<StateAndRef<ContractState>>)

    A vault (name may be temporary) wraps a set of states that are useful for us to keep track of, for instance, because we own them. This class represents an immutable, stable state of a vault: it is guaranteed not to change out from underneath you, even though the canonical currently-best-known vault may change as we learn about new transactions from our peers and generate new transactions that consume states ourselves.

    This abstract class has no references to Cash contracts.

    -

    states Holds the states that are active and relevant. +

    states Holds the states that are active and relevant. Active means they havent been consumed yet (or we dont know about it). Relevant means they contain at least one of our pubkeys.


    diff --git a/docs/build/html/api/net.corda.core.node.services/-vault/-update/-init-.html b/docs/build/html/api/net.corda.core.node.services/-vault/-update/-init-.html index bb495637d0..bd66c9cb0a 100644 --- a/docs/build/html/api/net.corda.core.node.services/-vault/-update/-init-.html +++ b/docs/build/html/api/net.corda.core.node.services/-vault/-update/-init-.html @@ -7,7 +7,7 @@ net.corda.core.node.services / Vault / Update / <init>

    <init>

    -Update(consumed: Set<StateRef>, produced: Set<StateAndRef<ContractState>>)
    +Update(consumed: Set<StateAndRef<ContractState>>, produced: Set<StateAndRef<ContractState>>)

    Represents an update observed by the vault that will be notified to observers. Include the StateRefs of transaction outputs that were consumed (inputs) and the ContractStates produced (outputs) to/by the transaction or transactions observed and the vault.

    diff --git a/docs/build/html/api/net.corda.core.node.services/-vault/-update/consumed.html b/docs/build/html/api/net.corda.core.node.services/-vault/-update/consumed.html index bae00dcdb0..373046bcf1 100644 --- a/docs/build/html/api/net.corda.core.node.services/-vault/-update/consumed.html +++ b/docs/build/html/api/net.corda.core.node.services/-vault/-update/consumed.html @@ -8,7 +8,7 @@

    consumed

    -val consumed: Set<StateRef>
    +val consumed: Set<StateAndRef<ContractState>>


    diff --git a/docs/build/html/api/net.corda.core.node.services/-vault/-update/contains-type.html b/docs/build/html/api/net.corda.core.node.services/-vault/-update/contains-type.html new file mode 100644 index 0000000000..0507e0543e --- /dev/null +++ b/docs/build/html/api/net.corda.core.node.services/-vault/-update/contains-type.html @@ -0,0 +1,16 @@ + + +Vault.Update.containsType - + + + +net.corda.core.node.services / Vault / Update / containsType
    +
    +

    containsType

    + +inline fun <reified T : ContractState> containsType(): Boolean
    +

    Checks whether the update contains a state of the specified type.

    +
    +
    + + diff --git a/docs/build/html/api/net.corda.core.node.services/-vault/-update/index.html b/docs/build/html/api/net.corda.core.node.services/-vault/-update/index.html index e3908ddfc2..5d10095901 100644 --- a/docs/build/html/api/net.corda.core.node.services/-vault/-update/index.html +++ b/docs/build/html/api/net.corda.core.node.services/-vault/-update/index.html @@ -24,7 +24,7 @@ other transactions observed, then the changes are observed "net" of those.

    <init> -Update(consumed: Set<StateRef>, produced: Set<StateAndRef<ContractState>>)

    Represents an update observed by the vault that will be notified to observers. Include the StateRefs of +Update(consumed: Set<StateAndRef<ContractState>>, produced: Set<StateAndRef<ContractState>>)

    Represents an update observed by the vault that will be notified to observers. Include the StateRefs of transaction outputs that were consumed (inputs) and the ContractStates produced (outputs) to/by the transaction or transactions observed and the vault.

    @@ -38,7 +38,7 @@ or transactions observed and the vault.

    consumed -val consumed: Set<StateRef> +val consumed: Set<StateAndRef<ContractState>> @@ -53,6 +53,13 @@ or transactions observed and the vault.

    +containsType + +fun <T : ContractState> containsType(): Boolean

    Checks whether the update contains a state of the specified type.

    + + + + plus operator fun plus(rhs: Update): Update

    Combine two updates into a single update with the combined inputs and outputs of the two updates but net diff --git a/docs/build/html/api/net.corda.core.node.services/-vault/index.html b/docs/build/html/api/net.corda.core.node.services/-vault/index.html index 0476b9a012..7110203b5b 100644 --- a/docs/build/html/api/net.corda.core.node.services/-vault/index.html +++ b/docs/build/html/api/net.corda.core.node.services/-vault/index.html @@ -41,7 +41,7 @@ or transactions observed and the vault.

    <init> -Vault(states: Iterable<StateAndRef<ContractState>>)

    A vault (name may be temporary) wraps a set of states that are useful for us to keep track of, for instance, +Vault(states: List<StateAndRef<ContractState>>)

    A vault (name may be temporary) wraps a set of states that are useful for us to keep track of, for instance, because we own them. This class represents an immutable, stable state of a vault: it is guaranteed not to change out from underneath you, even though the canonical currently-best-known vault may change as we learn about new transactions from our peers and generate new transactions that consume states ourselves.

    @@ -56,7 +56,7 @@ about new transactions from our peers and generate new transactions that consume states -val states: Iterable<StateAndRef<ContractState>> +val states: List<StateAndRef<ContractState>> diff --git a/docs/build/html/api/net.corda.core.node.services/-vault/states.html b/docs/build/html/api/net.corda.core.node.services/-vault/states.html index 14677d72c2..cf089633c9 100644 --- a/docs/build/html/api/net.corda.core.node.services/-vault/states.html +++ b/docs/build/html/api/net.corda.core.node.services/-vault/states.html @@ -8,7 +8,7 @@

    states

    -val states: Iterable<StateAndRef<ContractState>>
    +val states: List<StateAndRef<ContractState>>


    diff --git a/docs/build/html/api/net.corda.core.utilities/-emoji/-c-o-d-e_-s-a-n-t-a_-c-l-a-u-s.html b/docs/build/html/api/net.corda.core.utilities/-emoji/-c-o-d-e_-s-a-n-t-a_-c-l-a-u-s.html new file mode 100644 index 0000000000..f24ba2125c --- /dev/null +++ b/docs/build/html/api/net.corda.core.utilities/-emoji/-c-o-d-e_-s-a-n-t-a_-c-l-a-u-s.html @@ -0,0 +1,15 @@ + + +Emoji.CODE_SANTA_CLAUS - + + + +net.corda.core.utilities / Emoji / CODE_SANTA_CLAUS
    +
    +

    CODE_SANTA_CLAUS

    + +const val CODE_SANTA_CLAUS: String
    +
    +
    + + diff --git a/docs/build/html/api/net.corda.core.utilities/-emoji/index.html b/docs/build/html/api/net.corda.core.utilities/-emoji/index.html index d9077743e9..d82c224e5e 100644 --- a/docs/build/html/api/net.corda.core.utilities/-emoji/index.html +++ b/docs/build/html/api/net.corda.core.utilities/-emoji/index.html @@ -64,6 +64,12 @@ +CODE_SANTA_CLAUS + +const val CODE_SANTA_CLAUS: String + + + bagOfCash val bagOfCash: String @@ -118,6 +124,12 @@ sufficiently capable text surface.

    val rightArrow: String + + +santaClaus + +val santaClaus: String +

    Functions

    diff --git a/docs/build/html/api/net.corda.core.utilities/-emoji/santa-claus.html b/docs/build/html/api/net.corda.core.utilities/-emoji/santa-claus.html new file mode 100644 index 0000000000..bcdfc5366d --- /dev/null +++ b/docs/build/html/api/net.corda.core.utilities/-emoji/santa-claus.html @@ -0,0 +1,15 @@ + + +Emoji.santaClaus - + + + +net.corda.core.utilities / Emoji / santaClaus
    +
    +

    santaClaus

    + +val santaClaus: String
    +
    +
    + + diff --git a/docs/build/html/api/net.corda.core.utilities/-progress-tracker/-step/index.html b/docs/build/html/api/net.corda.core.utilities/-progress-tracker/-step/index.html index 2d75edf788..2da3252a57 100644 --- a/docs/build/html/api/net.corda.core.utilities/-progress-tracker/-step/index.html +++ b/docs/build/html/api/net.corda.core.utilities/-progress-tracker/-step/index.html @@ -74,6 +74,12 @@ +AWAITING_REQUEST + +object AWAITING_REQUEST : Step + + + BROADCASTING object BROADCASTING : Step @@ -92,6 +98,24 @@ +EXITING + +object EXITING : Step + + + +ISSUING + +object ISSUING : Step + + + +ISSUING + +object ISSUING : Step + + + NOTARISING object NOTARISING : Step @@ -116,6 +140,12 @@ +PAYING + +object PAYING : Step + + + RECEIVING object RECEIVING : Step @@ -165,6 +195,12 @@ +SENDING_CONFIRM + +object SENDING_CONFIRM : Step + + + SENDING_SIGS object SENDING_SIGS : Step @@ -219,6 +255,12 @@ +TRANSFERRING + +object TRANSFERRING : Step + + + UNSTARTED object UNSTARTED : Step diff --git a/docs/build/html/api/net.corda.core/java.util.concurrent.-future/get-or-throw.html b/docs/build/html/api/net.corda.core/java.util.concurrent.-future/get-or-throw.html index 39303496e6..2312808bc1 100644 --- a/docs/build/html/api/net.corda.core/java.util.concurrent.-future/get-or-throw.html +++ b/docs/build/html/api/net.corda.core/java.util.concurrent.-future/get-or-throw.html @@ -7,8 +7,8 @@ net.corda.core / java.util.concurrent.Future / getOrThrow

    getOrThrow

    - -fun <T> Future<T>.getOrThrow(): T
    + +fun <T> Future<T>.getOrThrow(timeout: Duration? = null): T

    Same as Future.get but with a more descriptive name, and doesnt throw ExecutionException, instead throwing its cause



    diff --git a/docs/build/html/api/net.corda.core/java.util.concurrent.-future/index.html b/docs/build/html/api/net.corda.core/java.util.concurrent.-future/index.html index e36e37d516..06c8b2ac71 100644 --- a/docs/build/html/api/net.corda.core/java.util.concurrent.-future/index.html +++ b/docs/build/html/api/net.corda.core/java.util.concurrent.-future/index.html @@ -13,7 +13,7 @@ getOrThrow -fun <T> Future<T>.getOrThrow(): T

    Same as Future.get but with a more descriptive name, and doesnt throw ExecutionException, instead throwing its cause

    +fun <T> Future<T>.getOrThrow(timeout: Duration? = null): T

    Same as Future.get but with a more descriptive name, and doesnt throw ExecutionException, instead throwing its cause

    diff --git a/docs/build/html/api/net.corda.flows/-abstract-state-replacement-flow/-acceptor/index.html b/docs/build/html/api/net.corda.flows/-abstract-state-replacement-flow/-acceptor/index.html index de4c8c5d72..f59625c348 100644 --- a/docs/build/html/api/net.corda.flows/-abstract-state-replacement-flow/-acceptor/index.html +++ b/docs/build/html/api/net.corda.flows/-abstract-state-replacement-flow/-acceptor/index.html @@ -131,7 +131,7 @@ will do as long as the other side registers with it.

    receive fun <T : Any> receive(otherParty: Party): UntrustworthyData<T>
    -fun <T : Any> receive(otherParty: Party, receiveType: Class<T>): UntrustworthyData<T> +fun <T : Any> receive(receiveType: Class<T>, otherParty: Party): UntrustworthyData<T> @@ -143,8 +143,8 @@ will do as long as the other side registers with it.

    sendAndReceive -fun <T : Any> sendAndReceive(otherParty: Party, payload: Any, receiveType: Class<T>): UntrustworthyData<T>
    -fun <T : Any> sendAndReceive(otherParty: Party, payload: Any): UntrustworthyData<T> +fun <T : Any> sendAndReceive(otherParty: Party, payload: Any): UntrustworthyData<T>
    +fun <T : Any> sendAndReceive(receiveType: Class<T>, otherParty: Party, payload: Any): UntrustworthyData<T> diff --git a/docs/build/html/api/net.corda.flows/-abstract-state-replacement-flow/-instigator/index.html b/docs/build/html/api/net.corda.flows/-abstract-state-replacement-flow/-instigator/index.html index 6709e3b5e5..601599d97c 100644 --- a/docs/build/html/api/net.corda.flows/-abstract-state-replacement-flow/-instigator/index.html +++ b/docs/build/html/api/net.corda.flows/-abstract-state-replacement-flow/-instigator/index.html @@ -133,8 +133,8 @@ will do as long as the other side registers with it.

    receive -fun <T : Any> receive(otherParty: Party, receiveType: Class<T>): UntrustworthyData<T>
    -fun <T : Any> receive(otherParty: Party): UntrustworthyData<T> +fun <T : Any> receive(otherParty: Party): UntrustworthyData<T>
    +fun <T : Any> receive(receiveType: Class<T>, otherParty: Party): UntrustworthyData<T> @@ -147,7 +147,7 @@ will do as long as the other side registers with it.

    sendAndReceive fun <T : Any> sendAndReceive(otherParty: Party, payload: Any): UntrustworthyData<T>
    -fun <T : Any> sendAndReceive(otherParty: Party, payload: Any, receiveType: Class<T>): UntrustworthyData<T> +fun <T : Any> sendAndReceive(receiveType: Class<T>, otherParty: Party, payload: Any): UntrustworthyData<T> diff --git a/docs/build/html/api/net.corda.flows/-broadcast-transaction-flow/index.html b/docs/build/html/api/net.corda.flows/-broadcast-transaction-flow/index.html index 4b3e023ee6..9f7a3d0d8a 100644 --- a/docs/build/html/api/net.corda.flows/-broadcast-transaction-flow/index.html +++ b/docs/build/html/api/net.corda.flows/-broadcast-transaction-flow/index.html @@ -128,7 +128,7 @@ will do as long as the other side registers with it.

    receive fun <T : Any> receive(otherParty: Party): UntrustworthyData<T>
    -fun <T : Any> receive(otherParty: Party, receiveType: Class<T>): UntrustworthyData<T> +fun <T : Any> receive(receiveType: Class<T>, otherParty: Party): UntrustworthyData<T> @@ -141,7 +141,7 @@ will do as long as the other side registers with it.

    sendAndReceive fun <T : Any> sendAndReceive(otherParty: Party, payload: Any): UntrustworthyData<T>
    -fun <T : Any> sendAndReceive(otherParty: Party, payload: Any, receiveType: Class<T>): UntrustworthyData<T> +fun <T : Any> sendAndReceive(receiveType: Class<T>, otherParty: Party, payload: Any): UntrustworthyData<T> diff --git a/docs/build/html/api/net.corda.flows/-cash-flow/-e-x-i-t-i-n-g.html b/docs/build/html/api/net.corda.flows/-cash-flow/-e-x-i-t-i-n-g.html new file mode 100644 index 0000000000..1c457e5249 --- /dev/null +++ b/docs/build/html/api/net.corda.flows/-cash-flow/-e-x-i-t-i-n-g.html @@ -0,0 +1,42 @@ + + +CashFlow.EXITING - + + + +net.corda.flows / CashFlow / EXITING
    +
    +

    EXITING

    +object EXITING : Step
    +
    +
    +

    Inherited Properties

    + + + + + + + + + + + +
    +changes +open val changes: <ERROR CLASS><Change>
    +label +open val label: String
    +

    Inherited Functions

    + + + + + + + +
    +childProgressTracker +open fun childProgressTracker(): ProgressTracker?
    + + diff --git a/docs/build/html/api/net.corda.flows/-cash-flow/-i-s-s-u-i-n-g.html b/docs/build/html/api/net.corda.flows/-cash-flow/-i-s-s-u-i-n-g.html new file mode 100644 index 0000000000..807c175c08 --- /dev/null +++ b/docs/build/html/api/net.corda.flows/-cash-flow/-i-s-s-u-i-n-g.html @@ -0,0 +1,42 @@ + + +CashFlow.ISSUING - + + + +net.corda.flows / CashFlow / ISSUING
    +
    +

    ISSUING

    +object ISSUING : Step
    +
    +
    +

    Inherited Properties

    + + + + + + + + + + + +
    +changes +open val changes: <ERROR CLASS><Change>
    +label +open val label: String
    +

    Inherited Functions

    + + + + + + + +
    +childProgressTracker +open fun childProgressTracker(): ProgressTracker?
    + + diff --git a/docs/build/html/api/net.corda.flows/-cash-flow/-init-.html b/docs/build/html/api/net.corda.flows/-cash-flow/-init-.html index 2572da77e9..ea3affcc6e 100644 --- a/docs/build/html/api/net.corda.flows/-cash-flow/-init-.html +++ b/docs/build/html/api/net.corda.flows/-cash-flow/-init-.html @@ -8,6 +8,9 @@

    <init>

    CashFlow(command: CashCommand)
    +
    +
    +CashFlow(command: CashCommand, progressTracker: ProgressTracker)

    Initiates a flow that produces an Issue/Move or Exit Cash transaction.

    Parameters

    diff --git a/docs/build/html/api/net.corda.flows/-cash-flow/-p-a-y-i-n-g.html b/docs/build/html/api/net.corda.flows/-cash-flow/-p-a-y-i-n-g.html new file mode 100644 index 0000000000..79a4ff8d92 --- /dev/null +++ b/docs/build/html/api/net.corda.flows/-cash-flow/-p-a-y-i-n-g.html @@ -0,0 +1,42 @@ + + +CashFlow.PAYING - + + + +net.corda.flows / CashFlow / PAYING
    +
    +

    PAYING

    +object PAYING : Step
    +
    +
    +

    Inherited Properties

    + + + + + + + + + + + +
    +changes +open val changes: <ERROR CLASS><Change>
    +label +open val label: String
    +

    Inherited Functions

    + + + + + + + +
    +childProgressTracker +open fun childProgressTracker(): ProgressTracker?
    + + diff --git a/docs/build/html/api/net.corda.flows/-cash-flow/index.html b/docs/build/html/api/net.corda.flows/-cash-flow/index.html index 312973bf24..5146813cb5 100644 --- a/docs/build/html/api/net.corda.flows/-cash-flow/index.html +++ b/docs/build/html/api/net.corda.flows/-cash-flow/index.html @@ -14,6 +14,29 @@ command - Indicates what Cash transaction to create with what parameters.


    +

    Types

    + + + + + + + + + + + + + + + +
    +EXITING +object EXITING : Step
    +ISSUING +object ISSUING : Step
    +PAYING +object PAYING : Step

    Constructors

    @@ -21,7 +44,7 @@ @@ -35,6 +58,16 @@ + + + +
    <init> -CashFlow(command: CashCommand)

    Initiates a flow that produces an Issue/Move or Exit Cash transaction.

    +CashFlow(command: CashCommand)CashFlow(command: CashCommand, progressTracker: ProgressTracker)

    Initiates a flow that produces an Issue/Move or Exit Cash transaction.

    val command: CashCommand
    +progressTracker +val progressTracker: ProgressTracker

    Override this to provide a ProgressTracker. If one is provided and stepped, the framework will do something +helpful with the progress reports. If this flow is invoked as a sub-flow of another, then the +tracker will be made a child of the current step in the parent. If its null, this flow doesnt track +progress.

    +

    Inherited Properties

    @@ -56,16 +89,6 @@ -progressTracker - -open val progressTracker: ProgressTracker?

    Override this to provide a ProgressTracker. If one is provided and stepped, the framework will do something -helpful with the progress reports. If this flow is invoked as a sub-flow of another, then the -tracker will be made a child of the current step in the parent. If its null, this flow doesnt track -progress.

    - - - - serviceHub val serviceHub: ServiceHub

    Provides access to big, heavy classes that may be reconstructed from time to time, e.g. across restarts. It is @@ -103,8 +126,8 @@ will do as long as the other side registers with it.

    receive -fun <T : Any> receive(otherParty: Party): UntrustworthyData<T>
    -fun <T : Any> receive(otherParty: Party, receiveType: Class<T>): UntrustworthyData<T> +fun <T : Any> receive(receiveType: Class<T>, otherParty: Party): UntrustworthyData<T>
    +fun <T : Any> receive(otherParty: Party): UntrustworthyData<T> @@ -117,7 +140,7 @@ will do as long as the other side registers with it.

    sendAndReceive fun <T : Any> sendAndReceive(otherParty: Party, payload: Any): UntrustworthyData<T>
    -fun <T : Any> sendAndReceive(otherParty: Party, payload: Any, receiveType: Class<T>): UntrustworthyData<T> +fun <T : Any> sendAndReceive(receiveType: Class<T>, otherParty: Party, payload: Any): UntrustworthyData<T> @@ -135,5 +158,16 @@ will do as long as the other side registers with it.

    +

    Companion Object Functions

    + + + + + + + +
    +tracker +fun tracker(): ProgressTracker
    diff --git a/docs/build/html/api/net.corda.flows/-cash-flow/progress-tracker.html b/docs/build/html/api/net.corda.flows/-cash-flow/progress-tracker.html new file mode 100644 index 0000000000..904dc763cc --- /dev/null +++ b/docs/build/html/api/net.corda.flows/-cash-flow/progress-tracker.html @@ -0,0 +1,24 @@ + + +CashFlow.progressTracker - + + + +net.corda.flows / CashFlow / progressTracker
    +
    +

    progressTracker

    + +val progressTracker: ProgressTracker
    +Overrides FlowLogic.progressTracker
    +

    Override this to provide a ProgressTracker. If one is provided and stepped, the framework will do something +helpful with the progress reports. If this flow is invoked as a sub-flow of another, then the +tracker will be made a child of the current step in the parent. If its null, this flow doesnt track +progress.

    +

    Note that this has to return a tracker before the flow is invoked. You cant change your mind half way +through.

    +
    +
    +
    +
    + + diff --git a/docs/build/html/api/net.corda.flows/-cash-flow/tracker.html b/docs/build/html/api/net.corda.flows/-cash-flow/tracker.html new file mode 100644 index 0000000000..ae159a4af9 --- /dev/null +++ b/docs/build/html/api/net.corda.flows/-cash-flow/tracker.html @@ -0,0 +1,15 @@ + + +CashFlow.tracker - + + + +net.corda.flows / CashFlow / tracker
    +
    +

    tracker

    + +fun tracker(): ProgressTracker
    +
    +
    + + diff --git a/docs/build/html/api/net.corda.flows/-fetch-data-flow/index.html b/docs/build/html/api/net.corda.flows/-fetch-data-flow/index.html index 1978364d81..ebc290c62e 100644 --- a/docs/build/html/api/net.corda.flows/-fetch-data-flow/index.html +++ b/docs/build/html/api/net.corda.flows/-fetch-data-flow/index.html @@ -180,7 +180,7 @@ will do as long as the other side registers with it.

    receive fun <T : Any> receive(otherParty: Party): UntrustworthyData<T>
    -fun <T : Any> receive(otherParty: Party, receiveType: Class<T>): UntrustworthyData<T> +fun <T : Any> receive(receiveType: Class<T>, otherParty: Party): UntrustworthyData<T> @@ -193,7 +193,7 @@ will do as long as the other side registers with it.

    sendAndReceive fun <T : Any> sendAndReceive(otherParty: Party, payload: Any): UntrustworthyData<T>
    -fun <T : Any> sendAndReceive(otherParty: Party, payload: Any, receiveType: Class<T>): UntrustworthyData<T> +fun <T : Any> sendAndReceive(receiveType: Class<T>, otherParty: Party, payload: Any): UntrustworthyData<T> diff --git a/docs/build/html/api/net.corda.flows/-finality-flow/index.html b/docs/build/html/api/net.corda.flows/-finality-flow/index.html index 12a7dcde5c..d0a37464fa 100644 --- a/docs/build/html/api/net.corda.flows/-finality-flow/index.html +++ b/docs/build/html/api/net.corda.flows/-finality-flow/index.html @@ -132,7 +132,7 @@ will do as long as the other side registers with it.

    receive fun <T : Any> receive(otherParty: Party): UntrustworthyData<T>
    -fun <T : Any> receive(otherParty: Party, receiveType: Class<T>): UntrustworthyData<T> +fun <T : Any> receive(receiveType: Class<T>, otherParty: Party): UntrustworthyData<T> @@ -145,7 +145,7 @@ will do as long as the other side registers with it.

    sendAndReceive fun <T : Any> sendAndReceive(otherParty: Party, payload: Any): UntrustworthyData<T>
    -fun <T : Any> sendAndReceive(otherParty: Party, payload: Any, receiveType: Class<T>): UntrustworthyData<T> +fun <T : Any> sendAndReceive(receiveType: Class<T>, otherParty: Party, payload: Any): UntrustworthyData<T> diff --git a/docs/build/html/api/net.corda.flows/-issuer-flow/-issuance-request-state/-init-.html b/docs/build/html/api/net.corda.flows/-issuer-flow/-issuance-request-state/-init-.html new file mode 100644 index 0000000000..5a3419b372 --- /dev/null +++ b/docs/build/html/api/net.corda.flows/-issuer-flow/-issuance-request-state/-init-.html @@ -0,0 +1,14 @@ + + +IssuerFlow.IssuanceRequestState.<init> - + + + +net.corda.flows / IssuerFlow / IssuanceRequestState / <init>
    +
    +

    <init>

    +IssuanceRequestState(amount: Amount<Currency>, issueToParty: Party, issuerPartyRef: OpaqueBytes)
    +
    +
    + + diff --git a/docs/build/html/api/net.corda.flows/-issuer-flow/-issuance-request-state/amount.html b/docs/build/html/api/net.corda.flows/-issuer-flow/-issuance-request-state/amount.html new file mode 100644 index 0000000000..89bde91515 --- /dev/null +++ b/docs/build/html/api/net.corda.flows/-issuer-flow/-issuance-request-state/amount.html @@ -0,0 +1,15 @@ + + +IssuerFlow.IssuanceRequestState.amount - + + + +net.corda.flows / IssuerFlow / IssuanceRequestState / amount
    +
    +

    amount

    + +val amount: Amount<Currency>
    +
    +
    + + diff --git a/docs/build/html/api/net.corda.flows/-issuer-flow/-issuance-request-state/index.html b/docs/build/html/api/net.corda.flows/-issuer-flow/-issuance-request-state/index.html new file mode 100644 index 0000000000..a89f0b0e83 --- /dev/null +++ b/docs/build/html/api/net.corda.flows/-issuer-flow/-issuance-request-state/index.html @@ -0,0 +1,48 @@ + + +IssuerFlow.IssuanceRequestState - + + + +net.corda.flows / IssuerFlow / IssuanceRequestState
    +
    +

    IssuanceRequestState

    +data class IssuanceRequestState
    +
    +
    +

    Constructors

    + + + + + + + +
    +<init> +IssuanceRequestState(amount: Amount<Currency>, issueToParty: Party, issuerPartyRef: OpaqueBytes)
    +

    Properties

    + + + + + + + + + + + + + + + +
    +amount +val amount: Amount<Currency>
    +issueToParty +val issueToParty: Party
    +issuerPartyRef +val issuerPartyRef: OpaqueBytes
    + + diff --git a/docs/build/html/api/net.corda.flows/-issuer-flow/-issuance-request-state/issue-to-party.html b/docs/build/html/api/net.corda.flows/-issuer-flow/-issuance-request-state/issue-to-party.html new file mode 100644 index 0000000000..18b410deaf --- /dev/null +++ b/docs/build/html/api/net.corda.flows/-issuer-flow/-issuance-request-state/issue-to-party.html @@ -0,0 +1,15 @@ + + +IssuerFlow.IssuanceRequestState.issueToParty - + + + +net.corda.flows / IssuerFlow / IssuanceRequestState / issueToParty
    +
    +

    issueToParty

    + +val issueToParty: Party
    +
    +
    + + diff --git a/docs/build/html/api/net.corda.flows/-issuer-flow/-issuance-request-state/issuer-party-ref.html b/docs/build/html/api/net.corda.flows/-issuer-flow/-issuance-request-state/issuer-party-ref.html new file mode 100644 index 0000000000..6e8322b386 --- /dev/null +++ b/docs/build/html/api/net.corda.flows/-issuer-flow/-issuance-request-state/issuer-party-ref.html @@ -0,0 +1,15 @@ + + +IssuerFlow.IssuanceRequestState.issuerPartyRef - + + + +net.corda.flows / IssuerFlow / IssuanceRequestState / issuerPartyRef
    +
    +

    issuerPartyRef

    + +val issuerPartyRef: OpaqueBytes
    +
    +
    + + diff --git a/docs/build/html/api/net.corda.flows/-issuer-flow/-issuance-requester/-init-.html b/docs/build/html/api/net.corda.flows/-issuer-flow/-issuance-requester/-init-.html new file mode 100644 index 0000000000..0ff9d4db48 --- /dev/null +++ b/docs/build/html/api/net.corda.flows/-issuer-flow/-issuance-requester/-init-.html @@ -0,0 +1,16 @@ + + +IssuerFlow.IssuanceRequester.<init> - + + + +net.corda.flows / IssuerFlow / IssuanceRequester / <init>
    +
    +

    <init>

    +IssuanceRequester(amount: Amount<Currency>, issueToParty: Party, issueToPartyRef: OpaqueBytes, issuerBankParty: Party)
    +

    IssuanceRequester should be used by a client to ask a remote note to issue some FungibleAsset with the given details. +Returns the transaction created by the Issuer to move the cash to the Requester.

    +
    +
    + + diff --git a/docs/build/html/api/net.corda.flows/-issuer-flow/-issuance-requester/amount.html b/docs/build/html/api/net.corda.flows/-issuer-flow/-issuance-requester/amount.html new file mode 100644 index 0000000000..48f9f9ef52 --- /dev/null +++ b/docs/build/html/api/net.corda.flows/-issuer-flow/-issuance-requester/amount.html @@ -0,0 +1,15 @@ + + +IssuerFlow.IssuanceRequester.amount - + + + +net.corda.flows / IssuerFlow / IssuanceRequester / amount
    +
    +

    amount

    + +val amount: Amount<Currency>
    +
    +
    + + diff --git a/docs/build/html/api/net.corda.flows/-issuer-flow/-issuance-requester/call.html b/docs/build/html/api/net.corda.flows/-issuer-flow/-issuance-requester/call.html new file mode 100644 index 0000000000..ff29570afa --- /dev/null +++ b/docs/build/html/api/net.corda.flows/-issuer-flow/-issuance-requester/call.html @@ -0,0 +1,17 @@ + + +IssuerFlow.IssuanceRequester.call - + + + +net.corda.flows / IssuerFlow / IssuanceRequester / call
    +
    +

    call

    + +fun call(): SignedTransaction
    +Overrides FlowLogic.call
    +

    This is where you fill out your business logic.

    +
    +
    + + diff --git a/docs/build/html/api/net.corda.flows/-issuer-flow/-issuance-requester/index.html b/docs/build/html/api/net.corda.flows/-issuer-flow/-issuance-requester/index.html new file mode 100644 index 0000000000..5f4bd83e24 --- /dev/null +++ b/docs/build/html/api/net.corda.flows/-issuer-flow/-issuance-requester/index.html @@ -0,0 +1,156 @@ + + +IssuerFlow.IssuanceRequester - + + + +net.corda.flows / IssuerFlow / IssuanceRequester
    +
    +

    IssuanceRequester

    +class IssuanceRequester : FlowLogic<SignedTransaction>
    +

    IssuanceRequester should be used by a client to ask a remote note to issue some FungibleAsset with the given details. +Returns the transaction created by the Issuer to move the cash to the Requester.

    +
    +
    +

    Constructors

    + + + + + + + +
    +<init> +IssuanceRequester(amount: Amount<Currency>, issueToParty: Party, issueToPartyRef: OpaqueBytes, issuerBankParty: Party)

    IssuanceRequester should be used by a client to ask a remote note to issue some FungibleAsset with the given details. +Returns the transaction created by the Issuer to move the cash to the Requester.

    +
    +

    Properties

    + + + + + + + + + + + + + + + + + + + +
    +amount +val amount: Amount<Currency>
    +issueToParty +val issueToParty: Party
    +issueToPartyRef +val issueToPartyRef: OpaqueBytes
    +issuerBankParty +val issuerBankParty: Party
    +

    Inherited Properties

    + + + + + + + + + + + + + + + + + + + +
    +fsm +lateinit var fsm: FlowStateMachine<*>

    Reference to the Fiber instance that is the top level controller for the entire flow.

    +
    +logger +val logger: <ERROR CLASS>

    This is where you should log things to.

    +
    +progressTracker +open val progressTracker: ProgressTracker?

    Override this to provide a ProgressTracker. If one is provided and stepped, the framework will do something +helpful with the progress reports. If this flow is invoked as a sub-flow of another, then the +tracker will be made a child of the current step in the parent. If its null, this flow doesnt track +progress.

    +
    +serviceHub +val serviceHub: ServiceHub

    Provides access to big, heavy classes that may be reconstructed from time to time, e.g. across restarts. It is +only available once the flow has started, which means it cannnot be accessed in the constructor. Either +access this lazily or from inside call.

    +
    +

    Functions

    + + + + + + + +
    +call +fun call(): SignedTransaction

    This is where you fill out your business logic.

    +
    +

    Inherited Functions

    + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +getCounterpartyMarker +open fun getCounterpartyMarker(party: Party): Class<*>

    Return the marker Class which party has used to register the counterparty flow that is to execute on the +other side. The default implementation returns the class object of this FlowLogic, but any Class instance +will do as long as the other side registers with it.

    +
    +receive +fun <T : Any> receive(receiveType: Class<T>, otherParty: Party): UntrustworthyData<T>
    +fun <T : Any> receive(otherParty: Party): UntrustworthyData<T>
    +send +fun send(otherParty: Party, payload: Any): Unit
    +sendAndReceive +fun <T : Any> sendAndReceive(otherParty: Party, payload: Any): UntrustworthyData<T>
    +fun <T : Any> sendAndReceive(receiveType: Class<T>, otherParty: Party, payload: Any): UntrustworthyData<T>
    +subFlow +fun <R> subFlow(subLogic: FlowLogic<R>, shareParentSessions: Boolean = false): R

    Invokes the given subflow by simply passing through this FlowLogics reference to the +FlowStateMachine and then calling the call method.

    +
    +track +fun track(): <ERROR CLASS><String, <ERROR CLASS><String>>?
    + + diff --git a/docs/build/html/api/net.corda.flows/-issuer-flow/-issuance-requester/issue-to-party-ref.html b/docs/build/html/api/net.corda.flows/-issuer-flow/-issuance-requester/issue-to-party-ref.html new file mode 100644 index 0000000000..ae339eaee8 --- /dev/null +++ b/docs/build/html/api/net.corda.flows/-issuer-flow/-issuance-requester/issue-to-party-ref.html @@ -0,0 +1,15 @@ + + +IssuerFlow.IssuanceRequester.issueToPartyRef - + + + +net.corda.flows / IssuerFlow / IssuanceRequester / issueToPartyRef
    +
    +

    issueToPartyRef

    + +val issueToPartyRef: OpaqueBytes
    +
    +
    + + diff --git a/docs/build/html/api/net.corda.flows/-issuer-flow/-issuance-requester/issue-to-party.html b/docs/build/html/api/net.corda.flows/-issuer-flow/-issuance-requester/issue-to-party.html new file mode 100644 index 0000000000..53a156e6e1 --- /dev/null +++ b/docs/build/html/api/net.corda.flows/-issuer-flow/-issuance-requester/issue-to-party.html @@ -0,0 +1,15 @@ + + +IssuerFlow.IssuanceRequester.issueToParty - + + + +net.corda.flows / IssuerFlow / IssuanceRequester / issueToParty
    +
    +

    issueToParty

    + +val issueToParty: Party
    +
    +
    + + diff --git a/docs/build/html/api/net.corda.flows/-issuer-flow/-issuance-requester/issuer-bank-party.html b/docs/build/html/api/net.corda.flows/-issuer-flow/-issuance-requester/issuer-bank-party.html new file mode 100644 index 0000000000..be4c85b49b --- /dev/null +++ b/docs/build/html/api/net.corda.flows/-issuer-flow/-issuance-requester/issuer-bank-party.html @@ -0,0 +1,15 @@ + + +IssuerFlow.IssuanceRequester.issuerBankParty - + + + +net.corda.flows / IssuerFlow / IssuanceRequester / issuerBankParty
    +
    +

    issuerBankParty

    + +val issuerBankParty: Party
    +
    +
    + + diff --git a/docs/build/html/api/net.corda.flows/-issuer-flow/-issuer/-a-w-a-i-t-i-n-g_-r-e-q-u-e-s-t.html b/docs/build/html/api/net.corda.flows/-issuer-flow/-issuer/-a-w-a-i-t-i-n-g_-r-e-q-u-e-s-t.html new file mode 100644 index 0000000000..38d175f8c2 --- /dev/null +++ b/docs/build/html/api/net.corda.flows/-issuer-flow/-issuer/-a-w-a-i-t-i-n-g_-r-e-q-u-e-s-t.html @@ -0,0 +1,42 @@ + + +IssuerFlow.Issuer.AWAITING_REQUEST - + + + +net.corda.flows / IssuerFlow / Issuer / AWAITING_REQUEST
    +
    +

    AWAITING_REQUEST

    +object AWAITING_REQUEST : Step
    +
    +
    +

    Inherited Properties

    + + + + + + + + + + + +
    +changes +open val changes: <ERROR CLASS><Change>
    +label +open val label: String
    +

    Inherited Functions

    + + + + + + + +
    +childProgressTracker +open fun childProgressTracker(): ProgressTracker?
    + + diff --git a/docs/build/html/api/net.corda.flows/-issuer-flow/-issuer/-i-s-s-u-i-n-g.html b/docs/build/html/api/net.corda.flows/-issuer-flow/-issuer/-i-s-s-u-i-n-g.html new file mode 100644 index 0000000000..be93fc9237 --- /dev/null +++ b/docs/build/html/api/net.corda.flows/-issuer-flow/-issuer/-i-s-s-u-i-n-g.html @@ -0,0 +1,42 @@ + + +IssuerFlow.Issuer.ISSUING - + + + +net.corda.flows / IssuerFlow / Issuer / ISSUING
    +
    +

    ISSUING

    +object ISSUING : Step
    +
    +
    +

    Inherited Properties

    + + + + + + + + + + + +
    +changes +open val changes: <ERROR CLASS><Change>
    +label +open val label: String
    +

    Inherited Functions

    + + + + + + + +
    +childProgressTracker +open fun childProgressTracker(): ProgressTracker?
    + + diff --git a/docs/build/html/api/net.corda.flows/-issuer-flow/-issuer/-init-.html b/docs/build/html/api/net.corda.flows/-issuer-flow/-issuer/-init-.html new file mode 100644 index 0000000000..8df157a290 --- /dev/null +++ b/docs/build/html/api/net.corda.flows/-issuer-flow/-issuer/-init-.html @@ -0,0 +1,16 @@ + + +IssuerFlow.Issuer.<init> - + + + +net.corda.flows / IssuerFlow / Issuer / <init>
    +
    +

    <init>

    +Issuer(otherParty: Party)
    +

    Issuer refers to a Node acting as a Bank Issuer of FungibleAsset, and processes requests from a IssuanceRequester client. +Returns the generated transaction representing the transfer of the Issued to the issue requester.

    +
    +
    + + diff --git a/docs/build/html/api/net.corda.flows/-issuer-flow/-issuer/-s-e-n-d-i-n-g_-c-o-n-f-i-r-m.html b/docs/build/html/api/net.corda.flows/-issuer-flow/-issuer/-s-e-n-d-i-n-g_-c-o-n-f-i-r-m.html new file mode 100644 index 0000000000..72bebedc20 --- /dev/null +++ b/docs/build/html/api/net.corda.flows/-issuer-flow/-issuer/-s-e-n-d-i-n-g_-c-o-n-f-i-r-m.html @@ -0,0 +1,42 @@ + + +IssuerFlow.Issuer.SENDING_CONFIRM - + + + +net.corda.flows / IssuerFlow / Issuer / SENDING_CONFIRM
    +
    +

    SENDING_CONFIRM

    +object SENDING_CONFIRM : Step
    +
    +
    +

    Inherited Properties

    + + + + + + + + + + + +
    +changes +open val changes: <ERROR CLASS><Change>
    +label +open val label: String
    +

    Inherited Functions

    + + + + + + + +
    +childProgressTracker +open fun childProgressTracker(): ProgressTracker?
    + + diff --git a/docs/build/html/api/net.corda.flows/-issuer-flow/-issuer/-service/-init-.html b/docs/build/html/api/net.corda.flows/-issuer-flow/-issuer/-service/-init-.html new file mode 100644 index 0000000000..c0a49681a5 --- /dev/null +++ b/docs/build/html/api/net.corda.flows/-issuer-flow/-issuer/-service/-init-.html @@ -0,0 +1,14 @@ + + +IssuerFlow.Issuer.Service.<init> - + + + +net.corda.flows / IssuerFlow / Issuer / Service / <init>
    +
    +

    <init>

    +Service(services: PluginServiceHub)
    +
    +
    + + diff --git a/docs/build/html/api/net.corda.flows/-issuer-flow/-issuer/-service/index.html b/docs/build/html/api/net.corda.flows/-issuer-flow/-issuer/-service/index.html new file mode 100644 index 0000000000..2813d761d2 --- /dev/null +++ b/docs/build/html/api/net.corda.flows/-issuer-flow/-issuer/-service/index.html @@ -0,0 +1,25 @@ + + +IssuerFlow.Issuer.Service - + + + +net.corda.flows / IssuerFlow / Issuer / Service
    +
    +

    Service

    +class Service
    +
    +
    +

    Constructors

    + + + + + + + +
    +<init> +Service(services: PluginServiceHub)
    + + diff --git a/docs/build/html/api/net.corda.flows/-issuer-flow/-issuer/-t-r-a-n-s-f-e-r-r-i-n-g.html b/docs/build/html/api/net.corda.flows/-issuer-flow/-issuer/-t-r-a-n-s-f-e-r-r-i-n-g.html new file mode 100644 index 0000000000..acf93b6aee --- /dev/null +++ b/docs/build/html/api/net.corda.flows/-issuer-flow/-issuer/-t-r-a-n-s-f-e-r-r-i-n-g.html @@ -0,0 +1,42 @@ + + +IssuerFlow.Issuer.TRANSFERRING - + + + +net.corda.flows / IssuerFlow / Issuer / TRANSFERRING
    +
    +

    TRANSFERRING

    +object TRANSFERRING : Step
    +
    +
    +

    Inherited Properties

    + + + + + + + + + + + +
    +changes +open val changes: <ERROR CLASS><Change>
    +label +open val label: String
    +

    Inherited Functions

    + + + + + + + +
    +childProgressTracker +open fun childProgressTracker(): ProgressTracker?
    + + diff --git a/docs/build/html/api/net.corda.flows/-issuer-flow/-issuer/call.html b/docs/build/html/api/net.corda.flows/-issuer-flow/-issuer/call.html new file mode 100644 index 0000000000..d2a1951768 --- /dev/null +++ b/docs/build/html/api/net.corda.flows/-issuer-flow/-issuer/call.html @@ -0,0 +1,17 @@ + + +IssuerFlow.Issuer.call - + + + +net.corda.flows / IssuerFlow / Issuer / call
    +
    +

    call

    + +fun call(): SignedTransaction
    +Overrides FlowLogic.call
    +

    This is where you fill out your business logic.

    +
    +
    + + diff --git a/docs/build/html/api/net.corda.flows/-issuer-flow/-issuer/index.html b/docs/build/html/api/net.corda.flows/-issuer-flow/-issuer/index.html new file mode 100644 index 0000000000..d45c814379 --- /dev/null +++ b/docs/build/html/api/net.corda.flows/-issuer-flow/-issuer/index.html @@ -0,0 +1,184 @@ + + +IssuerFlow.Issuer - + + + +net.corda.flows / IssuerFlow / Issuer
    +
    +

    Issuer

    +class Issuer : FlowLogic<SignedTransaction>
    +

    Issuer refers to a Node acting as a Bank Issuer of FungibleAsset, and processes requests from a IssuanceRequester client. +Returns the generated transaction representing the transfer of the Issued to the issue requester.

    +
    +
    +

    Types

    + + + + + + + + + + + + + + + + + + + + + + + +
    +AWAITING_REQUEST +object AWAITING_REQUEST : Step
    +ISSUING +object ISSUING : Step
    +SENDING_CONFIRM +object SENDING_CONFIRM : Step
    +Service +class Service
    +TRANSFERRING +object TRANSFERRING : Step
    +

    Constructors

    + + + + + + + +
    +<init> +Issuer(otherParty: Party)

    Issuer refers to a Node acting as a Bank Issuer of FungibleAsset, and processes requests from a IssuanceRequester client. +Returns the generated transaction representing the transfer of the Issued to the issue requester.

    +
    +

    Properties

    + + + + + + + + + + + +
    +otherParty +val otherParty: Party
    +progressTracker +val progressTracker: ProgressTracker

    Override this to provide a ProgressTracker. If one is provided and stepped, the framework will do something +helpful with the progress reports. If this flow is invoked as a sub-flow of another, then the +tracker will be made a child of the current step in the parent. If its null, this flow doesnt track +progress.

    +
    +

    Inherited Properties

    + + + + + + + + + + + + + + + +
    +fsm +lateinit var fsm: FlowStateMachine<*>

    Reference to the Fiber instance that is the top level controller for the entire flow.

    +
    +logger +val logger: <ERROR CLASS>

    This is where you should log things to.

    +
    +serviceHub +val serviceHub: ServiceHub

    Provides access to big, heavy classes that may be reconstructed from time to time, e.g. across restarts. It is +only available once the flow has started, which means it cannnot be accessed in the constructor. Either +access this lazily or from inside call.

    +
    +

    Functions

    + + + + + + + +
    +call +fun call(): SignedTransaction

    This is where you fill out your business logic.

    +
    +

    Inherited Functions

    + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +getCounterpartyMarker +open fun getCounterpartyMarker(party: Party): Class<*>

    Return the marker Class which party has used to register the counterparty flow that is to execute on the +other side. The default implementation returns the class object of this FlowLogic, but any Class instance +will do as long as the other side registers with it.

    +
    +receive +fun <T : Any> receive(otherParty: Party): UntrustworthyData<T>
    +fun <T : Any> receive(receiveType: Class<T>, otherParty: Party): UntrustworthyData<T>
    +send +fun send(otherParty: Party, payload: Any): Unit
    +sendAndReceive +fun <T : Any> sendAndReceive(receiveType: Class<T>, otherParty: Party, payload: Any): UntrustworthyData<T>
    +fun <T : Any> sendAndReceive(otherParty: Party, payload: Any): UntrustworthyData<T>
    +subFlow +fun <R> subFlow(subLogic: FlowLogic<R>, shareParentSessions: Boolean = false): R

    Invokes the given subflow by simply passing through this FlowLogics reference to the +FlowStateMachine and then calling the call method.

    +
    +track +fun track(): <ERROR CLASS><String, <ERROR CLASS><String>>?
    +

    Companion Object Functions

    + + + + + + + +
    +tracker +fun tracker(): ProgressTracker
    + + diff --git a/docs/build/html/api/net.corda.flows/-issuer-flow/-issuer/other-party.html b/docs/build/html/api/net.corda.flows/-issuer-flow/-issuer/other-party.html new file mode 100644 index 0000000000..421c8af18c --- /dev/null +++ b/docs/build/html/api/net.corda.flows/-issuer-flow/-issuer/other-party.html @@ -0,0 +1,15 @@ + + +IssuerFlow.Issuer.otherParty - + + + +net.corda.flows / IssuerFlow / Issuer / otherParty
    +
    +

    otherParty

    + +val otherParty: Party
    +
    +
    + + diff --git a/docs/build/html/api/net.corda.flows/-issuer-flow/-issuer/progress-tracker.html b/docs/build/html/api/net.corda.flows/-issuer-flow/-issuer/progress-tracker.html new file mode 100644 index 0000000000..b717ad5274 --- /dev/null +++ b/docs/build/html/api/net.corda.flows/-issuer-flow/-issuer/progress-tracker.html @@ -0,0 +1,24 @@ + + +IssuerFlow.Issuer.progressTracker - + + + +net.corda.flows / IssuerFlow / Issuer / progressTracker
    +
    +

    progressTracker

    + +val progressTracker: ProgressTracker
    +Overrides FlowLogic.progressTracker
    +

    Override this to provide a ProgressTracker. If one is provided and stepped, the framework will do something +helpful with the progress reports. If this flow is invoked as a sub-flow of another, then the +tracker will be made a child of the current step in the parent. If its null, this flow doesnt track +progress.

    +

    Note that this has to return a tracker before the flow is invoked. You cant change your mind half way +through.

    +
    +
    +
    +
    + + diff --git a/docs/build/html/api/net.corda.flows/-issuer-flow/-issuer/tracker.html b/docs/build/html/api/net.corda.flows/-issuer-flow/-issuer/tracker.html new file mode 100644 index 0000000000..ee892040e6 --- /dev/null +++ b/docs/build/html/api/net.corda.flows/-issuer-flow/-issuer/tracker.html @@ -0,0 +1,15 @@ + + +IssuerFlow.Issuer.tracker - + + + +net.corda.flows / IssuerFlow / Issuer / tracker
    +
    +

    tracker

    + +fun tracker(): ProgressTracker
    +
    +
    + + diff --git a/docs/build/html/api/net.corda.flows/-issuer-flow/index.html b/docs/build/html/api/net.corda.flows/-issuer-flow/index.html new file mode 100644 index 0000000000..52e088d7be --- /dev/null +++ b/docs/build/html/api/net.corda.flows/-issuer-flow/index.html @@ -0,0 +1,47 @@ + + +IssuerFlow - + + + +net.corda.flows / IssuerFlow
    +
    +

    IssuerFlow

    +object IssuerFlow
    +

    This flow enables a client to request issuance of some FungibleAsset from a +server acting as an issuer (see Issued) of FungibleAssets.

    +

    It is not intended for production usage, but rather for experimentation and testing purposes where it may be +useful for creation of fake assets.

    +
    +
    +
    +
    +

    Types

    + + + + + + + + + + + + + + + +
    +IssuanceRequestState +data class IssuanceRequestState
    +IssuanceRequester +class IssuanceRequester : FlowLogic<SignedTransaction>

    IssuanceRequester should be used by a client to ask a remote note to issue some FungibleAsset with the given details. +Returns the transaction created by the Issuer to move the cash to the Requester.

    +
    +Issuer +class Issuer : FlowLogic<SignedTransaction>

    Issuer refers to a Node acting as a Bank Issuer of FungibleAsset, and processes requests from a IssuanceRequester client. +Returns the generated transaction representing the transfer of the Issued to the issue requester.

    +
    + + diff --git a/docs/build/html/api/net.corda.flows/-notary-flow/-client/index.html b/docs/build/html/api/net.corda.flows/-notary-flow/-client/index.html index 035a5438ea..6cdd6cefb9 100644 --- a/docs/build/html/api/net.corda.flows/-notary-flow/-client/index.html +++ b/docs/build/html/api/net.corda.flows/-notary-flow/-client/index.html @@ -123,8 +123,8 @@ will do as long as the other side registers with it.

    receive -fun <T : Any> receive(otherParty: Party): UntrustworthyData<T>
    -fun <T : Any> receive(otherParty: Party, receiveType: Class<T>): UntrustworthyData<T> +fun <T : Any> receive(receiveType: Class<T>, otherParty: Party): UntrustworthyData<T>
    +fun <T : Any> receive(otherParty: Party): UntrustworthyData<T> @@ -136,7 +136,7 @@ will do as long as the other side registers with it.

    sendAndReceive -fun <T : Any> sendAndReceive(otherParty: Party, payload: Any, receiveType: Class<T>): UntrustworthyData<T>
    +fun <T : Any> sendAndReceive(receiveType: Class<T>, otherParty: Party, payload: Any): UntrustworthyData<T>
    fun <T : Any> sendAndReceive(otherParty: Party, payload: Any): UntrustworthyData<T> diff --git a/docs/build/html/api/net.corda.flows/-notary-flow/-service/index.html b/docs/build/html/api/net.corda.flows/-notary-flow/-service/index.html index 5fb3150a80..699c8e4d74 100644 --- a/docs/build/html/api/net.corda.flows/-notary-flow/-service/index.html +++ b/docs/build/html/api/net.corda.flows/-notary-flow/-service/index.html @@ -130,8 +130,8 @@ will do as long as the other side registers with it.

    receive -fun <T : Any> receive(otherParty: Party, receiveType: Class<T>): UntrustworthyData<T>
    -fun <T : Any> receive(otherParty: Party): UntrustworthyData<T> +fun <T : Any> receive(otherParty: Party): UntrustworthyData<T>
    +fun <T : Any> receive(receiveType: Class<T>, otherParty: Party): UntrustworthyData<T> @@ -144,7 +144,7 @@ will do as long as the other side registers with it.

    sendAndReceive fun <T : Any> sendAndReceive(otherParty: Party, payload: Any): UntrustworthyData<T>
    -fun <T : Any> sendAndReceive(otherParty: Party, payload: Any, receiveType: Class<T>): UntrustworthyData<T> +fun <T : Any> sendAndReceive(receiveType: Class<T>, otherParty: Party, payload: Any): UntrustworthyData<T> diff --git a/docs/build/html/api/net.corda.flows/-resolve-transactions-flow/index.html b/docs/build/html/api/net.corda.flows/-resolve-transactions-flow/index.html index 7697a8df44..485ebe67fd 100644 --- a/docs/build/html/api/net.corda.flows/-resolve-transactions-flow/index.html +++ b/docs/build/html/api/net.corda.flows/-resolve-transactions-flow/index.html @@ -127,7 +127,7 @@ will do as long as the other side registers with it.

    receive fun <T : Any> receive(otherParty: Party): UntrustworthyData<T>
    -fun <T : Any> receive(otherParty: Party, receiveType: Class<T>): UntrustworthyData<T> +fun <T : Any> receive(receiveType: Class<T>, otherParty: Party): UntrustworthyData<T> @@ -139,7 +139,7 @@ will do as long as the other side registers with it.

    sendAndReceive -fun <T : Any> sendAndReceive(otherParty: Party, payload: Any, receiveType: Class<T>): UntrustworthyData<T>
    +fun <T : Any> sendAndReceive(receiveType: Class<T>, otherParty: Party, payload: Any): UntrustworthyData<T>
    fun <T : Any> sendAndReceive(otherParty: Party, payload: Any): UntrustworthyData<T> diff --git a/docs/build/html/api/net.corda.flows/-two-party-deal-flow/-primary/index.html b/docs/build/html/api/net.corda.flows/-two-party-deal-flow/-primary/index.html index 1075c733db..0943d6328c 100644 --- a/docs/build/html/api/net.corda.flows/-two-party-deal-flow/-primary/index.html +++ b/docs/build/html/api/net.corda.flows/-two-party-deal-flow/-primary/index.html @@ -188,7 +188,7 @@ will do as long as the other side registers with it.

    receive fun <T : Any> receive(otherParty: Party): UntrustworthyData<T>
    -fun <T : Any> receive(otherParty: Party, receiveType: Class<T>): UntrustworthyData<T> +fun <T : Any> receive(receiveType: Class<T>, otherParty: Party): UntrustworthyData<T> @@ -200,8 +200,8 @@ will do as long as the other side registers with it.

    sendAndReceive -fun <T : Any> sendAndReceive(otherParty: Party, payload: Any, receiveType: Class<T>): UntrustworthyData<T>
    -fun <T : Any> sendAndReceive(otherParty: Party, payload: Any): UntrustworthyData<T> +fun <T : Any> sendAndReceive(otherParty: Party, payload: Any): UntrustworthyData<T>
    +fun <T : Any> sendAndReceive(receiveType: Class<T>, otherParty: Party, payload: Any): UntrustworthyData<T> diff --git a/docs/build/html/api/net.corda.flows/-two-party-deal-flow/-secondary/index.html b/docs/build/html/api/net.corda.flows/-two-party-deal-flow/-secondary/index.html index 0a31dc192c..7670253809 100644 --- a/docs/build/html/api/net.corda.flows/-two-party-deal-flow/-secondary/index.html +++ b/docs/build/html/api/net.corda.flows/-two-party-deal-flow/-secondary/index.html @@ -151,8 +151,8 @@ will do as long as the other side registers with it.

    receive -fun <T : Any> receive(otherParty: Party, receiveType: Class<T>): UntrustworthyData<T>
    -fun <T : Any> receive(otherParty: Party): UntrustworthyData<T> +fun <T : Any> receive(otherParty: Party): UntrustworthyData<T>
    +fun <T : Any> receive(receiveType: Class<T>, otherParty: Party): UntrustworthyData<T> @@ -164,8 +164,8 @@ will do as long as the other side registers with it.

    sendAndReceive -fun <T : Any> sendAndReceive(otherParty: Party, payload: Any, receiveType: Class<T>): UntrustworthyData<T>
    -fun <T : Any> sendAndReceive(otherParty: Party, payload: Any): UntrustworthyData<T> +fun <T : Any> sendAndReceive(otherParty: Party, payload: Any): UntrustworthyData<T>
    +fun <T : Any> sendAndReceive(receiveType: Class<T>, otherParty: Party, payload: Any): UntrustworthyData<T> diff --git a/docs/build/html/api/net.corda.flows/-two-party-trade-flow/-buyer/index.html b/docs/build/html/api/net.corda.flows/-two-party-trade-flow/-buyer/index.html index 6a78f05371..90d0666904 100644 --- a/docs/build/html/api/net.corda.flows/-two-party-trade-flow/-buyer/index.html +++ b/docs/build/html/api/net.corda.flows/-two-party-trade-flow/-buyer/index.html @@ -146,7 +146,7 @@ will do as long as the other side registers with it.

    receive fun <T : Any> receive(otherParty: Party): UntrustworthyData<T>
    -fun <T : Any> receive(otherParty: Party, receiveType: Class<T>): UntrustworthyData<T> +fun <T : Any> receive(receiveType: Class<T>, otherParty: Party): UntrustworthyData<T> @@ -158,8 +158,8 @@ will do as long as the other side registers with it.

    sendAndReceive -fun <T : Any> sendAndReceive(otherParty: Party, payload: Any): UntrustworthyData<T>
    -fun <T : Any> sendAndReceive(otherParty: Party, payload: Any, receiveType: Class<T>): UntrustworthyData<T> +fun <T : Any> sendAndReceive(receiveType: Class<T>, otherParty: Party, payload: Any): UntrustworthyData<T>
    +fun <T : Any> sendAndReceive(otherParty: Party, payload: Any): UntrustworthyData<T> diff --git a/docs/build/html/api/net.corda.flows/-two-party-trade-flow/-seller/index.html b/docs/build/html/api/net.corda.flows/-two-party-trade-flow/-seller/index.html index f28fcf6b8f..b750b1ebe8 100644 --- a/docs/build/html/api/net.corda.flows/-two-party-trade-flow/-seller/index.html +++ b/docs/build/html/api/net.corda.flows/-two-party-trade-flow/-seller/index.html @@ -163,8 +163,8 @@ will do as long as the other side registers with it.

    receive -fun <T : Any> receive(otherParty: Party): UntrustworthyData<T>
    -fun <T : Any> receive(otherParty: Party, receiveType: Class<T>): UntrustworthyData<T> +fun <T : Any> receive(receiveType: Class<T>, otherParty: Party): UntrustworthyData<T>
    +fun <T : Any> receive(otherParty: Party): UntrustworthyData<T> @@ -177,7 +177,7 @@ will do as long as the other side registers with it.

    sendAndReceive fun <T : Any> sendAndReceive(otherParty: Party, payload: Any): UntrustworthyData<T>
    -fun <T : Any> sendAndReceive(otherParty: Party, payload: Any, receiveType: Class<T>): UntrustworthyData<T> +fun <T : Any> sendAndReceive(receiveType: Class<T>, otherParty: Party, payload: Any): UntrustworthyData<T> diff --git a/docs/build/html/api/net.corda.flows/index.html b/docs/build/html/api/net.corda.flows/index.html index 5f9768f31f..2889c40ba2 100644 --- a/docs/build/html/api/net.corda.flows/index.html +++ b/docs/build/html/api/net.corda.flows/index.html @@ -78,6 +78,14 @@ attachments are saved to local storage automatically.

    +IssuerFlow + +object IssuerFlow

    This flow enables a client to request issuance of some FungibleAsset from a +server acting as an issuer (see Issued) of FungibleAssets.

    + + + + NotaryChangeFlow object NotaryChangeFlow : AbstractStateReplacementFlow<Party>

    A flow to be used for changing a states Notary. This is required since all input states to a transaction diff --git a/docs/build/html/api/net.corda.node.driver/-driver-d-s-l-exposed-interface/index.html b/docs/build/html/api/net.corda.node.driver/-driver-d-s-l-exposed-interface/index.html index 187fece240..8c6f6c7859 100644 --- a/docs/build/html/api/net.corda.node.driver/-driver-d-s-l-exposed-interface/index.html +++ b/docs/build/html/api/net.corda.node.driver/-driver-d-s-l-exposed-interface/index.html @@ -18,7 +18,7 @@ startNode -abstract fun startNode(providedName: String? = null, advertisedServices: Set<ServiceInfo> = emptySet(), rpcUsers: List<User> = emptyList(), customOverrides: Map<String, Any?> = emptyMap()): Future<NodeHandle>

    Starts a Node in a separate process.

    +abstract fun startNode(providedName: String? = null, advertisedServices: Set<ServiceInfo> = emptySet(), rpcUsers: List<User> = emptyList(), customOverrides: Map<String, Any?> = emptyMap()): <ERROR CLASS><NodeHandle>

    Starts a Node in a separate process.

    diff --git a/docs/build/html/api/net.corda.node.driver/-driver-d-s-l-exposed-interface/start-node.html b/docs/build/html/api/net.corda.node.driver/-driver-d-s-l-exposed-interface/start-node.html index 9d4ac0826f..0fdf4010ad 100644 --- a/docs/build/html/api/net.corda.node.driver/-driver-d-s-l-exposed-interface/start-node.html +++ b/docs/build/html/api/net.corda.node.driver/-driver-d-s-l-exposed-interface/start-node.html @@ -8,7 +8,7 @@

    startNode

    -abstract fun startNode(providedName: String? = null, advertisedServices: Set<ServiceInfo> = emptySet(), rpcUsers: List<User> = emptyList(), customOverrides: Map<String, Any?> = emptyMap()): Future<NodeHandle>
    +abstract fun startNode(providedName: String? = null, advertisedServices: Set<ServiceInfo> = emptySet(), rpcUsers: List<User> = emptyList(), customOverrides: Map<String, Any?> = emptyMap()): <ERROR CLASS><NodeHandle>

    Starts a Node in a separate process.

    Parameters

    diff --git a/docs/build/html/api/net.corda.node.driver/-driver-d-s-l-internal-interface/index.html b/docs/build/html/api/net.corda.node.driver/-driver-d-s-l-internal-interface/index.html index 3e72dfad01..b1bc4dbb33 100644 --- a/docs/build/html/api/net.corda.node.driver/-driver-d-s-l-internal-interface/index.html +++ b/docs/build/html/api/net.corda.node.driver/-driver-d-s-l-internal-interface/index.html @@ -34,7 +34,7 @@ startNode -abstract fun startNode(providedName: String? = null, advertisedServices: Set<ServiceInfo> = emptySet(), rpcUsers: List<User> = emptyList(), customOverrides: Map<String, Any?> = emptyMap()): Future<NodeHandle>

    Starts a Node in a separate process.

    +abstract fun startNode(providedName: String? = null, advertisedServices: Set<ServiceInfo> = emptySet(), rpcUsers: List<User> = emptyList(), customOverrides: Map<String, Any?> = emptyMap()): <ERROR CLASS><NodeHandle>

    Starts a Node in a separate process.

    diff --git a/docs/build/html/api/net.corda.node.driver/-driver-d-s-l/-state/index.html b/docs/build/html/api/net.corda.node.driver/-driver-d-s-l/-state/index.html index da8da03744..adc9eb4d32 100644 --- a/docs/build/html/api/net.corda.node.driver/-driver-d-s-l/-state/index.html +++ b/docs/build/html/api/net.corda.node.driver/-driver-d-s-l/-state/index.html @@ -32,15 +32,9 @@ -localServer - -var localServer: ArtemisMessagingServer? - - - registeredProcesses -val registeredProcesses: LinkedList<Process> +val registeredProcesses: LinkedList<<ERROR CLASS><Process>> diff --git a/docs/build/html/api/net.corda.node.driver/-driver-d-s-l/-state/registered-processes.html b/docs/build/html/api/net.corda.node.driver/-driver-d-s-l/-state/registered-processes.html index 646b90868e..0c374b0eb8 100644 --- a/docs/build/html/api/net.corda.node.driver/-driver-d-s-l/-state/registered-processes.html +++ b/docs/build/html/api/net.corda.node.driver/-driver-d-s-l/-state/registered-processes.html @@ -8,7 +8,7 @@

    registeredProcesses

    -val registeredProcesses: LinkedList<Process>
    +val registeredProcesses: LinkedList<<ERROR CLASS><Process>>


    diff --git a/docs/build/html/api/net.corda.node.driver/-driver-d-s-l/index.html b/docs/build/html/api/net.corda.node.driver/-driver-d-s-l/index.html index 974d9900a5..7b61851c89 100644 --- a/docs/build/html/api/net.corda.node.driver/-driver-d-s-l/index.html +++ b/docs/build/html/api/net.corda.node.driver/-driver-d-s-l/index.html @@ -74,7 +74,7 @@ registerProcess -fun registerProcess(process: Process): Unit +fun registerProcess(process: <ERROR CLASS><Process>): Unit diff --git a/docs/build/html/api/net.corda.node.driver/-driver-d-s-l/register-process.html b/docs/build/html/api/net.corda.node.driver/-driver-d-s-l/register-process.html index efdf04ce68..4f715dca58 100644 --- a/docs/build/html/api/net.corda.node.driver/-driver-d-s-l/register-process.html +++ b/docs/build/html/api/net.corda.node.driver/-driver-d-s-l/register-process.html @@ -7,8 +7,8 @@ net.corda.node.driver / DriverDSL / registerProcess

    registerProcess

    - -fun registerProcess(process: Process): Unit
    + +fun registerProcess(process: <ERROR CLASS><Process>): Unit


    diff --git a/docs/build/html/api/net.corda.node.driver/address-must-be-bound.html b/docs/build/html/api/net.corda.node.driver/address-must-be-bound.html index d33047043e..1025b4003d 100644 --- a/docs/build/html/api/net.corda.node.driver/address-must-be-bound.html +++ b/docs/build/html/api/net.corda.node.driver/address-must-be-bound.html @@ -7,8 +7,8 @@ net.corda.node.driver / addressMustBeBound

    addressMustBeBound

    - -fun addressMustBeBound(hostAndPort: <ERROR CLASS>): Unit
    + +fun addressMustBeBound(executorService: ScheduledExecutorService, hostAndPort: <ERROR CLASS>): <ERROR CLASS><Unit>


    diff --git a/docs/build/html/api/net.corda.node.driver/address-must-not-be-bound.html b/docs/build/html/api/net.corda.node.driver/address-must-not-be-bound.html index e961089c06..4b112974bf 100644 --- a/docs/build/html/api/net.corda.node.driver/address-must-not-be-bound.html +++ b/docs/build/html/api/net.corda.node.driver/address-must-not-be-bound.html @@ -7,8 +7,8 @@ net.corda.node.driver / addressMustNotBeBound

    addressMustNotBeBound

    - -fun addressMustNotBeBound(hostAndPort: <ERROR CLASS>): Unit
    + +fun addressMustNotBeBound(executorService: ScheduledExecutorService, hostAndPort: <ERROR CLASS>): <ERROR CLASS><Unit>


    diff --git a/docs/build/html/api/net.corda.node.driver/driver.html b/docs/build/html/api/net.corda.node.driver/driver.html index 7b0f9d1f98..fb2c9b2236 100644 --- a/docs/build/html/api/net.corda.node.driver/driver.html +++ b/docs/build/html/api/net.corda.node.driver/driver.html @@ -7,8 +7,8 @@ net.corda.node.driver / driver

    driver

    - -fun <A> driver(driverDirectory: Path = Paths.get("build", getTimestampAsDirectoryName()), portAllocation: PortAllocation = PortAllocation.Incremental(10000), debugPortAllocation: PortAllocation = PortAllocation.Incremental(5005), useTestClock: Boolean = false, isDebug: Boolean = false, dsl: DriverDSLExposedInterface.() -> A): A
    + +fun <A> driver(isDebug: Boolean = false, driverDirectory: Path = Paths.get("build", getTimestampAsDirectoryName()), portAllocation: PortAllocation = PortAllocation.Incremental(10000), debugPortAllocation: PortAllocation = PortAllocation.Incremental(5005), useTestClock: Boolean = false, dsl: DriverDSLExposedInterface.() -> A): A

    driver allows one to start up nodes like this: driver { val noService = startNode("NoService") @@ -41,7 +41,7 @@ and may be specified in DriverDSL.startN dsl - The dsl itself.

    Return
    -The value returned in the dsl closure.

    +The value returned in the dsl closure.



    diff --git a/docs/build/html/api/net.corda.node.driver/index.html b/docs/build/html/api/net.corda.node.driver/index.html index 976535a9bf..951397f91b 100644 --- a/docs/build/html/api/net.corda.node.driver/index.html +++ b/docs/build/html/api/net.corda.node.driver/index.html @@ -56,19 +56,19 @@ addressMustBeBound -fun addressMustBeBound(hostAndPort: <ERROR CLASS>): Unit +fun addressMustBeBound(executorService: ScheduledExecutorService, hostAndPort: <ERROR CLASS>): <ERROR CLASS><Unit> addressMustNotBeBound -fun addressMustNotBeBound(hostAndPort: <ERROR CLASS>): Unit +fun addressMustNotBeBound(executorService: ScheduledExecutorService, hostAndPort: <ERROR CLASS>): <ERROR CLASS><Unit> driver -fun <A> driver(driverDirectory: Path = Paths.get("build", getTimestampAsDirectoryName()), portAllocation: PortAllocation = PortAllocation.Incremental(10000), debugPortAllocation: PortAllocation = PortAllocation.Incremental(5005), useTestClock: Boolean = false, isDebug: Boolean = false, dsl: DriverDSLExposedInterface.() -> A): A

    driver allows one to start up nodes like this: +fun <A> driver(isDebug: Boolean = false, driverDirectory: Path = Paths.get("build", getTimestampAsDirectoryName()), portAllocation: PortAllocation = PortAllocation.Incremental(10000), debugPortAllocation: PortAllocation = PortAllocation.Incremental(5005), useTestClock: Boolean = false, dsl: DriverDSLExposedInterface.() -> A): A

    driver allows one to start up nodes like this: driver { val noService = startNode("NoService") val notary = startNode("Notary")

    @@ -92,12 +92,6 @@ class SomeOtherDSL(val driverDSL : DriverDSL) : DriverDSLInternalInterface by dr -poll - -fun <A> poll(pollName: String, pollIntervalMs: Long = 500, warnCount: Int = 120, f: () -> A?): A - - - writeConfig fun writeConfig(path: Path, filename: String, config: <ERROR CLASS>): Unit diff --git a/docs/build/html/api/net.corda.node.services.events/-node-scheduler-service/-run-scheduled/index.html b/docs/build/html/api/net.corda.node.services.events/-node-scheduler-service/-run-scheduled/index.html index b07b14e1c0..f4b6a5152b 100644 --- a/docs/build/html/api/net.corda.node.services.events/-node-scheduler-service/-run-scheduled/index.html +++ b/docs/build/html/api/net.corda.node.services.events/-node-scheduler-service/-run-scheduled/index.html @@ -115,7 +115,7 @@ will do as long as the other side registers with it.

    receive -fun <T : Any> receive(otherParty: Party, receiveType: Class<T>): UntrustworthyData<T>
    +fun <T : Any> receive(receiveType: Class<T>, otherParty: Party): UntrustworthyData<T>
    fun <T : Any> receive(otherParty: Party): UntrustworthyData<T> @@ -128,7 +128,7 @@ will do as long as the other side registers with it.

    sendAndReceive -fun <T : Any> sendAndReceive(otherParty: Party, payload: Any, receiveType: Class<T>): UntrustworthyData<T>
    +fun <T : Any> sendAndReceive(receiveType: Class<T>, otherParty: Party, payload: Any): UntrustworthyData<T>
    fun <T : Any> sendAndReceive(otherParty: Party, payload: Any): UntrustworthyData<T> diff --git a/docs/build/html/api/net.corda.node.services.messaging/-artemis-messaging-component/-artemis-address/index.html b/docs/build/html/api/net.corda.node.services.messaging/-artemis-messaging-component/-artemis-address/index.html index 46b234e06c..4c20c0d972 100644 --- a/docs/build/html/api/net.corda.node.services.messaging/-artemis-messaging-component/-artemis-address/index.html +++ b/docs/build/html/api/net.corda.node.services.messaging/-artemis-messaging-component/-artemis-address/index.html @@ -7,7 +7,7 @@ net.corda.node.services.messaging / ArtemisMessagingComponent / ArtemisAddress

    ArtemisAddress

    -protected interface ArtemisAddress : MessageRecipients
    +interface ArtemisAddress : MessageRecipients


    Properties

    diff --git a/docs/build/html/api/net.corda.node.services.messaging/-artemis-messaging-component/-artemis-peer-address/index.html b/docs/build/html/api/net.corda.node.services.messaging/-artemis-messaging-component/-artemis-peer-address/index.html index 442382d4f2..d560b7bfc5 100644 --- a/docs/build/html/api/net.corda.node.services.messaging/-artemis-messaging-component/-artemis-peer-address/index.html +++ b/docs/build/html/api/net.corda.node.services.messaging/-artemis-messaging-component/-artemis-peer-address/index.html @@ -7,7 +7,7 @@ net.corda.node.services.messaging / ArtemisMessagingComponent / ArtemisPeerAddress

    ArtemisPeerAddress

    -protected interface ArtemisPeerAddress : ArtemisAddress, SingleMessageRecipient
    +interface ArtemisPeerAddress : ArtemisAddress, SingleMessageRecipient


    Properties

    diff --git a/docs/build/html/api/net.corda.node.services.messaging/-artemis-messaging-component/-n-e-t-w-o-r-k_-m-a-p_-a-d-d-r-e-s-s.html b/docs/build/html/api/net.corda.node.services.messaging/-artemis-messaging-component/-n-e-t-w-o-r-k_-m-a-p_-a-d-d-r-e-s-s.html index 0b61d36546..acfed14586 100644 --- a/docs/build/html/api/net.corda.node.services.messaging/-artemis-messaging-component/-n-e-t-w-o-r-k_-m-a-p_-a-d-d-r-e-s-s.html +++ b/docs/build/html/api/net.corda.node.services.messaging/-artemis-messaging-component/-n-e-t-w-o-r-k_-m-a-p_-a-d-d-r-e-s-s.html @@ -8,7 +8,7 @@

    NETWORK_MAP_ADDRESS

    -val NETWORK_MAP_ADDRESS: <ERROR CLASS>
    +val NETWORK_MAP_ADDRESS: String


    diff --git a/docs/build/html/api/net.corda.node.services.messaging/-artemis-messaging-component/-r-p-c_-q-u-e-u-e_-r-e-m-o-v-a-l-s_-q-u-e-u-e.html b/docs/build/html/api/net.corda.node.services.messaging/-artemis-messaging-component/-r-p-c_-q-u-e-u-e_-r-e-m-o-v-a-l-s_-q-u-e-u-e.html new file mode 100644 index 0000000000..88f3e2a7db --- /dev/null +++ b/docs/build/html/api/net.corda.node.services.messaging/-artemis-messaging-component/-r-p-c_-q-u-e-u-e_-r-e-m-o-v-a-l-s_-q-u-e-u-e.html @@ -0,0 +1,15 @@ + + +ArtemisMessagingComponent.RPC_QUEUE_REMOVALS_QUEUE - + + + +net.corda.node.services.messaging / ArtemisMessagingComponent / RPC_QUEUE_REMOVALS_QUEUE
    +
    +

    RPC_QUEUE_REMOVALS_QUEUE

    + +const val RPC_QUEUE_REMOVALS_QUEUE: String
    +
    +
    + + diff --git a/docs/build/html/api/net.corda.node.services.messaging/-artemis-messaging-component/index.html b/docs/build/html/api/net.corda.node.services.messaging/-artemis-messaging-component/index.html index 0e395d5f8e..aeeee9804c 100644 --- a/docs/build/html/api/net.corda.node.services.messaging/-artemis-messaging-component/index.html +++ b/docs/build/html/api/net.corda.node.services.messaging/-artemis-messaging-component/index.html @@ -136,7 +136,7 @@ unfortunately Artemis tends to bury the exception when the password is wrong.

    NETWORK_MAP_ADDRESS -val NETWORK_MAP_ADDRESS: <ERROR CLASS> +val NETWORK_MAP_ADDRESS: String @@ -170,6 +170,12 @@ unfortunately Artemis tends to bury the exception when the password is wrong.

    +RPC_QUEUE_REMOVALS_QUEUE + +const val RPC_QUEUE_REMOVALS_QUEUE: String + + + RPC_REQUESTS_QUEUE const val RPC_REQUESTS_QUEUE: String diff --git a/docs/build/html/api/net.corda.node.services.messaging/-artemis-messaging-server/deploy-bridge-if-absent.html b/docs/build/html/api/net.corda.node.services.messaging/-artemis-messaging-server/deploy-bridge-if-absent.html new file mode 100644 index 0000000000..123b4af843 --- /dev/null +++ b/docs/build/html/api/net.corda.node.services.messaging/-artemis-messaging-server/deploy-bridge-if-absent.html @@ -0,0 +1,15 @@ + + +ArtemisMessagingServer.deployBridgeIfAbsent - + + + +net.corda.node.services.messaging / ArtemisMessagingServer / deployBridgeIfAbsent
    +
    +

    deployBridgeIfAbsent

    + +fun deployBridgeIfAbsent(queueName: <ERROR CLASS>, hostAndPort: <ERROR CLASS>): Unit
    +
    +
    + + diff --git a/docs/build/html/api/net.corda.node.services.messaging/-artemis-messaging-server/index.html b/docs/build/html/api/net.corda.node.services.messaging/-artemis-messaging-server/index.html index a3db89a79a..8f833ed44d 100644 --- a/docs/build/html/api/net.corda.node.services.messaging/-artemis-messaging-server/index.html +++ b/docs/build/html/api/net.corda.node.services.messaging/-artemis-messaging-server/index.html @@ -85,9 +85,9 @@ valid RPC users. RPC clients are given permission to perform RPC and nothing els -bridgeToNetworkMapService +deployBridgeIfAbsent -fun bridgeToNetworkMapService(networkMapService: NetworkMapAddress): Unit +fun deployBridgeIfAbsent(queueName: <ERROR CLASS>, hostAndPort: <ERROR CLASS>): Unit diff --git a/docs/build/html/api/net.corda.node.services.messaging/-node-messaging-client/index.html b/docs/build/html/api/net.corda.node.services.messaging/-node-messaging-client/index.html index 56e1570f97..285753b707 100644 --- a/docs/build/html/api/net.corda.node.services.messaging/-node-messaging-client/index.html +++ b/docs/build/html/api/net.corda.node.services.messaging/-node-messaging-client/index.html @@ -206,12 +206,6 @@ unfortunately Artemis tends to bury the exception when the password is wrong.

    -RPC_QUEUE_REMOVALS_QUEUE - -const val RPC_QUEUE_REMOVALS_QUEUE: String - - - SESSION_ID_PROPERTY const val SESSION_ID_PROPERTY: String diff --git a/docs/build/html/api/net.corda.node.services.network/-in-memory-network-map-cache/changed.html b/docs/build/html/api/net.corda.node.services.network/-in-memory-network-map-cache/changed.html index a890ff23f1..dcdebfc188 100644 --- a/docs/build/html/api/net.corda.node.services.network/-in-memory-network-map-cache/changed.html +++ b/docs/build/html/api/net.corda.node.services.network/-in-memory-network-map-cache/changed.html @@ -11,9 +11,6 @@ open val changed: <ERROR CLASS><MapChange>
    Overrides NetworkMapCache.changed

    Tracks changes to the network map cache

    -

    Getter
    -

    Tracks changes to the network map cache

    -



    diff --git a/docs/build/html/api/net.corda.node.services.persistence/-d-b-transaction-storage/updates.html b/docs/build/html/api/net.corda.node.services.persistence/-d-b-transaction-storage/updates.html index 92dc00f0e6..f860fded27 100644 --- a/docs/build/html/api/net.corda.node.services.persistence/-d-b-transaction-storage/updates.html +++ b/docs/build/html/api/net.corda.node.services.persistence/-d-b-transaction-storage/updates.html @@ -12,10 +12,6 @@ Overrides ReadOnlyTransactionStorage.updates

    Get a synchronous Observable of updates. When observations are pushed to the Observer, the vault will already incorporate the update.

    -

    Getter
    -

    Get a synchronous Observable of updates. When observations are pushed to the Observer, the vault will already -incorporate the update.

    -



    diff --git a/docs/build/html/api/net.corda.node.services.persistence/-data-vending/-service/-notify-transaction-handler/index.html b/docs/build/html/api/net.corda.node.services.persistence/-data-vending/-service/-notify-transaction-handler/index.html index 9ca1156253..701dbfb1b3 100644 --- a/docs/build/html/api/net.corda.node.services.persistence/-data-vending/-service/-notify-transaction-handler/index.html +++ b/docs/build/html/api/net.corda.node.services.persistence/-data-vending/-service/-notify-transaction-handler/index.html @@ -98,8 +98,8 @@ will do as long as the other side registers with it.

    receive -fun <T : Any> receive(otherParty: Party): UntrustworthyData<T>
    -fun <T : Any> receive(otherParty: Party, receiveType: Class<T>): UntrustworthyData<T> +fun <T : Any> receive(receiveType: Class<T>, otherParty: Party): UntrustworthyData<T>
    +fun <T : Any> receive(otherParty: Party): UntrustworthyData<T> @@ -111,8 +111,8 @@ will do as long as the other side registers with it.

    sendAndReceive -fun <T : Any> sendAndReceive(otherParty: Party, payload: Any, receiveType: Class<T>): UntrustworthyData<T>
    -fun <T : Any> sendAndReceive(otherParty: Party, payload: Any): UntrustworthyData<T> +fun <T : Any> sendAndReceive(otherParty: Party, payload: Any): UntrustworthyData<T>
    +fun <T : Any> sendAndReceive(receiveType: Class<T>, otherParty: Party, payload: Any): UntrustworthyData<T> diff --git a/docs/build/html/api/net.corda.node.services.statemachine/-state-machine-manager/changes.html b/docs/build/html/api/net.corda.node.services.statemachine/-state-machine-manager/changes.html index bf20f17ef7..e3c71b8830 100644 --- a/docs/build/html/api/net.corda.node.services.statemachine/-state-machine-manager/changes.html +++ b/docs/build/html/api/net.corda.node.services.statemachine/-state-machine-manager/changes.html @@ -11,6 +11,9 @@ val changes: <ERROR CLASS><Change>

    An observable that emits triples of the changing flow, the type of change, and a process-specific ID number which may change across restarts.

    +

    We use assignment here so that multiple subscribers share the same wrapped Observable.

    +
    +


    diff --git a/docs/build/html/api/net.corda.node.services.vault/-node-vault-service/cash-balances.html b/docs/build/html/api/net.corda.node.services.vault/-node-vault-service/cash-balances.html new file mode 100644 index 0000000000..1f4d3d1707 --- /dev/null +++ b/docs/build/html/api/net.corda.node.services.vault/-node-vault-service/cash-balances.html @@ -0,0 +1,22 @@ + + +NodeVaultService.cashBalances - + + + +net.corda.node.services.vault / NodeVaultService / cashBalances
    +
    +

    cashBalances

    + +val cashBalances: Map<Currency, Amount<Currency>>
    +Overrides VaultService.cashBalances
    +

    Returns a map of how much cash we have in each currency, ignoring details like issuer. Note: currencies for +which we have no cash evaluate to null (not present in map), not 0.

    +

    Getter
    +

    Returns a map of how much cash we have in each currency, ignoring details like issuer. Note: currencies for +which we have no cash evaluate to null (not present in map), not 0.

    +

    +
    +
    + + diff --git a/docs/build/html/api/net.corda.node.services.vault/-node-vault-service/index.html b/docs/build/html/api/net.corda.node.services.vault/-node-vault-service/index.html index 26d1289be2..ee0f2d16b6 100644 --- a/docs/build/html/api/net.corda.node.services.vault/-node-vault-service/index.html +++ b/docs/build/html/api/net.corda.node.services.vault/-node-vault-service/index.html @@ -37,6 +37,14 @@ we add further functionality as the design for the vault and vault service matur +cashBalances + +val cashBalances: Map<Currency, Amount<Currency>>

    Returns a map of how much cash we have in each currency, ignoring details like issuer. Note: currencies for +which we have no cash evaluate to null (not present in map), not 0.

    + + + + currentVault val currentVault: Vault

    Returns a read-only snapshot of the vault at the time the call is made. Note that if you consume states or @@ -67,19 +75,6 @@ the update, and the database transaction associated with the update will have be -

    Inherited Properties

    - - - - - - - -
    -cashBalances -open val cashBalances: Map<Currency, Amount<Currency>>

    Returns a map of how much cash we have in each currency, ignoring details like issuer. Note: currencies for -which we have no cash evaluate to null (not present in map), not 0.

    -

    Functions

    @@ -110,7 +105,7 @@ using a semi-colon separator

    @@ -138,7 +133,7 @@ first subscriber is registered so as to avoid racing with early updates.

    diff --git a/docs/build/html/api/net.corda.node.services.vault/-node-vault-service/notify-all.html b/docs/build/html/api/net.corda.node.services.vault/-node-vault-service/notify-all.html index 836ade307d..884980b0e7 100644 --- a/docs/build/html/api/net.corda.node.services.vault/-node-vault-service/notify-all.html +++ b/docs/build/html/api/net.corda.node.services.vault/-node-vault-service/notify-all.html @@ -8,11 +8,10 @@

    notifyAll

    -fun notifyAll(txns: Iterable<WireTransaction>): Vault
    +fun notifyAll(txns: Iterable<WireTransaction>): Unit
    Overrides VaultService.notifyAll

    Possibly update the vault by marking as spent states that these transactions consume, and adding any relevant new states that they create. You should only insert transactions that have been successfully verified here

    -

    Returns the new vault that resulted from applying the transactions (note: it may quickly become out of date).

    TODO: Consider if theres a good way to enforce the must-be-verified requirement in the type system.



    diff --git a/docs/build/html/api/net.corda.node.utilities/index.html b/docs/build/html/api/net.corda.node.utilities/index.html index 7bf2860793..cdfce3ac2b 100644 --- a/docs/build/html/api/net.corda.node.utilities/index.html +++ b/docs/build/html/api/net.corda.node.utilities/index.html @@ -350,6 +350,15 @@ dropped, simply delayed.

    + + + +
    notifyAll -fun notifyAll(txns: Iterable<WireTransaction>): Vault

    Possibly update the vault by marking as spent states that these transactions consume, and adding any relevant +fun notifyAll(txns: Iterable<WireTransaction>): Unit

    Possibly update the vault by marking as spent states that these transactions consume, and adding any relevant new states that they create. You should only insert transactions that have been successfully verified here

    notify -open fun notify(tx: WireTransaction): Vault

    Same as notifyAll but with a single transaction.

    +open fun notify(tx: WireTransaction): Unit

    Same as notifyAll but with a single transaction.

    fun <ERROR CLASS>.uuidString(name: String): <ERROR CLASS>
    +wrapWithDatabaseTransaction +fun <T : Any> <ERROR CLASS><T>.wrapWithDatabaseTransaction(db: <ERROR CLASS>? = null): <ERROR CLASS><T>

    Wrap delivery of observations in a database transaction. Multiple subscribers will receive the observations inside +the same database transaction. This also lazily subscribes to the source rx.Observable to preserve any buffering +that might be in place.

    +
    diff --git a/docs/build/html/api/net.corda.node.utilities/wrap-with-database-transaction.html b/docs/build/html/api/net.corda.node.utilities/wrap-with-database-transaction.html new file mode 100644 index 0000000000..e06a4eb997 --- /dev/null +++ b/docs/build/html/api/net.corda.node.utilities/wrap-with-database-transaction.html @@ -0,0 +1,18 @@ + + +wrapWithDatabaseTransaction - + + + +net.corda.node.utilities / wrapWithDatabaseTransaction
    +
    +

    wrapWithDatabaseTransaction

    + +fun <T : Any> <ERROR CLASS><T>.wrapWithDatabaseTransaction(db: <ERROR CLASS>? = null): <ERROR CLASS><T>
    +

    Wrap delivery of observations in a database transaction. Multiple subscribers will receive the observations inside +the same database transaction. This also lazily subscribes to the source rx.Observable to preserve any buffering +that might be in place.

    +
    +
    + + diff --git a/docs/build/html/azure-vm.html b/docs/build/html/azure-vm.html new file mode 100644 index 0000000000..8256a3ddb5 --- /dev/null +++ b/docs/build/html/azure-vm.html @@ -0,0 +1,420 @@ + + + + + + + + + + + + + + Working with the Corda Demo on Azure Marketplace — R3 Corda latest documentation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + +
    + + + + + + +
    +
    + + + + + + +
    + +
    +
    +
    +
    + +
    +

    Working with the Corda Demo on Azure Marketplace¶

    +

    Corda ships with a VM image which can be used to deploy a pre-configured virtual machine on the Microsoft Azure Marketplace

    +

    This Corda Demo VM is an easy option for running the demos; it is NOT a development environment. When you are ready to get developing on Corda and start making contributions to the project please clone the GitHub Repos instead.

    +
    +

    Pre-requisites¶

    +
      +
    • Ensure you have a registered Microsoft Azure account and are logged on to the Azure portal.
    • +
    • It is recommended you generate a private-public SSH key pair (see here)
    • +
    +
    +
    +

    Deploying the VM¶

    +

    Search the Azure Marketplace for Corda. +Click the ‘Create’ button.

    +

    STEP 1: Basics

    +
      +
    • Name: Choose an appropriate descriptive name for the VM
    • +
    • VM Disk Type: Select ‘SSD’
    • +
    • Username: Your preferred user name for the administrator account when accessing via SSH
    • +
    • Authentication type: Select ‘SSH public key’, then paste the contents of your SSH public key file (see pre-requisites, above) into the box below. Alternatively select ‘Password’ to use a password of your choice to administer the VM
    • +
    • Subscription: Select your subscription name
    • +
    • Resource group: Select ‘Use existing’. From the drop-down menu, select your account group
    • +
    • Location: Select the geographical location physically closest to you
    • +
    +_images/azure_vm_10_00_1.png +

    Click ‘OK’

    +

    STEP 2: Size

    +

    A range of available hardware configurations will be presented, along with estimated costs. For the purposes of running the demos, a configuration of 2 cores and at least 14GB is recommended

    +_images/azure_vm_10_05_1.png +

    Choose the required configuration and click ‘Select’.

    +

    STEP 3: Settings

    +

    Adjust any configuration settings required. For the purposes of running the Corda demos, all settings may be left as default.

    +_images/azure_vm_10_16_1.png +

    STEP 4: Summary

    +

    The banner at the top of the dialog should read ‘Validation passed’ otherwise go back and adjust settings where needed.

    +_images/azure_vm_10_19.png +

    Click ‘OK’ to proceed.

    +

    STEP 5: Buy

    +

    Click ‘Purchase’ to complete the configuration and start the VM deployment.

    +

    The VM will begin the deployment process, which typically takes 4-5 minutes to complete. To see progress, click on the “Deploying” icon displayed.

    +_images/azure_vm_10_20.png +

    Once deployed, click ‘Overview’ to see the virtual machine details. Note down the Public IP address. You will need this to connect to the demo screens via your web browser:

    +_images/azure_vm_10_26.png +
    +
    +

    Viewing the SIMM Valuation demo¶

    +

    The SIMM Valuation demo creates three nodes, representing three parties in the example workflow (Bank A, Bank B, Bank C). Each node listens on a different port - those used by the demo are:

    +

    SIMM Valuation Demo ports: 12005 (node A for Bank A), 12007 (node B for Bank B), 12009 (node C for Bank C)

    +

    Open three browser tabs and direct each one to

    +
    http://(public IP address):(port)/web/simmvaluationdemo
    +
    +
    +

    specifying each of the three ports above in different windows, e.g.

    +
    http://51.140.41.48/12005/web/simmvaluationdemo
    +
    +
    +

    You will be able to view the basic web interface identifying the different banks.

    +

    Now lets take a look at a transaction between Bank A and B which is not visible to Bank C. This illustrates the restricted data sharing feature of Corda, i.e. data is shared on a need-to-know basis. Nodes provide the dependency graph of a transaction they are sending to another node on demand, but there is no global broadcast of all transactions.

    +
      +
    1. In the browser tab for Bank A (the top right hand corner shows which bank you are administering) click ‘Create New Trade’ from the top navigation bar
    2. +
    3. Select to trade with Bank B
    4. +
    5. Select ‘EUR Fixed 1y EURIBOR 3m’ from the drop down
    6. +
    7. Click ‘Submit’ to create the trade
    8. +
    9. In the browser tab for Bank B click ‘View Portfolio’ from the top navigation bar to see this new trade
    10. +
    11. In the browser tab for Bank C click ‘View Portfolio’ from the top navigation bar and you will not be able to see the trade, as expected
    12. +
    +_images/azure_vm_10_51.png +
    +

    Note

    +

    There is a known issue whereby some users may see a 400 error when navigating the SIMM Valuation demo. If you encounter this error, simply navigate back to the root page (http://(public IP address):(port)/web/simmvaluationdemo) in the browser before continuing.

    +
    +
    +
    +

    Viewing the IRS demo¶

    +

    The IRS demo creates three nodes: Bank A, Bank B and a node that runs a notary, a network map and an interest rates oracle together. The two banks agree on an interest rate swap, and then do regular fixings of the deal as the time on a simulated clock passes. Each bank node listens on a different port - those used by the demo are:

    +

    IRS demo ports: 11005 (node A for Bank A), 11007 (node B for Bank B)

    +

    Open two browser tabs and direct one to each of the following:

    +
    http://localhost:11005/web/irsdemo
    +http://localhost:11007/web/irsdemo
    +
    +
    +

    You will be able to see the the nodes’ view of the ledger.

    +_images/azure_vm_10_52.png +

    Now lets take a look at how the interest rates oracle provides interest rates for a deal with a semi-annual payment frequency, and how the two counterparties to the trade see the same deal information on their own nodes, i.e. you see what I see.

    +
      +
    1. In the browser tab for Bank A click ‘Create Deal’ from the top navigation bar
    2. +
    3. Modify the terms of the IRS deal, or leave as default
    4. +
    5. Click ‘Submit’ to create the deal
    6. +
    7. In the browser tab for Bank A click ‘Recent Deals’ from the top navigation bar to view the deal
    8. +
    9. In the browser tab for Bank B click ‘Recent Deals’ from the top navigation bar to view the deal. Compare the economic details to those shown in the Bank A tab
    10. +
    +_images/azure_vm_10_54.png +
    +
    +

    Viewing logs (advanced users)¶

    +

    Users may wish to view the raw logs generated by each node, which contain more information about the operations performed by each node.

    +

    You can access these using an SSH client of your choice (e.g. Putty) and logging into the virtual machine using the public IP address. +Once logged in, navigate to

    +
    /opt/simm-nodes/
    +
    +
    +

    for the SIMM Valuation demo logs and

    +
    /opt/irs-nodes/
    +
    +
    +

    for the IRS demo logs. +There are separate sub-directories for each of the three nodes (nodea, nodeb, nodec), each containing a /logs sub-directory.

    +

    The name of the log file will follow the name given to the service it reflects, e.g. node-clint-vm-test.log.

    +_images/azure_vm_10_47.png +

    You can open log files with any text editor.

    +_images/azure_vm_10_49.png +
    +
    +

    Next Steps¶

    +

    Now you have taken a look at two Corda demos do go and visit the dedicated Corda website

    +

    Or to get straight into the Corda open source codebase, head over to the Github Corda repo

    +
    +
    + + +
    +
    + + +
    +
    + +
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/build/html/building-the-docs.html b/docs/build/html/building-the-docs.html index 713cdc1998..1ec4178686 100644 --- a/docs/build/html/building-the-docs.html +++ b/docs/build/html/building-the-docs.html @@ -1,3 +1,7 @@ + + + @@ -31,7 +35,7 @@ - + @@ -78,6 +82,11 @@
    API reference +
    +Discourse Forums +
    +Slack +
    @@ -107,8 +116,9 @@
  • Gradle plugins for CorDapps
  • The CorDapp Template
  • Building the CorDapp template
  • -
  • Running the Sample CorDapp
  • -
  • Using the sample CorDapp
  • +
  • Running the CorDapp template
  • +
  • Interacting with the CorDapp template
  • +
  • Extending the CorDapp template
  • The Corda node

    +
  • Publishing Corda
  • +
  • Working with the Corda Demo on Azure Marketplace
  • Glossary

    The Dokka JAR file needs to be placed under the lib directory within the r3prototyping directory, in order for the script to find it, as in:

    -
    r3prototyping/lib/dokka.jar
    +
    corda/lib/dokka.jar
     

    Note that to install under OS X El Capitan, you will need to tell pip to install under /usr/local, which can be @@ -265,7 +277,7 @@ following to see a list of all available formats:

    @@ -124,8 +133,9 @@
  • Gradle plugins for CorDapps
  • The CorDapp Template
  • Building the CorDapp template
  • -
  • Running the Sample CorDapp
  • -
  • Using the sample CorDapp
  • +
  • Running the CorDapp template
  • +
  • Interacting with the CorDapp template
  • +
  • Extending the CorDapp template
  • The Corda node

    Glossary

      diff --git a/docs/build/html/clientrpc.html b/docs/build/html/clientrpc.html index 45ce6f6ed9..f7dd52d382 100644 --- a/docs/build/html/clientrpc.html +++ b/docs/build/html/clientrpc.html @@ -1,3 +1,7 @@ + + + @@ -78,6 +82,11 @@
      API reference +
      +Discourse Forums +
      +Slack +
    @@ -107,8 +116,9 @@
  • Gradle plugins for CorDapps
  • The CorDapp Template
  • Building the CorDapp template
  • -
  • Running the Sample CorDapp
  • -
  • Using the sample CorDapp
  • +
  • Running the CorDapp template
  • +
  • Interacting with the CorDapp template
  • +
  • Extending the CorDapp template
  • The Corda node

    Glossary

    @@ -107,8 +116,9 @@
  • Gradle plugins for CorDapps
  • The CorDapp Template
  • Building the CorDapp template
  • -
  • Running the Sample CorDapp
  • -
  • Using the sample CorDapp
  • +
  • Running the CorDapp template
  • +
  • Interacting with the CorDapp template
  • +
  • Extending the CorDapp template
  • The Corda node

  • Building the documentation
  • +
  • Publishing Corda
  • +
  • Working with the Corda Demo on Azure Marketplace
  • Glossary

    The Corda node

    Glossary

    The Corda node

    Glossary

    The Corda node

    Glossary

    The Corda node

    Glossary

    The Corda node

    Glossary

    The Corda node

    Glossary

    The Corda node

    Glossary

    The Corda node

    Glossary

    The Corda node

    Glossary

    The Corda node

    Glossary

    The Corda node

    Glossary

    The Corda node

    Glossary

    The Corda node

    Glossary

    The Corda node

    Glossary

    The Corda node

    Glossary

    The Corda node

    Glossary

    @@ -334,6 +347,7 @@ you already have read the relevant sections of the technology white paper and no
  • The CorDapp Template
  • Building the CorDapp template
  • -
  • Running the Sample CorDapp
    diff --git a/docs/build/html/initial-margin-agreement.html b/docs/build/html/initial-margin-agreement.html index 52b6186b7a..e30f40c50f 100644 --- a/docs/build/html/initial-margin-agreement.html +++ b/docs/build/html/initial-margin-agreement.html @@ -1,3 +1,7 @@ + + + @@ -78,6 +82,11 @@
    API reference +
    +Discourse Forums +
    +Slack +
    @@ -107,8 +116,9 @@
  • Gradle plugins for CorDapps
  • The CorDapp Template
  • Building the CorDapp template
  • -
  • Running the Sample CorDapp
  • -
  • Using the sample CorDapp
  • +
  • Running the CorDapp template
  • +
  • Interacting with the CorDapp template
  • +
  • Extending the CorDapp template
  • The Corda node

    Glossary

    The Corda node

    Glossary

    The Corda node

    Glossary

    The Corda node

    Glossary

    The Corda node

    Glossary

    +
    +

    Message queues¶

    +

    The node makes use of various queues for its operation. The more important ones are described below. Others are used +for maintenance and other minor purposes.

    + +++ + + + + + + + + + + + + + + + + + +
    p2p.inbound:The node listens for messages sent from other peer nodes on this queue. Only clients who are authenticated to be +nodes on the same network are given permission to send. Messages which are routed internally are also sent to this +queue (e.g. two flows on the same node communicating with each other).
    internal.peers.$identity:
     These are a set of private queues only available to the node which it uses to route messages destined to other peers. +The queue name ends in the base 58 encoding of the peer’s identity key. There is at most one queue per peer. The broker +creates a bridge from this queue to the peer’s p2p.inbound queue, using the network map service to lookup the +peer’s network address.
    internal.services.$identity:
     These are private queues the node may use to route messages to services. The queue name ends in the base 58 encoding +of the service’s owning identity key. There is at most one queue per service identity (but note that any one service +may have several identities). The broker creates bridges to all nodes in the network advertising the service in +question. When a session is initiated with a service counterparty the handshake is pushed onto this queue, and a +corresponding bridge is used to forward the message to an advertising peer’s p2p queue. Once a peer is picked the +session continues on as normal.
    internal.networkmap:
     This is another private queue just for the node which functions in a similar manner to the internal.peers.* queues +except this is used to form a connection to the network map node. The node running the network map service is treated +differently as it provides information about the rest of the network.
    rpc.requests:RPC clients send their requests here, and it’s only open for sending by clients authenticated as RPC users.
    clients.$user.rpc.$random:
     RPC clients are given permission to create a temporary queue incorporating their username ($user) and sole +permission to receive messages from it. RPC requests are required to include a random number ($random) from +which the node is able to construct the queue the user is listening on and send the response to that. This mechanism +prevents other users from being able listen in on the responses.
    +
    +
    +

    Security¶

    +

    Clients attempting to connect to the node’s broker fall in one of four groups:

    +
      +
    1. Anyone connecting with the username SystemUsers/Node is treated as the node hosting the broker, or a logical +component of the node. The TLS certificate they provide must match the one broker has for the node. If that’s the case +they are given full access to all valid queues, otherwise they are rejected.
    2. +
    3. Anyone connecting with the username SystemUsers/Peer is treated as a peer on the same Corda network as the node. Their +TLS root CA must be the same as the node’s root CA - the root CA is the doorman of the network and having the same root CA +implies we’ve been let in by the same doorman. If they are part of the same network then they are only given permission +to send to our p2p.inbound queue, otherwise they are rejected.
    4. +
    5. Every other username is treated as a RPC user and authenticated against the node’s list of valid RPC users. If that +is successful then they are only given sufficient permission to perform RPC, otherwise they are rejected.
    6. +
    7. Clients connecting without a username and password are rejected.
    8. +
    +

    Artemis provides a feature of annotating each received message with the validated user. This allows the node’s messaging +service to provide authenticated messages to the rest of the system. For the first two client types described above the +validated user is the X.500 subject DN of the client TLS certificate and we assume the common name is the legal name of +the peer. This allows the flow framework to authentically determine the Party initiating a new flow. For RPC clients +the validated user is the username itself and the RPC framework uses this to determine what permissions the user has.

    +
    +

    Note

    +

    Party lookup is currently done by the legal name which isn’t guaranteed to be unique. A future version will +use the full X.500 name as it can provide additional structures for uniqueness.

    +
    +
    +
    +

    Messaging types¶

    +

    Every Message object has an associated topic and may have a session ID. These are wrapped in a TopicSession. +An implementation of MessagingService can be used to create messages and send them. You can get access to the +messaging service via the ServiceHub object that is provided to your app. Endpoints on the network are +identified at the lowest level using SingleMessageRecipient which may be e.g. an IP address, or in future +versions perhaps a routing path through the network.

    +
    diff --git a/docs/build/html/network-simulator.html b/docs/build/html/network-simulator.html index 066cd516d2..5650e87106 100644 --- a/docs/build/html/network-simulator.html +++ b/docs/build/html/network-simulator.html @@ -1,3 +1,7 @@ + + + @@ -78,6 +82,11 @@
    API reference +
    +Discourse Forums +
    +Slack +
    @@ -107,8 +116,9 @@
  • Gradle plugins for CorDapps
  • The CorDapp Template
  • Building the CorDapp template
  • -
  • Running the Sample CorDapp
  • -
  • Using the sample CorDapp
  • +
  • Running the CorDapp template
  • +
  • Interacting with the CorDapp template
  • +
  • Extending the CorDapp template
  • The Corda node

    Glossary

    The Corda node

    Glossary

    The Corda node

    Glossary

    The Corda node

    Glossary

    The Corda node

    Glossary

    The Corda node

    Glossary

    The Corda node

    Glossary

    The Corda node

    Glossary

    The Corda node

    Glossary

    The Corda node

    Glossary

    The Corda node

    Glossary

    The Corda node

    Glossary

    The Corda node

    Glossary

    The Corda node

    Glossary

    The Corda node

    Glossary

    The Corda node

    Glossary

    The Corda node

    Glossary

    The Corda node

    Glossary

    The Corda node

    Glossary

    The Corda node

    Glossary

    The Corda node

    Glossary

    The Corda node

    Glossary