LogoLogo
  • Introduction to Beldex
  • Getting Started
  • Wallets
    • Overview
    • What Wallet to use?
    • Addresses
      • Main Address
      • Sub Address
      • Integrated Address
    • Multisignature
    • Guides
      • CLI Linux Setup
      • CLI Wallet Commands
      • CLI Restoring Wallet from Seed
      • CLI Restoring Wallet from Keys
      • Multisig
        • 2/2 Multisig
        • 2/3 Multisig
        • M/N Multisig
  • Master Nodes
    • Overview
    • Master Node Functions
    • Staking Requirement
    • Infinite Staking Primer
    • Guides
      • Master Node Full Guide
      • Master Node Express Setup
      • Master Node Update Guide
      • Master Node Docker Setup
      • Master Node Registration Guide
  • BelNet
    • Exit Node Setup Guide
    • Exit Node Setup Using Docker
    • MNApp Hosting Guide Using Nginx
    • BelNet GUI Installation Guide
  • Advanced
    • Developer
      • Master Node RPC Guide
      • Daemon RPC Guide
      • Wallet RPC Guide
      • Developer FAQ
Powered by GitBook
On this page
  • Step 1: Load and Update your VPS.
  • Step 2: Download the new Beldex Binaries

Was this helpful?

Export as PDF
  1. Master Nodes
  2. Guides

Master Node Update Guide

A Guide to update the master nodes

PreviousMaster Node Express SetupNextMaster Node Docker Setup

Last updated 9 months ago

Was this helpful?

This document is for Master Node Operators who have used the previous and wish to update the version of their Master Node.

Note that this update guide is for individuals running their Master Node as a Service on linux. If you are using any screen's you will need kill the screens and go back to the and follow it once more.

It is highly recommended running your Master Node as a Service due to the ease of updating.

Step 1: Load and Update your VPS.

If you are updating your VPS you would by now have a good understanding of how to log in to your server. If you don't check out how you prepared your server in this guide .

Once we have logged in to our VPS we should update our package lists, the below command downloads the package lists from the repositories and "updates" them to get information on the newest versions of packages and their dependencies. It will do this for all repositories and PPAs.

sudo apt update

You will notice a bunch of package lists were downloaded, once this is complete run the below command to fetch new versions of any packages we currently have installed on the system.

sudo apt upgrade

You will be prompted to authorise the use of disk space, type y and enter to authorise.

If you are prompted during the upgrade that a new version of any file is available then click the up and down arrows until you are hovering over install the package maintainer’s version and click enter.

Alright, good to go. Our server is now up to date. On to the fun part!

Step 2: Download the new Beldex Binaries

To download the Linux binaries use the following command:

wget <link>

Your command should look something like:

wget https://github.com/beldex-coin/beldex/releases/download/v3.1.3/beldex-linux-x64-v3.1.3.zip

To unzip the downloaded zip file run the following command (changing 3.1.3 to whatever version you downloaded above):

unzip beldex-linux-x64-v3.1.3.zip

You will see something like this:

Archive:  beldex-linux-x64-v3.1.3.zip
   creating: beldex-linux-x64-v3.1.3/
  inflating: beldex-linux-x64-v3.1.3/beldex-blockchain-ancestry  
  inflating: beldex-linux-x64-v3.1.3/beldex-blockchain-depth  
  inflating: beldex-linux-x64-v3.1.3/beldex-blockchain-export  
  inflating: beldex-linux-x64-v3.1.3/beldex-blockchain-import  
  inflating: beldex-linux-x64-v3.1.3/beldex-blockchain-mark-spent-outputs  
  inflating: beldex-linux-x64-v3.1.3/beldex-blockchain-stats  
  inflating: beldex-linux-x64-v3.1.3/beldex-blockchain-usage  
  inflating: beldex-linux-x64-v3.1.3/beldex-gen-trusted-multisig  
  inflating: beldex-linux-x64-v3.1.3/beldex-wallet-cli  
  inflating: beldex-linux-x64-v3.1.3/beldex-wallet-rpc  
  inflating: beldex-linux-x64-v3.1.3/beldexd  

Note that they are unzipped into the beldex-linux-x64-v3.1.3 folder; you can check they are unzipped by running the following to change into the folder and then listing the files:

cd beldex-linux-x64-v3.1.3
ls

Otherwise, run the following command.:

cd
ln -snf <folder_name> beldex

Where <folder_name> is the new folder we created when unziping the release. In this case if we were to update to v3.0.2 the commands we would use would be:

cd
ln -snf beldex-linux-x64-v3.1.3 beldex

This replaces our virtual beldex folder that pointed to an old folder to the beldex-linux-x64-v3.1.3 folder we created.

At this point it is wise to restart your system with the following command:

sudo reboot

Once the system has restarted it will reboot the new version of beldexd.

Log back in to your VPS and double check the new version of beldexd is running smoothly by running the following command:

sudo journalctl -u beldexd.service -af

Excellent! You have now updated your Master Node.

Where <link> is the download link of the latest linux release. To find the link go to , right click the latest linux release and click Copy Link Location.

We now want to replace our "symlink" to the new extracted beldex-linux-x64-v3.1.3 folder. If you are unfamiliar with what the "symlink" was doing previously have a look at the where you first set it up.

NOTE: If you’re nervous about trusting the binaries or the download link, you should build it from source yourself. Instructions for that can be found in the README of

https://github.com/beldex-coin/beldex/releases/latest
Master Node Full Guide
https://github.com/beldex-project/beldex
Master Node Full Guide
Master Node Full Guide
here