block-quote On this pagechevron-down
copy Copy chevron-down
Testnets chevron-right Initia Snapshot 为了提高节点的同步速度,我们每天都提供最新的快照。
In order to increase the synchronization speed of block nodes, we provide the latest snapshot every day.
Copy curl -C - -OL https://snapshot.kubenode.xyz/testnet/initia/initia_latest.tar.lz4
等待快照下载然后停止节点。
Wait for the snapshot to download and then stop the node.
Copy sudo systemctl stop initiad
接下来我们需要清除节点的旧数据。我们建议您备份~/.initia/config/priv_validator_key.json,并确保没有其他正在运行的节点使用此文件,否则可能会导致双重签名,您的验证者将被永久监禁。
Next we need to clear the old data of the node. We recommend that you back up ~/.initia/config/priv_validator_key.json and make sure no other running nodes use this file , otherwise it may cause double signing and your validator will be jailed permanently.
Copy mkdir -p /backup/initia/
cp ~/.initia/config/priv_validator_key.json /backup/initia/
initiad tendermint unsafe-reset-all --home ~/.initia --keep-addr-book
将快照解压到 initia 目录。
Decompress the snapshot to the initia directory.
Copy lz4 -c -d initia_latest.tar.lz4 | tar -x -C $HOME/.initia
一切完成后重启节点,并检查日志是否正常。
After everything is done, restart the node and check whether the log is normal.