ChainofSecrets.org Launches Quicksync!

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