mirror of
https://github.com/corda/corda.git
synced 2024-12-19 04:57:58 +00:00
a7147c1ffd
* Do not register cordapp custom serialisers when using attachment classloader. * Record the URLs of CorDapp JARs that contain custom serialisers. Include these JARs as extra attachments if we discover that we're missing a custom serialiser during transaction verification. * Check for disabled serializer when explicitly requesting a custom serializer. Refactor test case to force use of a custom serializer. * Tidy up basic custom serializer test. * Also test that TransactionBuilder rejects missing custom serializers. * Remove test whitelists, which should not be needed with custom serialisers. * Add changelog entry. Also align TestCordappImpl.findRoots() with OS backports. * Second approach based around CorDapps inside AttachmentStorage - report missing type descriptor or any non-composable types. * Initial implementation of Corda-Fixup rules inside a CorDapp jar. * Replace original "automatic attachment fixing" mechanism completely. * First review comments: restore "missing class" logic to TransactionBuilder. * Restore "missing class" mechanism as fallback for SignedTransaction too. |
||
---|---|---|
.. | ||
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.
- 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)
- network-verifier A very simple CorDapp that can be used to test that communication over a Corda network works.