Proof of work basics
Proof of work requires block producers to demonstrate computational effort. Nodes verify the work and the block's transaction rules before considering it for chain selection.
Mining and verification differ
A miner repeatedly changes candidate block data to find a qualifying hash. A node can test the result cheaply and reject a block that creates unauthorized spending even if its hash qualifies.
Read chain work
Competing chains may temporarily contain different recent blocks. Comparing accumulated valid work is more informative than counting blocks without checking their difficulty.
