Joining a Mainnet
This document outlines the steps to join an existing mainnet
Pick a Testnet
You specify the network you want to join by setting the genesis file and seeds. If you need more information about past networks, check our mainnet repo.
Network Chain ID | Description | Site | Version |
---|---|---|---|
| Uptick mainnet |
Install uptickd
uptickd
Follow the installation document to install the Uptick binary uptickd
.
warning Make sure you have the right version of uptickd
installed.
Save Chain ID
We recommend saving the mainnet chain-id
into your uptickd
's client.toml
. This will make it so you do not have to manually pass in the chain-id
flag for every CLI command.
See the Official Chain IDs for reference.
Initialize Node
We need to initialize the node to create all the necessary validator and node configuration files:
Start testnet
The final step is to start the nodes. Once enough voting power (+2/3) from the genesis validators is up-and-running, the testnet will start producing blocks.
You may see some connection errors, it does not matter, the P2P network is trying to find available connections
Try to add some of the Community Peers to persistent_peers in the config.toml
If you want to quickly start the node and join Uptick without historical data, you can consider using the state_sync function.
Status Sync
To quickly get started, node operators can choose to sync via State Sync. State Sync works by replaying larger chunks of application state directly rather than replaying individual blocks or consensus rounds.
The newest state sync configs can be found here. Please remember to modify state sync configs.
Run a Validator
Confirm your node has caught-up
For more details on how to configure your validator, follow the validator setup instructions.
Upgrading Your Node
NOTE: These instructions are for full nodes that have ran on previous versions of and would like to upgrade to the latest testnet.
Reset Data
warning If the version <new_version> you are upgrading to is not breaking from the previous one, you should not reset the data. If this is the case you can skip to Restart
First, remove the outdated files and reset the data.
Your node is now in a pristine state while keeping the original priv_validator.json
and config.toml
. If you had any sentry nodes or full nodes setup before, your node will still try to connect to them, but may fail if they haven't also been upgraded.
Warning Make sure that every node has a unique priv_validator.json
. Do not copy the priv_validator.json
from an old node to multiple new nodes. Running two nodes with the same priv_validator.json
will cause you to double sign.
Restart
To restart your node, just type:
State Syncing a Node
If you want to join the network using State Sync (quick, but not applicable for archive nodes), check our State Syncpage
Last updated