This guide will cater to the following system configurations
CentOS or RedHat Enterprise Linux (latest release) or Ubuntu (15.04+) supported
Windows (64-bit) or most Linux distributions
64-bit x86_64, 2+ cores
Minimum 300GB SSD recommended (500+ IOPS, more is better) for the database partition
32 GB
Hands on guide: How to Setup Masternode
There are two methods to choose from to set up the Masternode
METHOD 1: DIY Masternode environment set up
Clone repository
git clone https://github.com/XinFinOrg/XinFin-Node.git
Enter XinFin-Node
directory
cd XinFin-Node
Step 1: Install docker & docker-compose
sudo ./install_docker.sh
Step 2: Update .env file with details
Create .env
file by using the sample - .env.example
Enter your node name in the INSTANCE_NAME field.
Enter your email address in CONTACT_DETAILS field.
cp env.example .env
nano .env
Step 3: Start your Node
Run:
sudo docker-compose -f docker-services.yml up -d
You should be able to see your node listed on this page: http://xinfin.network Select Menu "Switch to TestNet" for TestNetwork and Select "Switch to LiveNet" to check LiveNetwork Stats.
Your coinbase address can be found in xdcchain/coinbase.txt file.
To stop the node or if you encounter any issues use:
sudo docker-compose -f docker-services.yml down
Upgrade
To upgrade please use the following commands
sudo docker-compose -f docker-services.yml down
sudo ./upgrade.sh
sudo docker-compose -f docker-services.yml up -d
Troubleshooting
If you are having problems with Setup, the first step is to collect more information to accurately characterize the problem. From there, it can be easier to figure out a root cause and a fix.
Please drop message with all possible detail and screen shot at Community Support forum: http://xinfin.Net
Telegram Community: https://t.me/XinFinDevelopers
Slack Community: https://xinfin-public.slack.com/messages/CELR2M831/
METHOD 2: Delegate masternode set up to third party service provider
Set up your Masternode using one of these 3rd party Masternode service providers.
DISCLAIMER: This list is provided for informational purposes only. Services listed here have not been evaluated or endorsed by XinFin and no guarantees are made as to the accuracy of this information. Please exercise discretion when using third-party services.
List of service provider to Setup Masternode