A deep dive into the mechanics of the first cryptocurrency: blockchain, mining, consensus, and decentralization.