odin Node Snapshot
Chain ID:
odin-mainnet-freya
|
Current Node Version:
0.11.0
LATEST | BLOCK HEIGHT | SIZE | TIMESTAMP | DOWNLOAD |
---|---|---|---|---|
| 18,405,238 | 14 GiB | 8 mins ago | |
18,403,183 | 14 GiB | 3 hours ago |
odin 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 Odin. 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 odin Snapshot
Install lz4 if needed
sudo apt update
sudo apt-get install lz4
download the snapshot
# Option 1 (latest)
wget -O odin_18405238.tar.lz4 https://snapshots.mkv.one/mainnet/odin/odin_18405238.tar.lz4 --inet4-only
# Option 2
wget -O odin_18403183.tar.lz4 https://snapshots.mkv.one/mainnet/odin/odin_18403183.tar.lz4 --inet4-only
Stop your node
sudo systemctl stop odind
Reset your node
odind unsafe-reset-all
or
odind tendermint unsafe-reset-all
Decompress the snapshot to your database location. Your database location will be something to the effect of ~/.odind depending on your node implementation.
# Option 1(latest)
lz4 -c -d odin_18405238.tar.lz4 | tar -x -C $HOME/.odind
# Option 2
lz4 -c -d odin_18403183.tar.lz4 | tar -x -C $HOME/.odind
Start your node
sudo systemctl start odind
sudo journalctl -u odind -f
ADVANCED COMMAND :
# Option 1 (latest)
curl -o - -L https://snapshots.mkv.one/mainnet/odin/odin_18405238.tar.lz4 | lz4 -c -d - | tar -x -C $HOME/.odind
# Option 2
curl -o - -L https://snapshots.mkv.one/mainnet/odin/odin_18403183.tar.lz4 | lz4 -c -d - | tar -x -C $HOME/.odind