longestchain
Longest chain is a concept used in many blockchain systems, especially those that rely on proof-of-work, to determine the canonical history of transactions. It refers to the chain with the greatest total amount of work or accumulated difficulty, rather than merely the most blocks. Nodes adopt the chain that has the most work and extend it by adding new blocks on its tip.
Operation and forks: Blocks build on a previous block, and sometimes multiple blocks are found at similar
Terminology and weight: While the phrase longest chain is common, some discussions emphasize the heaviest or
Implications and limitations: The longest-chain rule provides probabilistic safety for consensus, but it does not guarantee
See also: Nakamoto consensus, proof-of-work, blockchain, chain reorganization, orphan block.