Mastering Bitcoin 3rd Edition - Programming the Open Blockchain
Released to Github under CC BY-NC-ND license.
Mastering Bitcoin: Programming the Open Blockchain (Third Edition) by Andreas M. Antonopoulos, David A. Harding is licensed under Attribution-NonCommercial-NoDerivatives 4.0 International
This license enables reusers to copy and distribute the material in any medium or format in unadapted form only, for noncommercial purposes only, and only so long as attribution is given to the creator. CC BY-NC-ND includes the following elements:
BY: credit must be given to the creator. NC: Only noncommercial uses of the work are permitted. ND: No derivatives or adaptations of the work are permitted.
Published by O'Reilly Media in paperback and ebook in December 2023
The third edition was written by David A. Harding, building on the work of Andreas M. Antonopoulos from the first two editions of the book.
A particular focus in the third edition has been modernizing the 2017 second edition text and the remaining 2014 first edition text. In addition, many concepts that are relevant to contemporary Bitcoin development in 2023 have been added:
Chapter 4 - Keys and Addresses We rearranged the address info so that we work through everything in historical order, adding a new section with P2PK (where "address" was "IP address"), refreshed the previous P2PKH and P2SH sections, and then added new sections for segwit/bech32 and taproot/bech32m.
Old Chapters 6 and 7 Text from previous versions of Chapter 6, "Transactions," and Chapter 7, "Advanced Transactions," has been rearranged and expanded across four new chapters:
Chapter 6 - Transactions We added almost entirely new text describing the structure of a transaction.
Chapter 7 - Authorization and Authentication We added new text about MAST, P2C, scriptless multisignatures, taproot, and tapscript.
Chapter 8 - Signatures We revised the ECDSA text and added new text about schnorr signatures, multisignatures, and threshold signatures.
Chapter 9 - Fees We added almost entirely new text about fees, RBF and CPFP fee bumping, transaction pinning, package relay, and CPFP carve-out.
Chapter 10 - Bitcoin Network
We added text about compact block relay, added a significant update to
bloom filters that better describes their privacy problems, and new text
about compact block filters.
Chapter 11 - Blockchain We added text about signet.
Chapter 12 - Mining We added text about BIP8 and speedy trial.
Appendixes We removed library-specific appendixes. After the appendix containing the original whitepaper, we added a new appendix describing how the implementation and properties of Bitcoin differ from those proposed in the whitepaper.
Major changes:
Minor Changes:
O'Reilly Editor:
Release and Github Editor:
Contributors (in alphabetic order):
Major changes:
Minor Changes:
O'Reilly Editor:
Release and Github Editor:
Contributors (in alphabetic order):
Published in paperback and ebook on July 20th 2017 by O'Reilly Media, worldwide. Released under CC-BY-NC-ND Creative Commons license
This release was published as the first print of the second edition of Mastering Bitcoin in June 2017, by O'Reilly Media.