You can use the node snapshot below to get the block height
according to the latest snapshot file we uploaded, we usually
update the snapshot every 12/24 hours "UTC". With node
snapshots, you can save storage space and time to sync your
nodes.
Our Prune Configuration
pruning = "custom"
# applied pruning strategy
pruning-keep-recent = "100"
pruning-interval = "10"
Snapshot Info
Wasm file
Instructions with terminal
Note*
- If snapshot info doesn't show data, it means our server is down.sudo apt install lz4 -y
sudo systemctl stop marsd
systemctl --user stop marsd
For Validator node
# default path
# $HOME/.mars/config/priv_validator_key.json
cp $HOME/.mars/data/priv_validator_state.json $HOME/.mars/priv_validator_state.json.bak
marsd tendermint unsafe-reset-all --home $HOME/.mars --keep-addr-book
rm -r $HOME/.mars/wasm
curl -o - -L https://snapshot-at-1.genznodes.dev/mars/Not-Available | lz4 -c -d - | tar -x -C $HOME/.mars
mv $HOME/.mars/priv_validator_state.json.bak $HOME/.mars/data/priv_validator_state.json
sudo systemctl restart marsd
journalctl -fu marsd -o cat
systemctl --user restart marsd
journalctl --user -fu marsd -o cat