mirror of
https://github.com/corda/corda.git
synced 2025-06-14 21:28:14 +00:00
Minor tweaks to the configuration docs: make the use of : and = consistent, rename titles
This commit is contained in:
@ -1,8 +1,8 @@
|
|||||||
The Corda configuration file
|
Node configuration
|
||||||
============================
|
==================
|
||||||
|
|
||||||
Location
|
File location
|
||||||
--------
|
-------------
|
||||||
|
|
||||||
The Corda all-in-one ``corda.jar`` file is generated by the ``gradle buildCordaJAR`` task and defaults to reading configuration from a ``node.conf`` file in the present working directory.
|
The Corda all-in-one ``corda.jar`` file is generated by the ``gradle buildCordaJAR`` task and defaults to reading configuration from a ``node.conf`` file in the present working directory.
|
||||||
This behaviour can be overidden using the ``--config-file`` command line option to target configuration files with different names, or different file location (relative paths are relative to the current working directory).
|
This behaviour can be overidden using the ``--config-file`` command line option to target configuration files with different names, or different file location (relative paths are relative to the current working directory).
|
||||||
@ -24,11 +24,11 @@ Examples
|
|||||||
General node configuration file for hosting the IRSDemo services.
|
General node configuration file for hosting the IRSDemo services.
|
||||||
|
|
||||||
.. literalinclude:: example-code/src/main/resources/example-node.conf
|
.. literalinclude:: example-code/src/main/resources/example-node.conf
|
||||||
:language: cfg
|
:language: javascript
|
||||||
|
|
||||||
NetworkMapService plus Simple Notary configuration file.
|
NetworkMapService plus Simple Notary configuration file.
|
||||||
|
|
||||||
.. code-block:: text
|
.. parsed-literal::
|
||||||
|
|
||||||
basedir : "./nameserver"
|
basedir : "./nameserver"
|
||||||
myLegalName : "Notary Service"
|
myLegalName : "Notary Service"
|
||||||
@ -39,9 +39,9 @@ NetworkMapService plus Simple Notary configuration file.
|
|||||||
webAddress : "localhost:12346"
|
webAddress : "localhost:12346"
|
||||||
extraAdvertisedServiceIds: ""
|
extraAdvertisedServiceIds: ""
|
||||||
useHTTPS : false
|
useHTTPS : false
|
||||||
devMode = true
|
devMode : true
|
||||||
// Certificate signing service will be hosted by R3 in the near future.
|
// Certificate signing service will be hosted by R3 in the near future.
|
||||||
//certificateSigningService = "https://testnet.certificate.corda.net"
|
//certificateSigningService : "https://testnet.certificate.corda.net"
|
||||||
|
|
||||||
Fields
|
Fields
|
||||||
------
|
------
|
||||||
|
@ -17,6 +17,6 @@ useHTTPS : false
|
|||||||
rpcUsers : [
|
rpcUsers : [
|
||||||
{ user=user1, password=letmein, permissions=[ StartProtocol.net.corda.protocols.CashProtocol ] }
|
{ user=user1, password=letmein, permissions=[ StartProtocol.net.corda.protocols.CashProtocol ] }
|
||||||
]
|
]
|
||||||
devMode = true
|
devMode : true
|
||||||
// Certificate signing service will be hosted by R3 in the near future.
|
// Certificate signing service will be hosted by R3 in the near future.
|
||||||
//certificateSigningService = "https://testnet.certificate.corda.net"
|
//certificateSigningService : "https://testnet.certificate.corda.net"
|
Reference in New Issue
Block a user