corda/samples/trader-demo
Katarzyna Streich 495e870b74 NodeInfo remove main identity (#1284)
* Remove node's main identitiy from NodeInfo.

Preparation for getting rid of services + supporting multiple identities
on the node.
NodeInfo keeps multiple identities as a list. For now the first one is treated as a special one.
Introduced function chooseIdentity in CoreTestUtils as a preparation for proper handling of multiple identities in the future.
Remove legalIdentityKey from ServiceHub, add extension function - chooseIdentity on ServiceHub.
Add `me` field on FlowStateMachineImplemetation, flows should know what the calling identity is.
Remove SERVICES_PREFIX in artemis messaging layer.

* Address minor comments.

* Fixes after rebase.

Remove chooseIdentity from ServiceHub

* Rename me to ourIdentity on FlowLogic

* Fixes after rebase

* Address Ross comments, fixes

* Fix after rebase

* Fix services certificate paths

Apply Patrick's patch.
2017-09-15 14:39:34 +01:00
..
src NodeInfo remove main identity (#1284) 2017-09-15 14:39:34 +01:00
build.gradle Replace X500Name with CordaX500Name (#1447) 2017-09-12 01:03:10 +01:00
README.md Bank of Corda integration with Trader Demo and Explorer 2016-12-22 15:55:50 +00:00

Trader Demo

This code demonstrates four nodes, a notary, an issuer of cash (Bank of Corda), and two parties trading with each other, exchanging cash for a commercial paper.

Please see the either the online documentation for more info on the attachment demo, or the included offline version.