Configuration
This document explains the configurable properties of the node. Klaytn node package ships with good defaults and requires very little configuration. If you changed any settings of a running node, you must restart the node to reflect the changes.
CN Configuration File location
kcnd.conf
for configuring the Consensus Node
The configuration file is located in the conf
directory, whose default location depends on whether or not the installation is from an archive distribution (tar.gz
) or a package distribution (RPM).
For the archive distribution, the config directory location defaults to
$INSTALL_PATH/kcn-linux-amd64/conf/
.For the package distribution, the config directory defaults to
/etc/kcnd/conf/
.
PN Configuration File location
kpnd.conf
for configuring the Proxy Node
The configuration file is located in the conf
directory, whose default location depends on whether or not the installation is from an archive distribution (tar.gz
) or a package distribution (RPM).
For the archive distribution, the config directory location defaults to
$INSTALL_PATH/kpn-linux-amd64/conf/
.For the package distribution, the config directory defaults to
/etc/kpnd/conf/
.
EN Configuration File location
kend.conf
for configuring the Endpoint Node
The configuration file is located in the conf
directory, whose default location depends on whether or not the installation is from an archive distribution (tar.gz
) or a package distribution (RPM).
For the archive distribution, the config directory location defaults to
$INSTALL_PATH/ken-linux-amd64/conf/
.For the package distribution, the config directory defaults to
/etc/kend/conf/
.
Configuration File Format
CN and PN have the same configuration file format and the properties.
Below is a sample configuration file for the CN that participates in the cypress
network and stores the blockchain data in the default location, which is ~/kcnd_home
with the archive distribution, /var/kcnd/data
with the package distribution.
The recommended txpool sizes for CN are as follows.
The recommended txpool sizes for PN are as follows.
The recommended txpool sizes for EN are as follows.
Properties
The configuration file has the following configurable properties. CN and PN configuration files have the same properties except REWARDBASE.
Last updated