ChainofSecrets.org Launches Quicksync!

Hi all!

As alot of you may have noticed, when spinning up a fullnode it can take around 3-4hours to completely sync the chain.

Chain of Secrets team has taken on the task to help the community out with offering a Quicksync service, the latest quicksync is available at http://quicksync.chainofsecrets.org/enigma-1-block992500.tar.lz4

We will publish compressed & complete sync’s at different block intervals. The current quicksync is 6.7GB which we have compressed to 3.9GB.

Here are the steps to use it when setting up a new fullnode
This will save you 3-4hours of wait time

Install lz4

sudo apt-get update -y

sudo apt-get install wget liblz4-tool -y

Download & Decompress Quicksync Data after installing Enigmad & Enigmacli

cd ~/.enigmad/

wget http://quicksync.chainofsecrets.org/enigma-1-block992500.tar.lz4

lz4 -d enigma-1-block992500.tar.lz4 | tar xf -

Please note, that you may have a short time to catchup to latest block, but this will be minutes not hours.

If you like our contributions, please support us and join our telegram! Come say hi!

11 Likes

Beautiful initiative!

Just an update. New quicksync file for block height 649,000

http://quicksync.chainofsecrets.org/enigma-1-block649000.tar.lz4

3 Likes

Another update. Latest QuickSync is for block height 700,000.

http://quicksync.chainofsecrets.org/enigma-1-block700000.tar.lz4

1 Like

Latest Quicksync is now at block height 868,000

http://quicksync.chainofsecrets.org/enigma-1-block868000.tar.lz4

1 Like

Thanks @dbriggsie!

I’ve just upgraded a validator node from v0.0.1 to v0.03 using Quicksync and it took less than 15 minutes overall.

For future reference:

I backed up the validator’s private key: https://github.com/enigmampc/EnigmaBlockchain/blob/master/docs/validators-and-full-nodes/backup-a-validator.md

Then I used these commands:

# the current block was ~872000
# download quicksync at block 868000
# afterward it should take no more than 4-5 minutes to catch up on 4k blocks
wget http://quicksync.chainofsecrets.org/enigma-1-block868000.tar.lz4

# stop v0.0.1 node
sudo systemctl stop enigma-node

# delete all of v0.0.1 block data
enigmad unsafe-reset-all

# remove v0.0.1
sudo dpkg -P enigmachain # might fail but it's okay

# install v0.0.3
wget https://github.com/enigmampc/EnigmaBlockchain/releases/download/v0.0.3/enigma-blockchain_0.0.3_amd64.deb
sudo dpkg -i enigma-blockchain_0.0.3_amd64.deb

# install liblz4-tool to extract the quicksync archive
# install pv to get a progress bar for the extraction process
sudo apt install -y liblz4-tool pv

# extract quicksync into ~/.enigmad/data
# this took around 3-4 minutes for me (for .tar.lz4 file of 5.95 GiB)
pv enigma-1-block868000.tar.lz4 | lz4 -d | tar -C ~/.enigmad -x

# enable v0.0.3 on startup and start the node
sudo systemctl enable enigma-node
sudo systemctl start enigma-node

# see the catching up process until what was block ~872000 (took around 2 minutes for me)
watch -d 'enigmacli status | jq .sync_info'
3 Likes

Success here as well :slight_smile: Thanks @dbriggsie!

1 Like

Updated Quicksync to block 992,500 ! (I know i should have waited for 1Million) :smiley:

http://quicksync.chainofsecrets.org/enigma-1-block992500.tar.lz4

Chain of Secrets Team has updated the latest QuickSync to block 1,455,901! - Compressing 16GB into 9GB.

Available here:
http://quicksync.chainofsecrets.org/enigma-1-block1455901.tar.lz4

1 Like