How to upgrade your Masternode

BZEdge
BZEdge
Feb 21 · 3 min read
BZEdge masternodes list

In this article we will explain as simple as we can how to upgrade your BZEdge Masternode on a linux server. Whenever we release a new version of BZE you can use this article — except when we recommend another guide or provide other instructions.

This article assumes that you already have basic knowledge about how to connect to a server and how to interact with your masternode.

So let’s begin

ssh YOUR_USER@YOUR_VPS_IP_ADDRESScd ~/

We will now download the bootstrap that can be found here. This step will help you get rid of waiting a lot of time for the daemon to sync with the network and using this your masternode will NOT expire it will keep being connected and as soon as we finish it will also be eligible for rewards.

Create the ‘bootstrap’ directory and download the bootstrap in it. This may take a while since the bootstrap contains all blockchain data (around 4GBs):

mkdir bootstrap
cd bootstrap
wget https://bootstrap.getbze.com/bootstrap_txindex_latest.zip

When download is finished unzip the downloaded file:

unzip bootstrap_txindex_latest.zip

This will extract two directories: ‘chainstate’ and ‘blocks’.

Open your browser and navigate to our official releases: https://github.com/bze-alphateam/bzedge/releases

Click on the latest release then right-click on the binaries for your operating system — we’ll pick linux binaries — and “Copy Link Address”.

Go back to your terminal and download the binaries:

cd ~/wget https://github.com/bze-alphateam/bzedge/releases/download/v4.1.1/bzedge-4.1.1-linux.tar.gz#make sure you extract from the file you have downloaded
tar -xvf bzedge-4.1.1-linux.tar.gz

This will extract the new binaries to your home directory.

Next we have to stop the old daemon running on your VPS. Your MN daemon.

./bzedge-cli stop

Once the daemon is stopped we will delete its blockchain data.

rm -rf .bzedge/chainstate
rm -rf .bzedge/blocks

Now we have to copy the files we downloaded and extracted from bootstrap earlier:

cp -r bootstrap/blocks .bzedge/
cp -r bootstrap/chainstate .bzedge/

Please be patient. This will take several seconds.

After this operation is finished we can start the MN daemon once again and let it run:

./bzedged -d

Your daemon should now start and in a matter of minutes, it will be synced with the entire network.

You can watch your MN logs using the ‘tail’ command:

tail -f .bzedge/debug.log

Hope you had a flawless masternode upgrade process.
Thank you all for your support and we invite you to watch us closer and maybe get involved with our community.

Feel free to engage in a discussion with us on any of our communication channels: Twitter, BitcoinTalk, Medium Publication, Reddit, Discord or Telegram.

BZEdge Community

Cutting Edge Cryptocurrency.

Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore

If you have a story to tell, knowledge to share, or a perspective to offer — welcome home. It’s easy and free to post your thinking on any topic. Write on Medium

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