Blockchain: What are nodes and masternodes?

Blockchain: What are nodes and masternodes?

Nodes and masternodes are an increasingly discussed subject in blockchain lately. And rightfully so, because nodes are a critical component of a blockchain?s infrastructure. Without nodes, a blockchain?s data would not be accessible. You could say that nodes are the blockchain.

Image for postThe internet connects billions of nodes with each other across large varieties of networks.


A blockchain exists out of blocks of data. These blocks of data are stored on nodes (compare it to small servers). Nodes can be any kind of device (mostly computers, laptops or even bigger servers). Nodes form the infrastructure of a blockchain. All nodes on a blockchain are connected to each other and they constantly exchange the latest blockchain data with each other so all nodes stay up to date. They store, spread and preserve the blockchain data, so theoretically a blockchain exists on nodes. A full node is basically a device (like a computer) that contains a full copy of the transaction history of the blockchain.

Image for post7 nodes (servers/computers), all connected to each other, running a blockchain together.

What do nodes do?

When a miner attempts to add a new block of transactions to the blockchain, it broadcasts the block to all the nodes on the network. Based on the block?s legitimacy (validity of signature and transactions), nodes can accept or reject the block. When a node accepts a new block of transactions, it saves and stores it on top of the rest of the blocks it already has stored. In short, here is what nodes do:

  • Nodes check if a block of transactions is valid and accept or reject it.
  • Nodes save and store blocks of transactions (storing blockchain transaction history).
  • Nodes broadcast and spread this transaction history to other nodes that may need to synchronize with the blockchain (need to be updated on transaction history).

The difference between a miner and a node

A miner always needs to run a full node in order to select valid transactions to form a new block. Without a full node it cannot determine what proposed transactions are valid according to the current blockchain?s transaction history (aka if all balances involved in the transactions are sufficient enough to perform the proposed transactions), because it does not have access to the full blockchain history. Therefore, a miner is always also a full node. A node however, is not necessarily simultaneously a miner. A device can run a full node by receiving, storing and broadcasting all transaction data (much like a server) without actually creating new blocks of transactions itself. In this case it functions more like a pass point with a directory, whereas a miner is the same but simultaneously tries to create new blocks of transactions as well.

Definition of a node in blockchain: A full node is a full copy of the blockchain transaction history on any device.

How nodes secure the blockchain

Nodes can be online or offline. Online nodes are receiving, saving and broadcasting all the latest blocks of transactions from and to other nodes, while offline nodes do not. When an offline node comes back online, it will need to catch up with the rest of the blockchain first by downloading all blocks that were added to the blockchain ever since the node went offline. This process is often referred to as synchronizing with the blockchain.

Image for postEthereum node synchronizing with the Ethereum blockchain.

An entire blockchain can theoretically run on a single node, but since it would be stored on only a single device, it would be extremely vulnerable to things like power outages, hackers or systemic crashes. The more full nodes a blockchain is running on, the better its resilience against such catastrophes is. When the blockchain data is spread across so many devices, it will be very hard for a corrupt entity to wipe out all this data at once. Even if a large number of nodes suddenly goes offline and becomes inaccessible because of a global crisis, a single node can theoretically keep an entire blockchain operational. And even if all nodes go offline, it only takes one node with the full blockchain history to come back online to make all the data accessible again.

Who can run a node?

Some blockchains have thousands of nodes simultaneously online. Anyone can run a node by simply downloading the transaction history of a blockchain. Many crypto and blockchain enthusiasts are running nodes voluntarily. They do this to contribute to a blockchains community, its development, security and integrity, but also simply because it?s their hobby and makes them feel part of the project. Running a node is considered fairly simple for someone slightly tech savvy, and does not require a lot of resources. Some blockchains however, now contain such a large amount of transaction data that it actually requires a lot of memory on a device to run a full node. Many crypto users who just want to use a blockchain therefore use wallet applications. These applications allow them to broadcast transactions from their wallet without being required to download the entire blockchain history on their own device.

What are masternodes?

And finally, some blockchains also feature masternodes. Masternodes are usually heavier equipped than normal nodes. Next to validating, saving and broadcasting transactions, masternodes sometimes also facilitate other events on the blockchain dependent on their nature, such as governing voting events, providing execution of protocol operations and enforcing the laws of the according blockchain. Masternodes are generally always online (24/7), and facilitate much more memory than normal nodes. You could say a masternode is like hosting a very large server on the network. Because hosting a masternode usually requires much more resources (electricity, up-time, maintenance, storage space, memory), hosting one generally provides payment in the form of interest.

Image for post7 nodes, 5 normal nodes and 2 ?masternodes?, the masternodes are heavier and may have additional powers on the blockchain.

Who can run a masternode?

Not just anyone can run a masternode though. The power of controlling a masternode can be abused, and therefore it requires the host to deposit a minimum (often quite large) amount of crypto as collateral. This collateral is taken hostage when the masternode host violates the rules of the blockchain. The interest rate a masternode host receives is calculated over their collateral deposit.

Image for postDASH masternodes per country worldwide.

Dash (DASH) is one of the most common blockchains that has a masternode feature built in. However, hosting a masternode on the Dash blockchain doesn?t come cheap ? the minimum collateral to qualify for hosting a masternode on this blockchain is currently a staggering 1,000 DASH, worth $200,000 at the time of writing. It can still be an attractive investment though, as the DASH blockchain returned a yearly interest rate of 11% in 2016 for example.

At the time of writing, a website screening the live number of masternodes currently running on the DASH network claims there are up to 4,941 masternodes running, of which 1284 in the United States and 1038 in the Netherlands.

Was this article helpful? Help others find it by applauding or sharing. To continue your blockchain education, follow any of the links below:

Beginner 1: How blockchain works in 7 steps

Beginner 2: How mining works and how transactions are processed

Beginner 3: How a hacker performs a 51% attack

Beginner 4: Nodes and masternodes

Beginner 5: Mining difficulty and block time

Want to test your blockchain knowledge? Take the 20 questions test here and see if you are at beginner, advanced or expert level.

Additionally, you can follow me on medium to stay tuned for more educational blockchain related articles. Thank you for reading!

Get Best Software Deals Directly In Your Inbox

Image for post


No Responses

Write a response