corda/samples
Chris Rankin a7147c1ffd ENT-4652: Provide an "attachment fixup" mechanism to repair broken transactions. (#5825)
* 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.
2020-01-14 15:18:51 +00:00
..
attachment-demo CORDA-3360 Add nodeInfo permissions to web user 2019-10-23 09:58:59 +01:00
bank-of-corda-demo CORDA-3091: Move executor thread management into CordaRPCConnection (#5491) 2019-09-26 17:48:07 +01:00
cordapp-configuration CORDA-3024 Rename the webserver (#5489) 2019-09-26 10:20:49 +01:00
irs-demo CORDA-3346: Remove the JitPack repository from Corda. 2019-10-21 13:15:03 +01:00
network-verifier CORDA-3369 fix samples readme 2019-10-30 16:30:18 +00:00
notary-demo ENT-4610 Move tx signing to the Uniqueness provider (#5773) 2019-11-29 17:30:33 +00:00
simm-valuation-demo ENT-4652: Provide an "attachment fixup" mechanism to repair broken transactions. (#5825) 2020-01-14 15:18:51 +00:00
trader-demo Merge branch 'release/4' into jlocke/merge_4.1_20190827 2019-08-27 14:51:22 +01:00
README.md CORDA-3370 Remove Network visualiser reference 2019-10-30 16:45:33 +00: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.
  • 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.