Updating BLOCKCHAIN on Linux

This procedure will allow to download the blockchain data updated instead of wait the wallet to sync for long time

It is based on the guide "Linux - Wallet Staking" on PhantomX Guides

1 - Accessing the PhantomX data folder
Code:
cd /wallets/phantomx/wallet

2 - Download the latest version of blockchain
URL:
http://phantomx.co/download/latest-blockchain.zip

-->> command:
wget http://www.phantomx.co/download/latest-blockchain.zip

3 - Stop your wallet
Code:
/wallets/phantomx/phantomxd -datadir=/wallets/phantomx/wallet stop
or
pnx stop

4 - SAVE your wallet.dat in a safety place
Backup:
file: wallet.dat
-->> saving on private user folder
example: cp wallet.dat ~/wallet-pnx-yyyymmdd.dat (where yyyy=year // mm=month // dd=day)

5 - DELETE the list of files above
Delete:
folder: database
folder: txleveldb
file: blk0001.dat
file: peers.dat
-->> command:
rm -Rf database txleveldb blk0001.dat peers.dat

6 - UNCOMPRESSING the zip blockchain downloaded
Code:
-->> if not installed:
sudo apt-get -y install unzip

unzip latest-blockchain.zip

7 - UPDATING the blockchain database
Code:
cp -fR wallets/latest-blockchain/* /wallets/phantomx/wallet

8 - DELETING temps files
Code:
rm -Rf /wallets/phantomx/wallet/wallets
rm -Rf /wallets/phantomx/wallet/latest-blockchain.zip

9 - START your wallet again and WAIT to sync the last hours
Code:
/wallets/phantomx/phantomxd -datadir=/wallets/phantomx/wallet -daemon -server
or
pnx -daemon -server