Vota Snapshot
How to use Vota snapshot
Install LZ4 (opens in a new tab) if needed
sudo apt update
sudo apt install snapd -y
sudo snap install lz4Stop your node
sudo systemctl stop doradDownload the latest doravota and compile dorad
You should check that you have deleted your local doravota source code and download the latest version.
rm -rf doravota
git clone https://github.com/DoraFactory/doravota.git
cd doravota && git checkout 0.4.2⚠️
The repo commit hash is
d5a7bfb (opens in a new tab). Please
check it before you build the source code.
make installClean your local environment
Since Vota has enabled WASM and its /wasm folder is outside the data folder, ensure you have a clean start by deleting your /wasm folder and /data folder manually.
rm -rf $HOME/.dora/data $HOME/.dora/wasmDue to the restart of a new P2P network environment, you also need to remove the old addrbook.json and add new peer nodes to you ~/.dorad/config/config.toml to ensure smooth data synchronization.
rm ~/.dora/config/addrbook.json
PEERS="d49defb23a75ff08c924622e3a2f69280983fed7@13.215.46.25:26656,d6e42c70316e354dcb44fd3a86e97b64fa99fc5e@54.179.177.80:26656,220204926f8da0e197572d458e205608306f1ed1@54.251.131.190:26656" && sed -i 's|^seeds *=.*|seeds = "'$PEERS'"|' $HOME/.dora/config/config.toml && sed -i 's|^persistent_peers *=.*|persistent_peers = "'$PEERS'"|' $HOME/.dora/config/config.tomlDownload and decompress the snapshot
curl https://df-node-dump.s3.ap-southeast-1.amazonaws.com/dora_5523326.tar.lz4 | lz4 -dc - | tar -xf - -C $HOME/.doraFor the mainnet, you can also use other snpshot: Polkachu Snapshot (opens in a new tab) or ITRocket Snapshot (opens in a new tab)
Restart your node
Double check everything you have done.
sudo systemctl restart dorad && sudo journalctl -u dorad -f