Learn › How Bitcoin Works (High school and up)
Nodes, Consensus, and Forks
12 minute lesson · then a 4-question quiz
Add this lesson to a curriculum for a student, a group or a team.
Nodes enforce the rules
A full node is a computer that downloads the blockchain and checks every block and transaction against the rules by itself. It does not need to trust miners. If a miner builds a block that breaks a rule, such as creating too many coins, honest nodes reject it. Miners decide the order of valid transactions, and nodes decide what counts as valid. Anyone with a modest computer can run a node.
The 51 percent attack
If one party controlled most of the network's mining power, it could reorder recent blocks, which would let it reverse its own recent payments, and it could block other people's transactions. It could not spend coins it has no key for, create coins beyond the rules, or change rules that nodes enforce. Such attacks are costly, and smaller blockchains with less mining power have been hit by them. The larger the network, the costlier an attack.
Changing the software
Bitcoin can be upgraded, but nodes must choose to run the new rules. A soft fork tightens the rules so that old nodes still accept the new blocks. A hard fork loosens the rules so that old nodes would reject them, which can split the network if some do not upgrade. In 2017, a dispute about block size led to a split, creating Bitcoin Cash, while Bitcoin activated a change called SegWit. Because users, miners, developers, and businesses all have a say, upgrades are slow and conservative. Supporters see this as a feature that protects the money's rules. Critics see rigidity.
Key ideas
- Full nodes check every rule independently.
- Miners order transactions, nodes enforce validity.
- A majority of hash power cannot steal coins or change rules alone.
- Soft and hard forks are two ways of changing the rules.
Try it with the free tools: The CFO Dad book
Quiz
Get 75% or better to finish this lesson. You can try as many times as you like.
Educational only. Not tax, legal, or investment advice. Numbers and rules change, so check current sources.
