You can download an addressbook to get connected to peers faster here. Place this file in your .gaiad/config folder and restart your node to take effect.
mv addrbook.cosmos.json addrbook.json
Requires that you have Ansible installed and have root/sudo privileges.
* Please use pruning = default when using pruned snapshots, it will most like break if you use pruning = everything
git clone https://github.com/chainlayer/quicksync-cosmos
vim group_vars/cosmos.yml # edit your cosmos information here
vim ansible-hosts.yml # edit your hosts here
# The quicksync for the smallest download runs approximately 30 minutes based on your region and download speed.
# You can check the progress of the download on the destination server with
# `tail aria.log`
# Stop Cosmos Daemon first
sudo apt-get update -y
sudo apt-get install wget liblz4-tool aria2 -y
sudo su - [cosmosuser]
# change network to default/pruned/archive depending on your needs
URL=`curl -L https://quicksync.io/cosmos.json|jq -r '. |select(.file=="cosmoshub-4-default")|.url'`
aria2c -x5 $URL
OR (single thread but no double space needed on harddisk and no option for checksum)
wget -O - $URL | lz4 -d | tar -xvf -
# Compare checksum with onchain version. Hash can be found at $URL.hash
curl -s https://lcd-cosmos.cosmostation.io/txs/`curl -s $URL.hash`|jq -r '.tx.value.memo'|sha512sum -c
./checksum.sh `basename $URL`
lz4 -d `basename $URL` | tar xf -
# Start Cosmos Daemon
Making a SHA-512 of the complete download takes a long time, so instead we make a SHA-512 hash of every 1st MB block every 1GB. These hashes are then stored in a checksum file. The hash of that checksum file is stored onchain on the cosmos account as a memo. So in short you can verify the SHA-512 of the checksum file by looking up the transaction hash on-chain. Then you can use the checksum file to validate the download. A checksum.sh script is provided to do so.
Quicksync considerably improves the time it takes to re-sync nodes to the current block. We achieve this by creating various compressed archives that we deliver from high-performance services. The service is crucial for validators and other service providers who require fast deployments or quick recovery of existing services.