corda/samples
Katelyn Baker 06a6eace67
CORDA-1115 - Cannot serialize private nested objects (#2665)
* CORDA-1115 - Cannot serialize private nested objects

Shown up by the simm-valuation-demo the problem was where a private
object field of an object was being serialised within the outer objects
context (see tests added for example)

Fix is to switch from Kotlin reflection back to Java.

Additional fix to the test where it was comparing two lists of state
references in a flow and they weren't equal because they weren't in the
same order... This I assume is just an oversight (in that them being
in a different order but otherwise the same is actually fine) so
converting to set comparison

* Fix forward port issue where fingerprinting has moved

* Review Comments

* Review Comments

* Review Comments

* Gran -> Grab
2018-03-02 13:13:00 +00:00
..
attachment-demo Test driver default parameters removal (#2519) 2018-02-13 13:15:05 +00:00
bank-of-corda-demo [CORDA-926]: Parsing NodeConfiguration will now fail if unknown properties are present. (#2484) 2018-03-01 14:57:36 +00:00
cordapp-configuration CORDA-556: Added Cordapp Config and a sample (#2469) 2018-02-14 14:49:59 +00:00
irs-demo [CORDA-926]: Parsing NodeConfiguration will now fail if unknown properties are present. (#2484) 2018-03-01 14:57:36 +00:00
network-visualiser [CORDA-1035] Testing api KDoc Updates (#2584) 2018-02-28 13:26:49 +00:00
notary-demo CORDA-696 - Create separate transaction types for contract upgrade transactions (#2589) 2018-02-26 11:29:25 +00:00
simm-valuation-demo CORDA-1115 - Cannot serialize private nested objects (#2665) 2018-03-02 13:13:00 +00:00
trader-demo [CORDA-1035] Testing api KDoc Updates (#2584) 2018-02-28 13:26:49 +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)