From f623a5b1729ed3001dda75f17dca92d96fcd9c78 Mon Sep 17 00:00:00 2001 From: Clare Laylock Date: Thu, 2 Nov 2023 21:10:05 -0400 Subject: [PATCH] index --- ch01_intro.adoc | 7 ++----- ch07_authorization-authentication.adoc | 2 ++ ch10_network.adoc | 22 +++++++++++----------- ch11_blockchain.adoc | 3 +++ ch12_mining.adoc | 2 +- theme/pdf/pdf.css | 4 ++-- 6 files changed, 21 insertions(+), 19 deletions(-) diff --git a/ch01_intro.adoc b/ch01_intro.adoc index 44ca370e..f937a240 100644 --- a/ch01_intro.adoc +++ b/ch01_intro.adoc @@ -100,7 +100,7 @@ Although these earlier digital currencies worked, they were centralized and, as Bitcoin was((("Bitcoin", "history of")))((("history", "of Bitcoin", secondary-sortas="Bitcoin")))((("Nakamoto, Satoshi"))) first described in 2008 with the publication of a paper titled "Bitcoin: A Peer-to-Peer Electronic Cash System,"footnote:[https://oreil.ly/KUaBM["Bitcoin: A Peer-to-Peer Electronic Cash System"], -Satoshi Nakamoto (see <>).] written under the +Satoshi Nakamoto.] written under the alias of Satoshi Nakamoto (see <>). Nakamoto combined several prior inventions such as digital signatures and Hashcash to create a completely decentralized electronic cash system that does not rely on @@ -122,11 +122,8 @@ increased exponentially, and their combined computational power now exceeds the combined number of computing operations of the world's top supercomputers. -++++ -

+ Satoshi Nakamoto withdrew from the public in April 2011, leaving the responsibility of developing the code and network to a thriving group of volunteers. The identity of the person or people behind Bitcoin is still unknown. However, neither Satoshi Nakamoto nor anyone else exerts individual control over the Bitcoin system, which operates based on fully transparent mathematical principles, open source code, and consensus among participants. The invention itself is groundbreaking and has already spawned new science in the fields of distributed computing, economics, and econometrics. -

-++++ .A Solution to a Distributed Computing Problem **** diff --git a/ch07_authorization-authentication.adoc b/ch07_authorization-authentication.adoc index 68809541..16d5a02b 100644 --- a/ch07_authorization-authentication.adoc +++ b/ch07_authorization-authentication.adoc @@ -843,6 +843,7 @@ halts execution if one of the following occurs: * The top stack item is greater than the transaction's lock time field. * The sequence field of the input is 0xffffffff. +[role="less_space pagebreak-before"] [[timelock_conflicts]] .Timelock Conflicts **** @@ -1676,6 +1677,7 @@ our tree with this knowledge as shown in <>. .A MAST with the most-expected script in the best position. image::images/mbc3_0707.png["A MAST with the most-expected script in the best position"] +[role="less_space pagebreak-before"] Now we only need to provide two commitments for the common case (saving 32 bytes), although we still need three commitments for the less common cases. If you know (or can guess) the probabilities of diff --git a/ch10_network.adoc b/ch10_network.adoc index 3432d67f..f50fbee9 100644 --- a/ch10_network.adoc +++ b/ch10_network.adoc @@ -937,27 +937,27 @@ differences:

0

-

6

+

6

-

1

-

10

+

1

+

10

-

2

-

8

+

2

+

8

-

3

-

6

+

3

+

6

-

4

-

4

+

4

+

4

-

5

-

2

+

5

+

2

diff --git a/ch11_blockchain.adoc b/ch11_blockchain.adoc index b3cf4020..bc67e4d8 100644 --- a/ch11_blockchain.adoc +++ b/ch11_blockchain.adoc @@ -439,6 +439,9 @@ An extended comment in Bitcoin Core's source code, reproduced here with slight r significant problem in the design of Bitcoin's duplication of odd elements in its merkle tree: +++++ +

Bitcoin Core src/consensus/merkle.cpp

+++++ [quote,Bitcoin Core src/consensus/merkle.cpp] ____ WARNING! If you're reading this because you're learning about crypto diff --git a/ch12_mining.adoc b/ch12_mining.adoc index 2f0cb578..4a7475c1 100644 --- a/ch12_mining.adoc +++ b/ch12_mining.adoc @@ -397,7 +397,7 @@ The calculation can be seen in function +GetBlockSubsidy+ in the Bitcoin Core client, as shown in <>. [[getblocksubsidy_source]] -.Calculating the block reward—Function [.plain]#+GetBlockSubsidy+,# Bitcoin Core Client, main.cpp +.Calculating the block reward—Function [.plain]#+GetBlockSubsidy+,# Bitcoin Core Client, [.plain]#main.cpp# ==== [role="c_less_space"] [source, cpp] diff --git a/theme/pdf/pdf.css b/theme/pdf/pdf.css index fbd0f843..d90a52d7 100644 --- a/theme/pdf/pdf.css +++ b/theme/pdf/pdf.css @@ -21,11 +21,11 @@ pre[data-type="programlisting"] { /*--Adjusting padding in index to avoid bad break--*/ @page index:first { /* first page */ - padding-bottom: 0.1in; + padding-bottom: 0.4in; } @page index: { - padding-bottom: 0.1in; + padding-bottom: 0.3in; }