Snapshot
Get synced with the network quickly using our daily snapshots
Chain ID: kaiyo-1
Node Version: 0.8.4
Pre-requisite Setup
Configure the pruning settings as follows: app.toml
pruning = "custom"
pruning-keep-recent = "100"
pruning-keep-every = "0"
pruning-interval = "10"config.toml
indexer = "null"Install lz4 if not already installed. This guide assumes that a Debian based OS is used:
sudo apt update &&\
sudo apt install -y snapd &&\
sudo snap install lz4Stop the node. If not using cosmovisor to manage the kujira daemon, use whatever service you use to manage the kujira daemon
sudo systemctl cosmovisor stopReset the node. Depending on the chain, this can be done in one of two ways.
WARNING: While this should not wipe the priv_validator_key.json file, you should back up this key on validators prior to running the following commands.
# On some tendermint chains, use this command to reset the node database
kujirad tendermint unsafe-reset-all --home $HOME/.kujira
# On other tendermint chains, use this command if the above command did not work
kujirad unsafe-reset-allBasic Setup
Download the latest snapshot:
wget $(wget -q -O - https://eu2.contabostorage.com/3a857da4bd64407caf5c7a4f9af739b7:relyte-snapshots/kujira_mainnet%2Flatest)Extract the snapshot to the database location:
lz4 -c -d kujira_*.tar.lz4 | tar -x -C $HOME/.kujiraRestart the node assuming no errors were thrown while extracting the snapshot:
sudo systemctl cosmovisor startRemove the snapshot archive to free up disk space
rm -v kujira_*.tar.lz4Make sure that the node is running without issues
sudo systemctl status cosmovisor
sudo journalctl -fu cosmovisor -o catAdvanced Setup (Recommended)
This method requires less disk space than the previous method and is less commands overall.
Download and unarchive the snapshot to the database directory
wget -O - $(wget -q -O - https://eu2.contabostorage.com/3a857da4bd64407caf5c7a4f9af739b7:relyte-snapshots/kujira_mainnet%2Flatest) | lz4 -c -d - | tar -x -C $HOME/.kujiraMake sure that the node is running without issues
sudo systemctl status cosmovisor
sudo journalctl -fu cosmovisor -o catLast updated