Mining is bookkeeping with a lottery attachedBitcoin mining sounds like digging for coins, but the work is really bookkeeping secured by a lottery. Specialised computers called ASICs gather pending transactions, bundle them into a block, and then hash the block header billions of times per second until the result falls below a target number set by the network. The first miner to find such a...