One random race: honest network against the secret branch
Toy ledger: real SHA-256 hashes and verification
Blockchain Security Side View: Block Race, Confirmations and Overtake Probability
Why a blockchain resists tampering: linked SHA-256 hashes, proof of work, and how many confirmations a merchant must wait to make a reversed payment unlikely. Education only.