Latest snapshot: download (91 GB, md5sum 0b23a48b0d6585690350e91b0f6c9f14)
The following commands are step by step instructions for Tao masternode operators that can be used for two major use-cases:
- Fixing nodes that are stuck; evidenced by a node that stays on a block and doesn't progress
- Jumpstarting a newly setup masternode; avoid waiting a week for synchronization
Basically, you download a compressed version of the last-known "good" chaindata. This comes from Tao Ptd on a weekly basis. You remove the nodes old data and update it with the newly downloaded data. Finally you restart the sync-process from this known-good checkpoint.
Note: Assure that you have enough disk space for both the tar file AND its uncompressed contents. Double the space or more.
# Login as user that has access to taomn # Download Tao's chaindata archive (make sure you have enough disk space available) wget -c https://chaindata.tao.network/20190813.tar -P /tmp # Stop your node (for taomn users) taomn stop # or in the node folder (for docker-compose users) docker-compose stop # Find the name of your volume docker volume ls # Remove your node old data sudo rm -rf /var/lib/docker/volumes/NAME_OF_YOUR_VOLUME/_data/data/tao/chaindata # Find the name of your volume docker volume ls # Extract the data cd /tmp sudo tar xvC /var/lib/docker/volumes/NAME_OF_YOUR_VOLUME/_data/data/tao/ -f 20190813.tar # Start your node back(for taomn users) taomn start # or in the node folder (for docker-compose users) docker-compose start # If you're really running out of space, remove the tar file # keeping it might be a good idea if you get stuck further before a new snapshot is released rm /tmp/20190813.tar
Tip: extract the data in backgroud
In case you can not wait for the extraction finish, you can run it in the background
nohup tar xvC /var/lib/docker/volumes/NAME_OF_YOUR_VOLUME/_data/data/tao/ -f 20190813.tar &