SYSCOIN UPGRADE 3.1.2.0

John Syscoin
3 min readSep 6, 2018

--

THIS HAS NOW BEEN SUPERSEDED BY 3.1.x.0 PLEASE USE THIS GUIDE NOW AND NOT THIS ONE IF YOU HAVE NOT ALREADY UPDATED THIS IS MANDATORY.

https://medium.com/@bittyjohn1954/syscoin-upgrade-3-1-x-0-d4884e8cef9c

This upgrade applies to Syscoin QT, Blockmarket and Masternodes but Masternodes and QT are only covered here.

For the latest versions visit Github.

See below for Masternode Upgrade Instructions to 3.1.2.0 this also includes updating your sentinel to 1.1.1 if you have not already done so.

This upgrade is requested even if you are not stuck on a block or on the wrong chain, please read release notes in Github for further details.

Login to the vps

*If you used Justin’s/ Doublesharps script:*

To check Sentinel Version

syscli masternodelist json [vpsipaddress]

Stop Syscoind

sudo service syscoind stop

Run the command below and choose ‘Y’ to upgrade then enter, and then select Y or N to sentinel upgrade as required and press enter, then press enter when asked for the branch.

If this is not an upgrade you will need to enter your MN key when prompted, otherwise just accept the values shown.

bash <(curl -sL doublesharp.com/sysmasternode)

When finished the script will start Syscoind automatically.

To check the Syscoin Version and protocol.

syscli getinfo

Reload Blocks

sudo service syscoind stopsudo rm /home/syscoin/.syscoincore/peers.datsudo rm -r /home/syscoin/.syscoincore/chainstatesudo rm -r /home/syscoin/.syscoincore/blockssudo service syscoind start

Leave it a few minutes then check you are synced to the correct block by comparing with the explorer.

syscoin-cli getinfo

Close putty

— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —

There are 2 methods of updating if you did it manually.( Update only)

  1. Press Enter at the end of each line.
~/syscoin/src/syscoin-cli stop
cd ~/syscoin
git checkout master && git pull
./autogen.sh
./configure
make -j$(nproc) -pipe
~/syscoin/src/syscoind

Update Sentinel if required

To check Sentinel Version

~/syscoin/src/syscoin-cli masternodelist json [vpsipaddress]

Install if required

cd ~/syscoin/src/sentinel
git checkout master
git pull

Reload your Blocks

~/syscoin/src/syscoin-cli stoprm -rf ~/.syscoincore/blocksrm /.syscoincore/peers.dat~/syscoin/src/syscoind

Leave it a few minutes then check you are synced to the correct block by comparing with the explorer.

~/syscoin/src/syscoin-cli getinfo

2) Or you can use this code created by Locutus

This will update your Manual Install setup, all in one line

cd $home && curl -sL https://raw.githubusercontent.com/locutus75/syscoinscripts/master/offlineupdatescript.sh --output $HOME/offlineupdatescript.sh && chmod u+x $HOME/offlineupdatescript.sh && ./offlineupdatescript.sh

This is what it does:
- creates a ~/temp folder
- builds the latest syscoincore from github in this temp folder
- builds the latest sentinel from github
- copies current sentinel.conf
- stops syscoincore
- moves old ~/syscoin folder to ~/temp/syscoin-previous
- moves new ~/temp/syscoin to ~/syscoin
- starts syscoincore

This way, there is almost no downtime.

So you end up with a new version and also you have the old one backed up in ~/temp/syscoin-previous.

Check your version with

~/syscoin/src/syscoin-cli getinfo

If satisfied, you may remove your backup folder with this command

rm -rf ~/temp/syscoin-previous

** Carry out Reload Blocks as above **

See below for QT Upgrade Instructions to 3.1.2.0

Close QT and download 3.1.2.0 from Github

ALWAYS ENSURE YOU HAVE A BACKUP OF WALLET.DAT

Go to your syscoincore folder
For WIN

C:\Users\YOURUSERNAME\AppData\Roaming\SyscoinCore

Or type %appdata% in the search box

For MAC
CMD + Shift + G
~/Library/Application Support/SyscoinCore

Remove any addnode connectnode lines from syscoin.conf

Delete the Blocks folder and peers.dat file

Open QT and it should start syncing within a minute or so.

If you still are not on the correct branch use this method.

1) Shut down QT.
2) Rename syscoincore folder to syscoincoreold.
3) Create a new syscoincore folder.
4) COPY wallet.dat and masternode.conf from syscoincoreold to the new folder.
5) Restart QT 3.1.2 or higher.

This gives you a new clean sync on the correct chain, and a backup. (sycoincoreold).
Any transactions that are “stuck” on the wrong chain will no longer be in mempool, will not have happened and your balance should be correct.

ALL MASTERNODE USERS

There is no need to Restart your Node, it may change status to Sentinel Ping Expired for a short time (Less than an hour)

Please note then when looking at the Masternode details in QT and on your VPS, Sysnode.info or Nodecheck.io the protocol version shows the minimum version (70221) not the current (70224). Current version is shown in `getinfo`

--

--

No responses yet