corda/samples/irs-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 Starting new pull request - previous one had conflict errors 2016-11-29 16:52:07 +00:00

IRS Demo

This code demonstrates an Interest Rate Swap agreement between two banks, confirming the transaction utilising the services of a notary and then retrieving and applying interest rates from an oracle service.

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