How to update XDNA masternode for fork at 2018/10/28.




How to update XDNA masternode for fork at 2018/10/28. 






1.Login masternode server by ssh.
The way differs depending on OS or ssh software.
 
(1)Login as sudowers , not as root.











(2)Stop masternode
Enter this command to stop masternode
  xdna-cli stop






(3)Delete old masternode core and database
Enter this command to delete old files
  rm -rf ~/.xdna/blocks && rm -rf ~/.xdna/chainstate && rm -rf ~/.xdna/database && rm -rf XDNA-InstallMN



(4)Download new masternode installer
Enter this command to download new masternode core installer  
git clone https://github.com/XDNA-Core/XDNA-InstallMN








(5)Change current directory to install folder
 Enter this command to change dir to XDNA-InstallMN  
cd XDNA-InstallMN






(6)Install new masternode core
Enter this command to install new xdna-masternode  
bash update_node.sh




then this message will be shown. press enter to continue.




 if password required , input your password(not wallet password , its your login password for ssh of your vps)




then this script installs core,
and please wait at leased  5 mins without press any keys.




5-10 mins later press enter to continue.

If you press a key before it finished syncing , you get this error.-Don't mind




Type next command to know current syncing process
 xdna-cli getinfo


Wait until the block number is same as your wallet block number.Or wait until its same as http://explorer.xdna.io/api/getblockcount





















You can see the masternode status is "missing"











(7)Start  masternode.
In debug console on your local wallet , Enter this command to start  mastenode
  startmasternode alias false mn1
  

mn1 is the name which you wrote in masternode.conf before.
you have to unlock wallet before typing this command.











(8)Check your masternode on vps
Enter this command to check your masternode.
 
xdna-cli masternode status
 


If it shows no error , your masternode must be successfully started.





  ※If it shows this error,




   type this to fix it.
   xdna-cli stop

  10 seconds later
   xdnad -daemon



then 1min later

  Enter next command to debug console on your local wallet.
 startmasternode alias false mn1
 
on vps
   xdna-cli masternode status

  If it shows no error , your masternode must be successfully started.




※How to check running core version on vps
Enter this command to check core version
xdna-cli getinfo

If it returns "version":1030000 and "protocolversion":70014 , its ver 1.3.0.0.









Thanks
Written by ayamaka.







コメント

  1. Nice blog! Thanks for sharing such a great information with us. i am appreciate with your blog. Keep it up team.
    Netherlands Dedicated Server

    返信削除

コメントを投稿

このブログの人気の投稿

XDNAコイン MasterNodeセットアップ編その1

XDNAコイン基本情報について