mirror of
https://github.com/corda/corda.git
synced 2024-12-18 20:47:57 +00:00
472ecc65c6
Work on database backed NetworkMapCache Make NodeInfo JPA entity. Enable node startup with it's database network map cache. Fix schema. Make node not wait for finishing network map service registration if it successfully loaded data from database. Add tests for startup without NetworkMapService. * Rename networkMapRegistrationFuture Change networkMapRegistrationFuture to nodeReadyFuture, it no longer indicates the NetworkMapService registration, because we are able to run network without map service configured. * Partially integrate database into NetworkMapCache Full integrtion will come with service removal. Move MockServiceHubInternal to net.corda.node.testing * Add workaround to transaction scope race Temporary workaround to force isolated transaction (otherwise it causes race conditions when processing network map registration on network map node). * Remove WorldMapLocation from NodeInfo Infer the node's location based on X500 name Add serial number on NodeInfo For tests of running without NetworkMap, start nodes with nonexistent NetworkMap address Make clearNetworkMapCache callable via RPC. |
||
---|---|---|
.. | ||
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)