“Mastering Bitcoin” is a book by Andreas M. Antonopoulos giving an introduction to the fundamental concepts and technical details of Bitcoin. Mastering Bitcoin was published in 2014, and an updated 2nd Edition was published in 2017.
The first edition “Mastering Bitcoin: Unlocking Digital Cryptocurrencies” was published in December 2014 by O'Reilly Media. A second edition titled “Mastering Bitcoin: Prgramming the Open Blockchain” was published in July 2017, also by O'Reilly Media.
Mastering Bitcoin was created per an opensource process and is licensed under a CC BY-SA 4.0 license. The source code of the book can be found on GitHub.