mirror of
https://github.com/corda/corda.git
synced 2024-12-22 14:22:28 +00:00
d77290831c
* [CORDA-1035] Testing api KDoc Updates (#2584) * Testing api KDoc Updates * Update after code review * Update api-current * Revert changes to compiler.xml * Made comment changes from review * Fixing merge conflict * Don't expose net.corda.node through test API (first pass) * Fixing merge conflicts * Update api-current * Addressing review commits * Fix exposure of internal implementation of MessageHandlerRegistration * Make InProcess expose ServiceHub instead of internal StartedNodeServices * Move InternalMockMessaginService interface to internal namespace * Move MOCK_VERSION_INFO to internal namespace to avoid exposing VersionInfo * Don't expose WritableTransactionStorage via testing api * Create public VerifierType enum * Update api-current and modify check-api-changes to check for net.corda.node exposures * Fix merge conflicts * Fixing another merge conflict * Fix accidentally broken unit tests * Make getInternalServices a property * Fix failing unit tests * Add todo to check-api-changes * Fix rpc sender thread busy looping * Fix tests * Fixing tests * Address mike's comments * Fixing tests * Make random port allocation internal * Update api * Update api |
||
---|---|---|
.. | ||
attachment-demo | ||
bank-of-corda-demo | ||
irs-demo | ||
network-visualiser | ||
notary-demo | ||
simm-valuation-demo | ||
trader-demo | ||
README.md |
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)