Configuration
The EN configuration is to create a data directory and to set up the environment variables on the configuration file kend.conf
.
Create the EN data directory.
Configure the EN with
kend.conf
.
EN Data Directory Creation
Considering the fact that the size of Klaytn blockchain data keeps increasing, it is recommended to use a big enough storage. You need to create the directory on your desired path.
Update the Configuration File
Configuration File Location:
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/
.
Add Data Directory
You should update the data directory environment variable $DATA_DIR
on the configuration file kend.conf
.
Fast Sync (Optional)
Each EN maintains a copy of the network's chain data. If a node is out of sync, it can obtain this data from other nodes in the network -- a process known as syncing. When a new EN is first started, it must download the entire chain data from the network.
To accelerate this process, you may perform a fast sync by downloading a snapshot of the chain data before starting the EN. This can dramatically reduce the time the EN will spend syncing on first start.
For example:
Or,
After the data is extracted, you may start the EN normally.
Last updated