1
0
mirror of https://github.com/bitcoinbook/bitcoinbook synced 2024-11-21 23:58:09 +00:00

Fixing some markup that stops Asciidoctor conversions and running intake script

This commit is contained in:
Matthew Hacker 2017-03-29 16:40:18 -04:00
parent 354e05afb0
commit b90b59a573
4 changed files with 129 additions and 91 deletions

View File

@ -258,7 +258,7 @@ Consider, for example, an SPV node that is interested in incoming payments to an
=== Bitcoin's Test Blockchains
You might be surprised to learn that there is more than one bitcoin blockchain. The "main" bitcoin blockchain, the one created by Satoshi Nakamoto on January 3rd 2009, the one with the genesis block we studied in this chapter, is called _mainnet_. ((("mainnet")))((("blockchain", "mainnet"))) There are other bitcoin blockchains that are used for testing purposes: at this time _testnet_, _segnet_ and _regtest_. Let's look at each in turn.((("testnet")))((("blockchain","testnet")))((("segnet")))
((("blockchain","segnet")))((("regtest")))(("blockchain","regtest")))
((("blockchain","segnet")))((("regtest")))((("blockchain","regtest")))
==== Testnet - Bitcoin's testing playground
@ -345,7 +345,7 @@ Since segwit was added to testnet3, it is no longer necessary to use segnet for
=== Regtest - The local blockchain
((("regtest")))(("blockchain","regtest")))((("testing")))Regtest, which stands for "Regression Testing" is a Bitcoin Core feature that allows you to create a local blockchain for testing purposes. Unlike testnet3, which is a public and share test blockchain, the regtest blockchains are intended to be run as closed systems for local testing. You launch a regtest blockchain from scratch, creating a local genesis block. You may add other nodes to the network, or run it with a single node only to test the Bitcoin Core software.
((("regtest")))((("blockchain","regtest")))((("testing")))Regtest, which stands for "Regression Testing" is a Bitcoin Core feature that allows you to create a local blockchain for testing purposes. Unlike testnet3, which is a public and share test blockchain, the regtest blockchains are intended to be run as closed systems for local testing. You launch a regtest blockchain from scratch, creating a local genesis block. You may add other nodes to the network, or run it with a single node only to test the Bitcoin Core software.
To start Bitcoin Core in regtest mode, you use the +regtest+ flag:

View File

@ -150,7 +150,7 @@ Once again, blockchain.info doesn't understand the second output. It marks it wi
----
OP_RETURN 4f41010001141b753d68747470733a2f2f6370722e736d2f466f796b777248365559
(decoded) "OA____u=https://cpr.sm/FoykwrH6UY
(decoded) "OA____u=https://cpr.sm/FoykwrH6UY
----
Let's retrieve the transaction using +bitcoin-cli+:

View File

@ -1,56 +1,109 @@
<section data-type="copyright-page" xmlns="http://www.w3.org/1999/xhtml">
<h1>Mastering Bitcoin</h1>
<p class="author">by <span class="firstname">Andreas </span> <span class="othername mi">M. </span> <span class="surname">Antonopoulos</span></p>
<p class="copyright">Copyright © 2016 O'Reilly Media. All rights reserved.</p>
<p class="printlocation">Printed in the United States of America.</p>
<p class="publisher">Published by <span class="publishername">O'Reilly Media, Inc.</span> , 1005 Gravenstein Highway North, Sebastopol, CA 95472.</p>
<p>O'Reilly books may be purchased for educational, business, or sales promotional use. Online editions are also available for most titles ( <a href="http://safaribooksonline.com">http://safaribooksonline.com</a> ). For more information, contact our corporate/institutional sales department: 800-998-9938 or <span data-type="email">corporate@oreilly.com</span> .</p>
<ul class="stafflist">
<li><span class="staffrole">Editor:</span> Tim McGovern</li>
<li><span class="staffrole">Production Editor:</span> FILL IN PRODUCTION EDITOR</li>
<li><span class="staffrole">Copyeditor:</span> FILL IN COPYEDITOR</li>
<li><span class="staffrole">Proofreader:</span> FILL IN PROOFREADER</li>
<li><span class="staffrole">Indexer:</span> FILL IN INDEXER</li>
<li><span class="staffrole">Interior Designer:</span> David Futato</li>
<li><span class="staffrole">Cover Designer:</span> Karen Montgomery</li>
<li><span class="staffrole">Illustrator:</span> Rebecca Demarest</li>
</ul>
<!--Add additional printedition spans below as needed.-->
<ul class="printings">
<li><span class="printedition">November 2016:</span> Second Edition</li>
</ul>
<!--Add additional revdate spans below as needed.-->
<div>
<h1 class="revisions">Revision History for the Second Edition</h1>
<ul class="releases">
<li><span class="revdate">2016-06-21:</span> First Early Release</li>
<li>2016-10-13: Second Early Release</li>
</ul>
</div>
<p class="errata">See <a href="http://oreilly.com/catalog/errata.csp?isbn=9781491954386">http://oreilly.com/catalog/errata.csp?isbn=9781491954386</a> for release details.</p>
<div class="legal">
<p>The OReilly logo is a registered trademark of OReilly Media, Inc. Mastering Bitcoin, the cover image, and related trade dress are trademarks of OReilly Media, Inc.</p>
<p>While the publisher and the author(s) have used good faith efforts to ensure that the information and instructions contained in this work are accurate, the publisher and the author(s) disclaim all responsibility for errors or omissions, including without limitation responsibility for damages resulting from the use of or reliance on this work. Use of the information and instructions contained in this work is at your own risk. If any code samples or other technology this work contains or describes is subject to open source licenses or the intellectual property rights of others, it is your responsibility to ensure that your use thereof complies with such licenses and/or rights. <!--PROD: Uncomment the following sentence if appropriate and add it to the
above para:--> <!--This book is not intended as [legal/medical/financial; use the appropriate
<section xmlns='http://www.w3.org/1999/xhtml' data-type='copyright-page'>
<h1>Mastering Bitcoin</h1>
<p class='author'>
by
<span class='firstname'>Andreas </span>
<span class='othername mi'>M. </span>
<span class='surname'>Antonopoulos</span>
</p>
<p class='copyright'>Copyright © FILL IN YEAR O&apos;Reilly Media. All rights reserved.</p>
<p class='printlocation'>Printed in the United States of America.</p>
<p class='publisher'>
Published by
<span class='publishername'>O&apos;Reilly Media, Inc.</span>
, 1005 Gravenstein Highway North, Sebastopol, CA 95472.
</p>
<p>
O&apos;Reilly books may be purchased for educational, business, or sales
promotional use. Online editions are also available for most titles (
<a href='http://oreilly.com/safari'>http://oreilly.com/safari</a>
). For more information, contact our corporate/institutional sales
department: 800-998-9938 or
<span data-type='email'>corporate@oreilly.com</span>
.
</p>
<ul class='stafflist'>
<li>
<span class='staffrole'>Editor:</span>
Tim McGovern
</li>
<li>
<span class='staffrole'>Production Editor:</span>
Nicholas Adams
</li>
<li>
<span class='staffrole'>Copyeditor:</span>
FILL IN COPYEDITOR
</li>
<li>
<span class='staffrole'>Proofreader:</span>
FILL IN PROOFREADER
</li>
<li>
<span class='staffrole'>Indexer:</span>
FILL IN INDEXER
</li>
<li>
<span class='staffrole'>Interior Designer:</span>
David Futato
</li>
<li>
<span class='staffrole'>Cover Designer:</span>
Karen Montgomery
</li>
<li>
<span class='staffrole'>Illustrator:</span>
Rebecca Demarest
</li>
</ul>
<!--Add additional printedition spans below as needed.-->
<ul class='printings'>
<li>
<span class='printedition'>June 2017:</span>
Second Edition
</li>
</ul>
<!--Add additional revdate spans below as needed.-->
<div>
<h1 class='revisions'>Revision History for the Second Edition</h1>
<ul class='releases'>
<li>
<span class='revdate'>YYYY-MM-DD:</span>
First Release
</li>
</ul>
</div>
<p class='errata'>
See
<a href='http://oreilly.com/catalog/errata.csp?isbn=9781491954386'>http://oreilly.com/catalog/errata.csp?isbn=9781491954386</a>
for release details.
</p>
<div class='legal'>
<p>
The OReilly logo is a registered trademark of OReilly Media, Inc.
Mastering Bitcoin, the cover image, and related trade dress are trademarks
of OReilly Media, Inc.
</p>
<p>
While the publisher and the author(s) have used good faith efforts to
ensure that the information and instructions contained in this work are
accurate, the publisher and the author(s) disclaim all responsibility for
errors or omissions, including without limitation responsibility for
damages resulting from the use of or reliance on this work. Use of the
information and instructions contained in this work is at your own risk.
If any code samples or other technology this work contains or describes is
subject to open source licenses or the intellectual property rights of
others, it is your responsibility to ensure that your use thereof complies
with such licenses and/or rights.
<!--PROD: Uncomment the following sentence if appropriate and add it to the
above para:-->
<!--This book is not intended as [legal/medical/financial; use the appropriate
reference] advice. Please consult a qualified professional if you
require [legal/medical/financial] advice.--></p>
</div>
<div class="copyright-bottom">
<p class="isbn">978-1-491-95438-6</p>
<p class="printer">[FILL IN]</p>
</div>
</section>
require [legal/medical/financial] advice.-->
</p>
</div>
<div class='copyright-bottom'>
<p class='isbn'>978-1-491-95438-6</p>
<p class='printer'>[FILL IN]</p>
</div>
</section>

View File

@ -1,25 +1,27 @@
Mastering Bitcoin, 1E / 9781449374044
RT # 184546
Title: Mastering Bitcoin
ISBN: 9781491954386
JIRA #: [ FILL IN ]
Stylesheet: animal
Toolchain: Atlas/csspdf
Atlas URL: http://atlas.labs.oreilly.com/books/1234000001802
Stylesheet: animal_theme_sass
Toolchain: Atlas 2
Incoming format: Asciidoc
Outgoing format: Asciidoc
Atlas URL: https://atlas.oreilly.com/oreillymedia/[ FILL IN ATLAS BOOK ID ]
Preliminary pagecount: TOTAL 284 with figs
Incoming format: [FILL IN]
Outgoing format: HTMLBook
Preliminary pagecount: TOTAL [ FILL IN / With or without figs? ]
Is this book in Early Release? Yes
Is this project in Early Release? [FILL IN YES/NO]
Resources
=========
** Figs: Illustrations is still working on the figs.
63 total. (0 are informal; 0 are inline.)
** Figs: Illustrations [ FILL IN: has posted the figs / is still working on the figs].
75 total. (0 are informal; 0 are inline.)
Once the figs are processed on /work, you'll need to add them to the book's repo in Git.
Once the figs are processed on /work, you'll need to add them to the book's repo
** Intake Report:
(Git repo) tools/intakereport.txt
@ -40,38 +42,21 @@ Resources
Notes from Tools:
=================
** Syntax highlighting: applied to 99 out of 197 code listings.
** I cleanup up a bunch of xref validity issues, but there are still a few remaining (I wasn't sure what the xrefs were suppose to point to). You will need to build with --invalid-ok on the command line until these are cleared up. They are the following:
<<bitcoin-commerce>> in ch01.asciidoc
<<signature>> in ch04.asciidoc
<<public_key>> in ch04.asciidoc
<<appdx_pycoin>> in ch03.asciidoc
<<orphan_transactions>> in ch06.asciidoc
** PROD: Add any authors to project that need to be added.
** Syntax highlighting: applied to [ FILL IN ] out of [ FILL IN ] code listings.
** Please let Tools know ASAP if there are any other global problems for which we can help automate a fix.
Notes from Dan:
Notes at arrival in production:
==================
Ready for intake. Leave this in Atlas 1 (asciidoc).
One of the latex equations in chapter 4 is failing: it's right after Figure 4-2. [FIXED --TOOLS] Regarding the math in this book, please look at each latex passthrough and, wherever
possible, reset the math using text and inline markup. There isn't a great deal of math in the book, and most if not all could be set using simple text and italics as
needed.
Some tables includes code that needs to be broken (so the table won't extend off the page).
Prod: there's a lot of code extending into the margin.
Chapters 10-12 are really an Appendixes. Please correct the markup. [DONE --TOOLS]
==================
Please let me know about any other issues.
Thanks,
Chris
[ FILL IN ]