Part II: Bitcoin — The Original Protocol

"The root problem with conventional currency is all the trust that's required to make it work. The central bank must be trusted not to debase the currency, but the history of fiat currencies is full of breaches of that trust." — Satoshi Nakamoto, P2P Foundation forum post, February 11, 2009

What This Part Covers

Bitcoin is where it all started, and understanding Bitcoin at the protocol level is essential even if your primary interest is Ethereum, DeFi, or blockchain policy. Part II takes you inside the original cryptocurrency — not as an investment thesis or a cultural phenomenon, but as a piece of distributed systems engineering. You will learn how Bitcoin transactions actually work at the byte level (inputs, outputs, and the UTXO model), how Proof of Work mining achieves consensus without a central authority, how the peer-to-peer network propagates blocks and manages the mempool, what Bitcoin Script can and cannot do (including the Taproot upgrade), and what economic arguments support or undermine Bitcoin's store-of-value thesis.

This is the deepest technical treatment of Bitcoin you will find in a free textbook. Each chapter pairs protocol-level explanation with Python code that makes the mechanisms concrete. You will parse raw transactions, simulate mining difficulty adjustments, and trace how a transaction moves from creation to confirmation. The goal is not to convince you that Bitcoin is valuable or worthless — it is to make you one of the small percentage of people who actually understand how it works. The economic chapter (Chapter 10) presents the strongest bull case and the strongest bear case with equal rigor, because an informed opinion requires engaging seriously with arguments you might disagree with.

Pay particular attention to the design tradeoffs. Bitcoin's creators made deliberate choices — a limited scripting language, a fixed supply schedule, a slow block time — and each choice has consequences. Understanding why Bitcoin is designed the way it is prepares you to understand why Ethereum, in Part III, made different choices and what those differences mean.

Chapters in This Part

Chapter Title Key Question
6 Bitcoin Protocol Deep Dive: Blocks, Transactions, and the UTXO Model How does a Bitcoin transaction actually work at the data structure level?
7 Mining and Proof of Work: How Bitcoin Achieves Consensus How does expending energy create trust, and what are the real costs?
8 Bitcoin Network: Nodes, Propagation, and the Peer-to-Peer Architecture How does the network stay synchronized without a central server, and where are the real points of failure?
9 Bitcoin Scripting, Taproot, and Programmability What can Bitcoin actually do beyond simple payments, and why are its scripting limitations deliberate?
10 Bitcoin's Economic Model: Scarcity, Halving, and the Store of Value Thesis Is Bitcoin "digital gold," and what would have to be true for the store-of-value thesis to hold?

Progressive Project Milestones

In Chapter 6, you build a simplified blockchain in Python — a working chain of blocks with transaction validation, Merkle tree construction, and basic consensus rules. This is the structural skeleton of the progressive project: the data structures and validation logic that your eventual voting dApp will rely on. You will implement block creation, chain validation, and simple transaction processing, giving you hands-on understanding of the architecture that every blockchain shares.

Prerequisites

You should have completed Part I or have equivalent knowledge of hash functions, digital signatures, public-key cryptography, and the basic distributed consensus problem. Specifically, you need to understand what SHA-256 produces and why collisions matter (Chapter 2), how ECDSA digital signatures work at a conceptual level (Chapter 2), what the Byzantine Generals Problem is and why it is hard (Chapter 3), and what the CAP theorem says about distributed systems (Chapter 3). Python programming ability at the level demonstrated in Part I's code examples is assumed.

Chapters in This Part