node.conf
in the nodeβs directory. For details see Node configuration.p2pAddress
: It specifies a host and port to which Artemis will bind formy-corda-node
, but rather ::
(all addresses on all network interfaces). The hostname must be externally resolvable by other nodes in the network. In the above configuration, this is the resolvable name of a machine in a VPN.rpcAddress
: The address to which Artemis will bind for RPC calls.webAddress
: The address the webserver should bind. Note that the port must be distinct from that of p2pAddress
and rpcAddress
if they are on the same machine.additional-node-infos
directory from where the node will pick them up and store them in its local network map-cache. The node generates its own node-info file on startup.gradlew buildBootstrapperJar
tools/bootstrapper/build/libs/
.node.conf
file for each node you want to create. Then, run the following command:java -jar network-bootstrapper.jar <nodes-root-dir>
additional-node-infos
directory. A simple way to do this is to use rsync.Contract
classes. By default, the tool will generate a file named whitelist.txt
containing an entry for each contract with the hash of the jar.whitelist.txt
file in the root dir already, the tool will append the new jar hashes or contracts to it.exclude_whitelist.txt
, which contains a list of contracts that should not be whitelisted, and thus default to the very restrictive: HashAttachmentConstraint
Node started up and registered
, indicating that the node is fully started.NODE_DIRECTORY/logs/
.