corda/samples
Anthony Keenan 7b65b7971a
CORDA-939 - Don't expose StartedNode and AbstractNode as part of public test api (#2472)
* Don't expose StartedNode via Node Driver

* Dont expose StartedNode/Abstract Node via MockNetwork

* Remove internal var from constructor as it doesn't hide from public api and change to internal initialisation method

* Update api

* Rename MockNode to StartedMockNode to avoid confusion
Update documentation
Update api-current.txt

* Fix typo

* Fix test failure

* Modify flow tests to use internal mock network and remove additional internal exposures from StartedMockNode

* Fix api-current

* Change InProcess and OutOfProcess to interfaces

* Explicitly declare MockNetwork parameters
Dont expose StateMachineManager
Move affected tests to use internal mock network

* Fix api-current

* Changes requested via review

* Fix IRS Demo address

* Fix api

* Remove internal attribute from classes in internal package

* Remove accidentally added code

* Move useHttps into NodeHandleInternal

* Remove duplicated code

* Update api-current

* Make webAddress internal on NodeHandle

* Make sure parameters in public api are explicitly specified

* Use correct address in IRS Demo

* Get webaddress from webserver handle

* Update api-current
2018-02-12 10:09:59 +00:00
..
attachment-demo CORDA-939 - Don't expose StartedNode and AbstractNode as part of public test api (#2472) 2018-02-12 10:09:59 +00:00
bank-of-corda-demo CORDA-939 - Don't expose StartedNode and AbstractNode as part of public test api (#2472) 2018-02-12 10:09:59 +00:00
irs-demo CORDA-939 - Don't expose StartedNode and AbstractNode as part of public test api (#2472) 2018-02-12 10:09:59 +00:00
network-visualiser CORDA-939 - Don't expose StartedNode and AbstractNode as part of public test api (#2472) 2018-02-12 10:09:59 +00:00
notary-demo Deprecate TimeWindowChecker, make TimeWindowInvalid report exact current time and transaction time window (#2280) 2018-01-26 09:32:11 +00:00
simm-valuation-demo Exposed RPC SSL settings through Cordformation (#2419) 2018-01-25 14:32:58 +00:00
trader-demo CORDA-939 - Don't expose StartedNode and AbstractNode as part of public test api (#2472) 2018-02-12 10:09:59 +00:00
README.md fix typo 2017-08-29 11:16:08 +02:00

Sample applications

Please refer to README.md in the individual project folders. There are the following demos:

  • attachment-demo A simple demonstration of sending a transaction with an attachment from one node to another, and then accessing the attachment on the remote node.
  • irs-demo A demo showing two nodes agreeing to an interest rate swap and doing fixings using an oracle.
  • trader-demo A simple driver for exercising the two party trading flow. In this scenario, a buyer wants to purchase some commercial paper by swapping his cash for commercial paper. The seller learns that the buyer exists, and sends them a message to kick off the trade. The seller, having obtained his CP, then quits and the buyer goes back to waiting. The buyer will sell as much CP as he can! We recommend starting with this demo.
  • Network-visualiser A tool that uses a simulation to visualise the interaction and messages between nodes on the Corda network. Currently only works for the IRS demo.
  • simm-valuation-demo A demo showing two nodes reaching agreement on the valuation of a derivatives portfolio.
  • notary-demo A simple demonstration of a node getting multiple transactions notarised by a single or distributed (Raft or BFT SMaRt) notary.
  • bank-of-corda-demo A demo showing a node acting as an issuer of fungible assets (initially Cash)