1
0
mirror of https://github.com/bitcoinbook/bitcoinbook synced 2024-12-27 00:48:09 +00:00
Mastering Bitcoin by Andreas M. Antonopoulos
Go to file
David A. Harding 56c701a6ad C_Txes: edits (nearly complete rewrite)
This chapter, containing parts of previous chapters 6 and 7, is almost
entirely rewritten.

- Instead of introducing concepts in a somewhat arbitrary order, almost
  every section except the last three (coinbase txes, weight, and legacy
  serializitaion) follows the order of transaction fields as seen in
  a P2P serialized transaction.

- We leave details of scripts for the next chapter (authorization &
  authentication), signatures for the chapter after that, and fees and
  fee bumping for the chapter after that (reflecting the increased
  importance of fees).
2023-03-05 11:05:36 -10:00
chapters C_Txes: edits (nearly complete rewrite) 2023-03-05 11:05:36 -10:00
code CH04::vanity addresses: update, drop code, clarify security/privacy 2023-02-09 20:58:47 -10:00
images C_Txes: edits (nearly complete rewrite) 2023-03-05 11:05:36 -10:00
snippets Move getrawtx example to snippet for reuse 2023-03-05 11:05:36 -10:00
theme Edited theme/epub/layout.html with Atlas code editor 2023-02-22 10:34:29 -08:00
tools Adding the figure renaming report 2017-04-18 15:54:44 -04:00
.gitignore Revert CC-BY-SA material added since the second edition 2023-02-01 06:31:10 -10:00
.travis.yml Update .travis.yml 2017-11-18 08:02:35 +01:00
appdx-bips.asciidoc Revert CC-BY-SA material added since the second edition 2023-02-01 06:31:10 -10:00
appdx-bitcoinwhitepaper.asciidoc Revert CC-BY-SA material added since the second edition 2023-02-01 06:31:10 -10:00
appdx-bitcore.asciidoc Revert CC-BY-SA material added since the second edition 2023-02-01 06:31:10 -10:00
appdx-bx.asciidoc Remove segwit appendix from book 2018-02-02 17:09:29 -08:00
appdx-pycoin.asciidoc Revert CC-BY-SA material added since the second edition 2023-02-01 06:31:10 -10:00
appdx-scriptops.asciidoc Revert CC-BY-SA material added since the second edition 2023-02-01 06:31:10 -10:00
atlas.json Updated atlas.json 2023-02-22 10:48:15 -08:00
author_bio.html Edited author_bio.html with Atlas code editor 2023-02-14 05:35:19 -08:00
bech32m.asciidoc bips links 2022-06-26 15:22:09 +02:00
book.asciidoc Revert CC-BY-SA material added since the second edition 2023-02-01 06:31:10 -10:00
ch01.asciidoc CH01-03: edits for feedback from arufino (thanks!) 2023-02-09 20:58:47 -10:00
ch02.asciidoc CH01-03: edits for feedback from arufino (thanks!) 2023-02-09 20:58:47 -10:00
ch03.asciidoc Move getrawtx example to snippet for reuse 2023-03-05 11:05:36 -10:00
ch04.asciidoc CH04: edits suggested by arufino (thanks!) 2023-03-05 10:54:23 -10:00
ch05.asciidoc CH05::Implementation details: edits 2023-02-17 22:32:19 -10:00
ch06.asciidoc [Move only] Move content from CH06 & CH07 to new Transactions chapter 2023-03-05 10:58:12 -10:00
ch07.asciidoc [Move only] Move content from CH06 & CH07 to new Transactions chapter 2023-03-05 10:58:12 -10:00
ch08.asciidoc Revert CC-BY-SA material added since the second edition 2023-02-01 06:31:10 -10:00
ch09.asciidoc Revert CC-BY-SA material added since the second edition 2023-02-01 06:31:10 -10:00
ch10.asciidoc Anchors: rename "cup_of_coffee" to "spending_bitcoin" 2023-02-05 13:33:02 -10:00
ch11.asciidoc Revert CC-BY-SA material added since the second edition 2023-02-01 06:31:10 -10:00
ch12.asciidoc Revert CC-BY-SA material added since the second edition 2023-02-01 06:31:10 -10:00
colo.html Revert CC-BY-SA material added since the second edition 2023-02-01 06:31:10 -10:00
copyright.html Edited copyright.html with Atlas code editor 2023-02-22 10:35:06 -08:00
cover.html Edited cover.html with Atlas code editor 2023-02-16 09:30:25 -08:00
dedication.html Edited dedication.html with Atlas code editor 2017-06-07 07:57:12 -07:00
FIXME.md CH01::Mining: clarify that 99% of all bitcoins will be mined within a decade 2023-02-03 20:26:16 -10:00
glossary.asciidoc Revert CC-BY-SA material added since the second edition 2023-02-01 06:31:10 -10:00
ix.html Adding theme directory, boilerplate files, and readme to new repo 2015-10-31 19:10:32 -07:00
LICENSE New license for the book, as negotiated with the publisher O'Reilly media. Under CC-BY-SA, translations and other derivatives are now permitted 2015-03-02 15:18:15 -05:00
mast.asciidoc MAST Merkle Branches skeleton 2022-06-26 15:22:09 +02:00
praise.html bitcoin/Bitcoin capitalization changed everywhere 2021-10-25 23:51:17 +02:00
preface.asciidoc Revert CC-BY-SA material added since the second edition 2023-02-01 06:31:10 -10:00
README.md Revert CC-BY-SA material added since the second edition 2023-02-01 06:31:10 -10:00
schnorr.asciidoc New illustrations for ECDSA and Schnorr signatures 2022-06-26 15:22:09 +02:00
second_edition_changes.asciidoc bitcoin/Bitcoin capitalization changed everywhere 2021-10-25 23:51:17 +02:00
segwit_v1.asciidoc Revert CC-BY-SA material added since the second edition 2023-02-01 06:31:10 -10:00
tapscript.asciidoc bips links 2022-06-26 15:22:09 +02:00
third_edition_changes.asciidoc Third edition changelog 2022-06-26 15:22:09 +02:00
titlepage.html Edited titlepage.html with Atlas code editor 2023-02-13 12:57:13 -08:00
toc.html Edited toc.html with Atlas code editor 2016-06-21 05:53:09 -07:00

Code Examples: travis_ci

Mastering Bitcoin

Mastering Bitcoin is a book for developers, although the first two chapters cover bitcoin at a level that is also approachable to non-programmers. Anyone with a basic understanding of technology can read the first two chapters to get a great understanding of bitcoin.

This repository contains the complete first edition, second print, published in December 2014, and the complete second edition, second print, published in July 2017, as published by O'Reilly Media in paperback and ebook formats.

Issues, Errors, Comments, Contributions

If you know how to make a pull request to contribute a fix, please write the correction and use a pull request to submit it for consideration against the develop branch. If you are making several changes, please use a separate commit for each to make it easier to cherry-pick or resolve conflicts. Otherwise, please submit an issue, explaining the error or comment. If you would like to contribute extensive changes or new material, please coordinate with the author first; contact information can be found on his web site: https://antonopoulos.com/

Reading this book (Where is the PDF?)

To read this book, see book.asciidoc. Click on each of the chapters to read in your browser. This is not as convenient as reading a PDF or an ebook on your e-reader, for which there is a cost (see below).

The 2nd edition of "Mastering Bitcoin" is available under a CC-BY-NC-ND license, not a CC-BY-SA license.

It is deliberately not available as a PDF. Why? Because a PDF is a "derivative" product, which is what the ND prohibits. That's because the publisher (O'Reilly Media) is a for-profit publisher who puts considerable resources behind distributing the book. The book will eventually (within a year of publication) be released under a CC-BY-SA license, at which point the PDF format and translations will be allowed. Until then, making PDF copies violates the license and interferes with the publisher's (and the author's) ability to make a living. Furthermore, if you make it so the publisher can't recoup their investment, they will delay the release into CC-BY-SA.

Please don't create or distribute PDFs until the license is changed to CC-BY-SA. It is rare for a publisher to even agree to a CC-BY-NC-ND license. Don't make it harder for free culture by violating even that, already generous, license.

Published

"Mastering Bitcoin (Second Edition, Second Print): Programming the Open Blockchain" is now available in paperback and ebook formats by many book sellers worldwide:

Mastering Bitcoin (First Edition Second Print) is also published in Japanese, Korean, and Chinese (Simplified) by publishers in the respective countries.

Mastering Bitcoin (Open Edition), based on the First Edition, has been translated by volunteers into more than a dozen languages. Translations are available for free under CC-BY-SA license at: https://bitcoinbook.info

Source

The book's source code, found in this repository, is kept synchronized with the print and ebook editions.

Mastering Bitcoin - First Edition

The tags Edition1Print1, Edition1Print2 correspond to the two existing prints of Mastering Bitcoin (First Edition) as published by O'Reilly Media.

Creative Commons License
Mastering Bitcoin - First Edition by Andreas M. Antonopoulos LLC is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

This "Free Culture" compliant license was approved by my publisher O'Reilly Media (http://oreilly.com), who understands the value of open source. O'Reilly Media is not just the world's best publisher of technical books, but is also a strong supporter of this open culture and the sharing of knowledge.

Thank you O'Reilly Media!

Mastering Bitcoin - Second Edition

The tags, second_edition_print_1 and second_edition_print2, correspond to the first (June 8th 2017) and second (July 20th 2017) print of Mastering Bitcoin (Second Edition), as published by O'Reilly Media.

Creative Commons License
Mastering Bitcoin - Second Edition by Andreas M. Antonopoulos LLC is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.

It is expected that the second edition will be released under a CC-BY-SA license within a year of publication.

Translations

If you are interested in translating this book, please join our team of volunteers at: https://www.transifex.com/bitcoinbook/mastering-bitcoin/

Free copies of "Mastering Bitcoin Open Edition," translated in many languages, can be downloaded from: https://bitcoinbook.info