Difference between revisions of "Upgrading the Core Wallet"

From Terracoin Wiki
Jump to: navigation, search
Line 26: Line 26:
   
 
'''*** NOTE: you should always check your masternode getblockcount against insight to make sure your block count matches ***'''
 
'''*** NOTE: you should always check your masternode getblockcount against insight to make sure your block count matches ***'''
  +
  +
==== To makes sure your masternode restarts if it crashes ====
  +
Add this line to the masternode user crontab
  +
  +
<code>*/10 * * * * if ! pgrep terracoind > /dev/null; then /usr/local/bin/terracoind -daemon; fi</code>

Revision as of 01:16, 7 July 2018

Upgrading the Core Wallet

Updating the Windows and Mac Core Wallet

  1. Shut down your wallet which can take 30-60 seconds.
  2. Download the newest version from terracoin.io.
  3. On Windows run the installer, and on Mac copy over the .app from the dmg to where you installed the TerracoinCore Wallet before (usually /Applications).
  4. Run the new install of the wallet.
  5. Done!

Updating a Masternode

We have created a script to easily update your masternode.

Login as root to your VPS which hosts the masternode and run the code below.

Upgrade ONLY

rm -f trc-updater; curl -O https://raw.githubusercontent.com/terracoin/terracoin/master/trc-updater; sudo bash trc-updater

Upgrade or Downgrade

rm -f trc-updater; curl -O https://raw.githubusercontent.com/terracoin/terracoin/master/trc-updater; sudo bash trc-updater -f

This will stop, and update your masternode to the most recent version and start it again.

** NOTE: Make sure to issue a new start from your local wallet to make sure the protocol is up to date. **

*** NOTE: you should always check your masternode getblockcount against insight to make sure your block count matches ***

To makes sure your masternode restarts if it crashes

Add this line to the masternode user crontab

*/10 * * * * if ! pgrep terracoind > /dev/null; then /usr/local/bin/terracoind -daemon; fi