mirror of
https://github.com/corda/corda.git
synced 2024-12-30 01:39:04 +00:00
88894bc592
* add a shared memory port allocator to allow multiple processes to share a single allocation pool * remove dangerous reset function on port allocator * set forkCount = 2 in node integration test * only allow one build of a cordapp at any given time for Driver tests * make all portallocation requests use same starting point * globally set forks to 6 * tweak forking parameters to allow parallel builds * tweak unit test parallelism * 2 workers for integrationTest * some more tweaks for parallel builds * some more tweaks for parallel builds * seems that 49K is not the start of ephemeral ports on all kernels * tweak parallel settings * try fix RPC shutdown test in parallel env * add some logging for RPC shutdown test * added some logging around PortAllocation tests - try figure out where they are getting stuck * added some logging around PortAllocation tests - try figure out where they are getting stuck * fix api-scanner tests * minimize api changes * revert to complying with existing API * add the AtomicInteger for api compatibility reasons * make sizing script executable * address review comments pt1 * address review comments pt2 * fix compile errors after review comments * return to using home dir as temp dir seemed to interact badly with gradle |
||
---|---|---|
.. | ||
attachment-demo | ||
bank-of-corda-demo | ||
cordapp-configuration | ||
irs-demo | ||
network-verifier | ||
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)