Running the Node
Instructions to start the node and productionize it are provided below.
After completing the installation steps , it is time to run the node. The first step is to obtain the genesis file. It can be downloaded from Exocore’s testnets repository.
It is also recommended to verify that the genesis file generated from the bootstrap contract matches the one above; however, that is out of scope for this document.
Starting the Node
Start your node and test it out. Validators must also set up and run the oracle price feeder tool as described on the previous page.
If you get a panic: staking param <xxxx> not found in assets module
error, follow FAQ 8.
Checking Node Status
You can check the status of your node at anytime. However, the output you should expect will change depending on whether your node is started before the network launch or after it.
Before the Network Launches
Exocore's bootstrap contract provides an offset duration (of 24 hours) before the network’s spawn time to provide enough time for the initial validator set to come online. If you’re one of them and you’re on time, you should see something like this in the logs.
You should also be able to see if you’re in the initial validator set.
If you have both of those lines, it means that everything is working and you simply need to launch Exocore as a systemd service.
After the Network has Launched
It may take some time for the node to establish connection with the seeds and obtain peers; however, once that is done, you will see multiple lines containing executed block
You can query the block height and see it increasing.
To check if the node is fully synced, use the following. If true
is reported, it means that the node is behind the network
Next, terminate the process (Ctrl + C) before productionizing it.
Systemd service
First, create a user for added security and give it ownership of the home directory. This walk-through uses exocoreuser
to demonstrate.
Then, create the service file in /etc/systemd/system/exocore.service
.
Finally, run the service
Then again check that the block height is increasing.
Error during syncing with testnet v5
Due to a bug in exocored
version 1.0.3, an error similar to the one below will be seen around block number 7334525.
When that happens, the following steps can be used to remedy the situation.
Stop the node
Rollback the node, using the 1.0.4 binary, by executing
exocored rollback --home $HOMEDIR
Start the node with the 1.0.4 binary
Last updated