2018-12-28 17:19:07 +00:00
|
|
|
Node folder structure
|
2019-01-08 13:49:29 +00:00
|
|
|
=====================
|
2018-04-30 14:19:59 +00:00
|
|
|
|
2019-01-14 10:55:39 +00:00
|
|
|
A folder containing a Corda node files has the following structure:
|
2018-04-30 14:19:59 +00:00
|
|
|
|
|
|
|
.. sourcecode:: none
|
|
|
|
|
|
|
|
.
|
|
|
|
├── additional-node-infos // Additional node infos to load into the network map cache, beyond what the network map server provides
|
|
|
|
├── artemis // Stores buffered P2P messages
|
|
|
|
├── brokers // Stores buffered RPC messages
|
|
|
|
├── certificates // The node's certificates
|
2018-12-28 17:19:07 +00:00
|
|
|
├── corda-webserver.jar // The built-in node webserver (DEPRECATED)
|
2019-01-14 10:55:39 +00:00
|
|
|
├── corda.jar // The core Corda libraries (This is the actual Corda node implementation)
|
2018-04-30 14:19:59 +00:00
|
|
|
├── cordapps // The CorDapp JARs installed on the node
|
2018-06-19 09:57:49 +00:00
|
|
|
├── drivers // Contains a Jolokia driver used to export JMX metrics, the node loads any additional JAR files from this directory at startup.
|
2018-12-28 17:19:07 +00:00
|
|
|
├── logs // The node's logs
|
2018-04-30 14:19:59 +00:00
|
|
|
├── network-parameters // The network parameters automatically downloaded from the network map server
|
|
|
|
├── node.conf // The node's configuration files
|
|
|
|
├── persistence.mv.db // The node's database
|
|
|
|
└── shell-commands // Custom shell commands defined by the node owner
|
|
|
|
|
2018-09-27 08:16:17 +00:00
|
|
|
You install CorDapps on the node by placing CorDapp JARs in the ``cordapps`` folder.
|
2018-04-30 14:19:59 +00:00
|
|
|
|
2018-09-27 08:16:17 +00:00
|
|
|
In development mode (i.e. when ``devMode = true``), the ``certificates`` directory is filled with pre-configured
|
|
|
|
keystores if they do not already exist to ensure that developers can get the nodes working as quickly as
|
|
|
|
possible.
|
|
|
|
|
|
|
|
.. warning:: These pre-configured keystores are not secure and must not used in a production environments.
|
|
|
|
|
|
|
|
The keystores store the key pairs and certificates under the following aliases:
|
|
|
|
|
|
|
|
* ``nodekeystore.jks`` uses the aliases ``cordaclientca`` and ``identity-private-key``
|
|
|
|
* ``sslkeystore.jks`` uses the alias ``cordaclienttls``
|
|
|
|
|
|
|
|
All the keystores use the password provided in the node's configuration file using the ``keyStorePassword`` attribute.
|
|
|
|
If no password is configured, it defaults to ``cordacadevpass``.
|
|
|
|
|
|
|
|
To learn more, see :doc:`permissioning`.
|
2018-04-30 14:19:59 +00:00
|
|
|
|