1. Introduction 12. How Bitcoin Works 153. Bitcoin Core: The Reference Implementation 314. Keys, Addresses 555. Wallets 936. Transactions 1177. Advanced Transactions and Scripting 1498. The Bitcoin Network 1719. The Blockchain 19510. Mining and Consensus 21311. Bitcoin Security 26912. Blockchain Applications 275A. The Bitcoin Whitepaper by Staoshi Nakamoto 305B. Transaction Script Language Operators, Constants, and Symbols 317C. Bitcoin Improvement Proposals 323D. Segregated Witness 331E. Bitcore 345F. pycoin, ku, and tx 349G. Bitcoin Explorer (bx) Commands 359Index 363