##### HOW TO UPDATE THE LINUX WALLET #####If you are getting issues to update the PhantomX wallet via linux, just follow these steps.
** I'm considering your wallet is compiled
**
1 - stopping your wallet
/wallets/phantomx/phantomxd -datadir=/wallets/phantomx/wallet stop
2 - check if has something still running
3 - access your wallet folder
cd /wallets/phantomx/wallet
4 - run these commands above to create a new correct files
mv phantomx.conf phantomx.conf.bkp
cp wallet.dat wallet.dat.bkp
rm -Rf database blk0001.dat db.log smsgDB txleveldb smsg.ini peers.dat mncache.dat debug.log
5 - creating a new config file
a - after opened a terminal, press the letter "i" to enter on VI EDIT MODE (look the status bar, will show "insert")
b - copy this code above (not the hifens) and paste on the file created
-----------------------------------------
rpcallowip=127.0.0.1
rpcuser=ChangeUser
rpcpassword=CHangePWD
staking=1
server=1
listen=1
maxconnections=20
port=9440
rpcport=9441
addnode=96.75.9.58:9340
addnode=46.140.84.34:8888
addnode=5.139.218.8:31978
addnode=185.121.224.45:9340
addnode=79.98.29.222:9340
addnode=45.32.223.68:9998
------------------------------------------6 - download the latest blockchain database
wget http://www.phantomx.co/download/latest-blockchain.zip
7 - install the unzip program
:: for Ubuntu
sudo apt-get -y install unzip
:: for Centos
8 - unzip the blockchain downloaded
unzip latest-blockchain.zip
9 - delete the zip file
rm -Rf /wallets/phantomx/wallet/latest-blockchain.zip
10 - start your wallet
/wallets/phantomx/phantomxd -datadir=/wallets/phantomx/wallet -daemon -server
11 - check if the wallet is being updated
:: compare with the latest block in
http://explorer.phantomx.co /wallets/phantomx/phantomxd -datadir=/wallets/phantomx/wallet getinfo