kichain Node Snapshot

Chain ID:

kichain-2

|

Current Node Version:

Mainnet-5.0.2

LATEST

BLOCK HEIGHT

SIZE

TIMESTAMP

DOWNLOAD

21,578,692

674 MiB

7 hours ago

kichain_21578692.tar.lz4

21,576,758

635 MiB

10 hours ago

kichain_21576758.tar.lz4

kichain Snapshot Server Setup

We make a snapshot of one node every 3 hours. Then we delete all the previous snapshots to free up space on the file server.

Snapshot is designed to allow node operators to run efficient nodes on the Kichain. To make the snapshot as small as possible while being executable as a validator, use the following settings to save disk space: Tendermint chain storage grows over time regardless of pruning, so periodically synchronizing snapshots can be helpful. Because snapshot nodes are periodically synchronized with their state, snapshot sizes can be surprisingly small.


config/app.toml

# Prune Type
pruning = "custom"

# Prune Strategy
pruning-keep-recent = "100"
pruning-keep-every = "0"
pruning-interval = "10"


config/config.toml

indexer = "null"

How To Process kichain Snapshot

Install lz4 if needed

sudo apt update
sudo apt-get install lz4


download the snapshot

# Option 1 (latest)
wget -O kichain_21578692.tar.lz4 https://snapshots.mkv.one/mainnet/kichain/kichain_21578692.tar.lz4 --inet4-only

# Option 2
wget -O kichain_21576758.tar.lz4 https://snapshots.mkv.one/mainnet/kichain/kichain_21576758.tar.lz4 --inet4-only


Stop your node

sudo systemctl stop kid


Reset your node

kid unsafe-reset-all
or
kid tendermint unsafe-reset-all


Decompress the snapshot to your database location. Your database location will be something to the effect of ~/.kid depending on your node implementation.

# Option 1(latest)
lz4 -c -d kichain_21578692.tar.lz4 | tar -x -C $HOME/.kid

# Option 2
lz4 -c -d kichain_21576758.tar.lz4 | tar -x -C $HOME/.kid


Start your node

sudo systemctl start kid
sudo journalctl -u kid -f


ADVANCED COMMAND :

# Option 1 (latest)
curl -o - -L https://snapshots.mkv.one/mainnet/kichain/kichain_21578692.tar.lz4 | lz4 -c -d - | tar -x -C $HOME/.kid

# Option 2
curl -o - -L https://snapshots.mkv.one/mainnet/kichain/kichain_21576758.tar.lz4 | lz4 -c -d - | tar -x -C $HOME/.kid