kava Node Snapshot

Chain ID:

kava_2222-10

|

Current Node Version:

0.26.0

LATEST

BLOCK HEIGHT

SIZE

TIMESTAMP

DOWNLOAD

10,623,899

24 GiB

1 hours ago

kava_10623899.tar.lz4

10,621,963

21 GiB

4 hours ago

kava_10621963.tar.lz4

kava 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 Kava. 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 kava Snapshot

Install lz4 if needed

sudo apt update
sudo apt-get install lz4


download the snapshot

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

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


Stop your node

sudo systemctl stop kava


Reset your node

kava unsafe-reset-all
or
kava tendermint unsafe-reset-all


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

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

# Option 2
lz4 -c -d kava_10621963.tar.lz4 | tar -x -C $HOME/.kava


Start your node

sudo systemctl start kava
sudo journalctl -u kava -f


ADVANCED COMMAND :

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

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