Please note that this repository has been deprecated and snapshots should be obtained from pocket-snapshotter
Snapshots for pocket blockchain data
This snapshots take places every 12 hours and current name format for them is pocket-network-data-hhdd-rc-x.x.x.x
for both .tar and .tar.gz respectively
Also, every 12 hours all of our example and download links gets updated via a script so you always get the latest one. If for any reason the latest doesn't work. you can feel free to take a old snapshot from the commit history
Below are the mechanisms in order to download a snapshot of our datadir using storj
Extracts the .tar on the fly without needing 2x the space
cd node1/data
wget -qO- https://link.us1.storjshare.io/raw/jwfbmq6ar3vsyzeqkconsiz24sja/pocket-public-blockchains/pocket-network-data-0026-rc-0.6.3.6.tar | tar xvf -
This method requires 2x of the space required for the blockchain data. But it's the most fastest download method
We assume you have downloaded uplink and that you exported the env variable below:
export UPLINK_DOWN=147A7s3UVY6g4DhxdatsM7QMofNBJJfvcq5w9XuYjU2HrmEbr4JSbRy3NQu3mijqk7T8in1PYEAdcf11dd5yhJ4eDAn4UMppBgqcN49f2tHVcGhRV2McpvyTm4U22uXH35h14JA1YXiGdUFDss7ThTnFnPYY8uRTxmtG2UrdW9LZkmuJysNF1sU8anEGcZnGQuYWViAzVx2VwtYTrYQE5CXPQotB2rnGwFaUY9vVeTCKFC8yiwZLHxhPJdZaexrZPbBTaf1xvmuyarMchkxvbn8K7pLXfw7n2xGArJavvRK86Nj1SrRr5ws9ku9i24WbGddKWz4SNaZgUH63Wm65yK8m91kgeHLDhhhR
uplink --access $UPLINK_DOWN cp sj://pocket-public-blockchains/pocket-network-data-0026-rc-0.6.3.6.tar ./pocket.tar --parallelism 5
tar xvf pocket.tar -C node1/data
uplink --access $UPLINK_DOWN cp sj://pocket-public-blockchains/pocket-network-data-0026-rc-0.6.3.6.tar.gz ./pocket.tar.gz --parallelism 5
tar zxvf pocket.tar.gz -C node1/data
This methods require 2x of the space required for the blockchain data (approx 105gb for the time of this writting)
wget -O pocket.tar.gz https://link.us1.storjshare.io/raw/jwbuk637hx3s7bqef4euxzaqaosa/pocket-public-blockchains/pocket-network-data-0026-rc-0.6.3.6.tar.gz
tar zxvf pocket.tar -C node1/data
wget -O pocket.tar https://link.us1.storjshare.io/raw/jwfbmq6ar3vsyzeqkconsiz24sja/pocket-public-blockchains/pocket-network-data-0026-rc-0.6.3.6.tar
tar xvf pocket.tar -C node1/data
Assuming you have rclone installed:
rclone config # Will show the rclone config location. copy the location and replace it with our rclone.config
cp rclone.config ~/.config/rclone/rclone.conf
time rclone copy --progress --s3-upload-concurrency 32 --s3-chunk-size 256M downloader:pocket-public-blockchains/pocket-network-data-0026-rc-0.6.3.6.tar ./
mkdir -p node1/data
tar xvf ./pocket-network-data-RC-0.6.3.6.tar -C node1/data
or just:
sh download.sh
You can build/run the docker image, which will download/untar the pocket blockchain snapshot on the folder ./node1/data
docker build -t pocket-blockchain-downloader . --no-cache && docker run -v $(pwd)/node1/:/root/node1 -it pocket-blockchain-downloader
This project is licensed under the MIT License; see the LICENSE.md file for details.