Renames Controller to NetworkMapAndNotary, in line with templates and example CorDapp.

This commit is contained in:
Joel Dudley
2018-01-25 15:14:32 +00:00
committed by GitHub
parent 371cb0a081
commit 471907366b
3 changed files with 17 additions and 17 deletions

View File

@ -78,9 +78,9 @@ nodes. Here is an example ``Cordform`` task called ``deployNodes`` that creates
task deployNodes(type: net.corda.plugins.Cordform, dependsOn: ['jar']) {
directory "./build/nodes"
networkMap "O=Controller,L=London,C=GB"
networkMap "O=NetworkMapAndNotary,L=London,C=GB"
node {
name "O=Controller,L=London,C=GB"
name "O=NetworkMapAndNotary,L=London,C=GB"
// The notary will offer a validating notary service.
notary = [validating : true]
p2pPort 10002
@ -114,7 +114,7 @@ nodes. Here is an example ``Cordform`` task called ``deployNodes`` that creates
Running this task will create three nodes in the ``build/nodes`` folder:
* A ``Controller`` node that:
* A ``NetworkMapAndNotary`` node that:
* Serves as the network map
* Offers a validating notary service
@ -123,7 +123,7 @@ Running this task will create three nodes in the ``build/nodes`` folder:
* ``PartyA`` and ``PartyB`` nodes that:
* Are pointing at the ``Controller`` as the network map service
* Are pointing at the ``NetworkMapAndNotary`` as the network map service
* Are not offering any services
* Will have a webserver (since ``webPort`` is defined)
* Are running the ``corda-finance`` CorDapp