Now that we've gotten a general overview of the blockchain's various layers, let's dive deeper into them, starting with the Hardware layer.
The hardware layer refers to the layer that is composed of various computers or "nodes" that share data and create a distributed, peer-to-peer network. Here, all participating nodes are equal in function and responsibility.
There is no centralized server that manages all the data and decisions that happen in the blockchain. Instead, each node acts as a client and a server, meaning they both request and provide data simultaneously. These nodes are all "peers" which work together to run a decentralized system.
Nodes are essentially a blockchain’s “source of truth”. They are important because they store the history of the blockchain and use this information to moderate the network.
If someone wanted to hack the blockchain to give themselves 1 million BTC, nodes would detect the bad actor and stop them. Nodes are there to make sure that everyone follows the rules as they validate transactions and execute decisions for the blockchain.
Adding more nodes to the blockchain increases security and decentralization since it will be harder for power/control to be concentrated in just one place when there are nodes all over the world.
Nodes perform 3 main functions - maintenance, validation and accessibility.
The cool thing is that there are different types of nodes, each with a specific role based on how much blockchain history they store:
1. Full Nodes: These are like the guardians of the blockchain. They keep a complete record of the entire blockchain history, ensuring data accuracy. They also participate in decision-making for blockchain upgrades.
2. Light Nodes (Simplified Payment Verification - SPV): These nodes are like the speedsters of the blockchain. They prioritize fast transactions by downloading only essential data, not the full history. They rely on full nodes to work properly.
These nodes collaborate to create the blockchain's storage layer. Next, we'll explore the data these nodes store as we dive into the data layer.