QT AND VPS SYSCOIN RE-INDEX

BOTH VPS AND QT

John Syscoin
Mar 22 · 2 min read

1. QT Wallet (VPS INSTUCTIONS BELOW)

As always make sure you have a valid backup of your wallet.dat stored somewhere.

Open QT and go to Settings-Options and click on ‘Open Configuration File’ this will open syscoin.conf in a text editor.

Image for post
Image for post

Add ## on the first line then reindex=1 on the second line, it does not matter what else is in the syscoin.conf file it could be empty.

Image for post
Image for post

Save this change and close and open QT, this will start a reindex from 0 blocks, your balance will not show immediately.

Whilst this is reindexing open the syscoin.conf again and remove reindex=1 and save the syscoin.conf file again (you can leave the ## line in) , this will stop it reindexing next time you open QT.

Note: Your Masternodes will not show the correct status until the wallet is fully synced including Masternode status. Can be checked in the console (Window-Console) by typing

mnsync status
Image for post
Image for post

And waiting for “IsSynced”: true

You can also check against the explorer that you are on the correct block

In the console type

getblockcount

2. Script Install on a VPS

Log into Putty as root and just type on 1 line

sudo service syscoind stop && sleep 20 && sudo su -c 'syscoind -reindex' syscoin

This will stop syscoind and reindex on start

Once sync has finished you can check you are on the correct block by typing

syscli getblockcount

And compare against the explorer linked above.

To check version type

syscli getnetworkinfo

3. Manual Install on VPS

Log into Putty as your user and just type

~/syscoin/src/syscoin-cli stop
~/syscoin/src/syscoind -reindex

To check blocks

~/syscoin/src/syscoin-cli getblockcount

And compare against the explorer linked above.

To check version

~/syscoin/src/syscoin-cli getnetworkinfo

DONE

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch

Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore

Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store