Syscoin 4 Masternodes Manual Setup

Below are the minimum requirements for your VPS. Please do not try to compile without the minimum.

John Syscoin
Jun 5, 2019 · 5 min read

64-bit CPU — 2 Cores (4 preferred)

4gb RAM (real) minimum (8gb RAM preferred)

4gb swap (if less than 8gb real RAM) Will need to use SSD if using Swap

KVM or OpenVZ (KVM preferred)

Linux OS — Ubuntu 18.04.1 LTS (Bionic Beaver) preferred.

80gb Disk Space (100gb+ SSD preferred).

Port open for Syscoin (default: 8369) and Geth (default: 30303)

To use this procedure you must have upgraded your QT to Sys4 or for a new user download QT from the Github link in the guide below and just add the config file no need to dumpwallet.

https://medium.com/@bittyjohn1954/syscoin-4-conversion-from-syscoin-3-1288c5027d45

Please read these instructions carefully the majority of issues are because these instructions are not read correctly.

SYS4 Masternodes require legacy addresses please see Script guide for how to set you collateral up correctly

https://medium.com/@bittyjohn1954/syscoin-4-masternodes-setup-unofficial-guide-assuming-a-clean-install-b48d257741cf

Update your VPS OS:

Log onto your Server using Putty as Root.

All text in boxes are commands and need to be typed (Copy/Paste into Putty followed by Enter.

Install Nano (Text editor)

sudo apt-get update

sudo apt-get install nano

Install Swap file if you have only 4gb Memory

Add the following line at the end of the file, then press Ctrl + X to close the editor, then Y and Enter save the file.

We will create a new user with the following command, replacing <username>with a username of your choice.

adduser <username>

You will be prompted for a password. Enter and confirm using a new password (different to your root password) and store it in a safe place. You will also see prompts for user information, but this can be left blank.

Once the user has been created, we will add them to the sudo group so they can perform commands as root.

Reboot the server:

Log onto your Server using Putty with the Username and password you created not as Root.

Build Syscoin Core from sources:

We need to create the config file

nano ~/.syscoin/syscoin.conf

Paste in the following:

Press Ctrl + X to close the editor and Y and Enter save the file

Run Syscoin Core

Syscoind will start and type to check progress.

Then, check ./syscoin-cli mnsync status. The asset name should go from "MASTERNODE_SYNC_INITIAL" to "MASTERNODE_SYNC_LIST" to "MASTERNODE_SYNC_MNW" to "MASTERNODE_SYNC_GOVERNANCE" to "MASTERNODE_SYNC_FINISHED"

Once Synced stop Syscoind

Edit syscoin.conf

Add the following using your MN key created in QT (see script guide for details) and your VPS IP

Save.

Start syscoind

Check the status

Check Masternode has Synced

Start Masternode in QT

Check it has started

Install Sentinel

We now need to edit the sentinel config file

  1. If there is a # In front of syscoin_conf= then remove it
  2. Change the directory from syscoincore to just syscoin
  3. put a # next to network=testnet remove the # next to network=mainnet to enable mainnet version of sentinel.
  4. replace YOURUSERNAME with your VPS user name next to syscoin_conf at the top

Save

Should look like this

Finish Sentinel setup

virtualenv venv

If this command fails try installing this package

sudo apt-get install -y virtualenv and then run virtualenv venv

Install sentinel dependencies

venv/bin/pip install -r requirements.txt

venv/bin/python bin/sentinel.py

Should return nothing but silence. This is how you know it’s working.
If it says wait for sync, wait a minute and try again.

Create a crontab entry to wake sentinel every 5 minutes.

crontab -e

Please wait and select Nano as the option if this is the first time you have done this and add this line to the end of the file, including * * * * *

  • */5 * * * * cd /home/YOURUSERNAME/syscoin/src/sentinel && ./venv/bin/python bin/sentinel.py 2>&1 >> sentinel-cron.log

To Start Syscoind automatically on boot you can add this line.

//Thanks to Locutus

  • @reboot /home/YOURUSERNAME/syscoin/src/syscoind -daemon >/dev/null 2>&1

Replace YOURUSERNAME with your VPS user name.

Save

Check to see MN state

UPDATES WHEN REQUIRED

We will create a little script file (thanks to BP)

Add these lines and save

Now give permissions

Now anytime you want to Update, just Log on as your user and type

./update.sh

Eligibility for Rewards

Keep in mind that your masternode will not immediately be eligible for rewards. The eligibility period is determined by the formula ([number of masternodes] * 4) /60 in Hours.

Note, if you restart your masternode by pressing “Initialize” in Qt this counter will reset and you will not receive rewards until your masternode is eligible again.

GOVERNANCE

AS A PROUD OWNER OF A SYSCOIN MASTERNODE YOU ARE ELIGIBLE TO TAKE PLACE IN GOVERNANCE VOTING PLEASE TAKE THE TIME ONCE A MONTH TO VOTE SEE SYSHUB FOR DETAILS.

THE AMOUNT OF GOVERNANCE HAS INCREASED SIGNIFICANTLY SO MAKE YOUR VOTE COUNT.

JOB 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