Skip to main content

What Is the ‘Longest Chain Rule’ in Blockchain Consensus?

The longest chain rule, also known as the Nakamoto consensus, is a fundamental principle in Proof-of-Work blockchains. It dictates that nodes should always consider the chain with the most cumulative Proof-of-Work (i.e. the most blocks or the highest total difficulty) as the valid, canonical chain.

An attacker in a 51% attack attempts to secretly build a longer, malicious chain to replace the honest one.

What Is the “Longest Chain Rule” in a PoW System?
What Is the “Longest Chain Rule” and How Does It Relate to Block Confirmation?
What Is the ‘Longest Chain Rule’ in Bitcoin?
How Is the “Target Hash” Calculated from the Difficulty Setting?