1
0
mirror of https://github.com/bitcoinbook/bitcoinbook synced 2024-12-24 23:48:32 +00:00
Commit Graph

281 Commits

Author SHA1 Message Date
David A. Harding
d9a730a512 CH12: Median Time Past: move and update 2023-06-05 16:21:45 -10:00
David A. Harding
e145b6fd29 CH12: add BIP8 and speedy trial 2023-06-05 16:14:31 -10:00
David A. Harding
0294abbcf1 CH12: Make timeless by removing mentions of block 277,315
Previously, the text went into a lot of detail about block 277,315,
which was a long time ago.  We generalize the text to make it
perpetually current (barring a hard fork).
2023-06-05 16:12:34 -10:00
David A. Harding
4fa8a1590c CH12: replace std tx policy with only consensus tx rules
The previous list mixed consensus rules that transaction must follow
with standard transaction policy, which I think was confusng for readers
and also a problem in a later reference where we claim that all
transactions in a block must follow the rules (true for consensus; false
for policy).
2023-06-05 16:11:46 -10:00
David A. Harding
cb15241574 CH12: mention BIP320-style header extension 2023-06-05 16:11:40 -10:00
David A. Harding
6613f367c4 CH12: Remove "other ways to soft fork"
This short subsection described segwit's use of always-true
scriptPubKeys as special.  It didn't mention the similar mechanism used
for BIP16 P2SH.  It also doesn't mention block-focused changes like
BIP32 and BIP34, or non-script changes like BIP66, BIP68, and BIP113.
I think it should either be greatly expanded or removed, and removing is
easier right now.  :-)
2023-06-05 16:11:26 -10:00
David A. Harding
0909808e82 CH12: Futureproof by removing table & graphics of hashrate changes 2023-06-05 16:11:21 -10:00
David A. Harding
9f94188e3c CH12: s/fingerprint/(digest|commitment)/
Makes the test more consistent with other changes made in previous
chapters.
2023-06-05 16:11:16 -10:00
David A. Harding
5d8c2c494d CH12: s/unlocking script/scriptSig/ 2023-06-05 16:11:10 -10:00
David A. Harding
2b4a4220e2 CH12: s/Smores signature/Foocoin/
"Smore" sounds like "Schnorr", which could be confusing.  Also, we
have upgraded signatures now without a soft fork, so the example is
confusing.  Although we could add another coin with a soft fork (sort
of), it seems a lot less likely to me, so I think it's a better cadidate
for this section.
2023-06-05 16:11:05 -10:00
David A. Harding
c10f5664a3 CH12: Add note about settlement being time-based not conf-based 2023-06-05 16:11:00 -10:00
David A. Harding
a0fc8f62eb CH12: Introduce versionbits as the replacement for version field 2023-06-05 16:10:55 -10:00
David A. Harding
d17edeaa18 CH12: s/transaction pool/mempool/ 2023-06-05 16:10:49 -10:00
David A. Harding
19107a26bc CH12: clarify that mining is not a race 2023-06-05 15:53:29 -10:00
David A. Harding
cf72b00e45 CH12: mining isn't a difficult problem
It's a simple problem whose solution requires many iterations.
2023-06-05 15:53:29 -10:00
David A. Harding
668827b1cb CH12: introduce the term "subsidy" 2023-06-05 15:53:29 -10:00
David A. Harding
1f8c932436 CH12: You can spend bitcoins even if they aren't confirmed 2023-06-05 15:53:29 -10:00
David A. Harding
db4de49491 CH12: miners don't necessary validate 2023-06-05 15:53:25 -10:00
David A. Harding
323922aef1 CH12: replace dated mining pool example with a timeless example 2023-06-05 15:53:25 -10:00
David A. Harding
2735c25bfa CH12: s/reconverge/(converge|reorganize)/
- When appropriate, use the current preferred technical term
  "reorganize" to describe what a node does when the block at the tip of
  the chain is removed.

- Otherwise, just use "converge".
2023-06-05 15:53:25 -10:00
David A. Harding
2866ffc9fb CH12: Drop mention of orphan blocks
- Orphan blocks are no longer a thing in Bitcoin Core since
  headers-first download was implemented (version 0.10).  Your peers
  know what blocks you have; if they send you any block that doesn't
  connect to one of those blocks, you just drop the connection to them.
2023-06-05 15:53:25 -10:00
David A. Harding
5cc6c4541d CH12: s/main blockchain/best blockchain/ 2023-06-05 15:53:25 -10:00
David A. Harding
561fe16041 CH12: style: s/BIP-/BIP/ 2023-06-05 15:53:25 -10:00
David A. Harding
0eb7cacd34 CH12: reflow text so that future diffs will be more readable 2023-06-05 15:28:41 -10:00
David A. Harding
7291582cb0 [Move only] Move CH07 MTP section to Mining chapter 2023-04-09 05:33:18 -10:00
David A. Harding
f3689a028a Update cross-references 2023-03-05 11:05:36 -10:00
David A. Harding
33402f685d Anchors: rename "cup_of_coffee" to "spending_bitcoin" 2023-02-05 13:33:02 -10:00
David A. Harding
2f0d7d8c3a Revert CC-BY-SA material added since the second edition
The commit ab5ae32bae is the last commit
for the second edition, so all changes since then are dropped except for
several commits for the third edition authored by Andreas Antonopoulos.

No attempt is made to remove CC-BY-SA or other licensed content present
in the already-published first or second editions.

This revert may itself be reverted for versions of the book published
under CC-BY-SA.
2023-02-01 06:31:10 -10:00
Andreas M. Antonopoulos
a3229bbbc0 bitcoin/Bitcoin capitalization changed everywhere 2021-10-25 23:51:17 +02:00
Dan Raviv
b6c5b3ab1f Remove reference to outdated constant MAX_BLOCK_SIZE.
Resolves #918
2021-04-10 12:31:38 +03:00
Will Binns
53ec800983
Merge pull request #901 from rating89us/patch-81
ch10: unmodified/unupgraded/nonupgraded -> non-upgraded
2021-04-08 12:21:09 +02:00
Will Binns
978400ee3b
Merge pull request #900 from rating89us/patch-78
ch10: remove mining pool account
2021-04-08 12:20:30 +02:00
Will Binns
747b0d0b8d
Merge pull request #899 from rating89us/patch-76
ch10: candidate block -> candidate blocks
2021-04-08 12:19:51 +02:00
rating89us
d50f8b5bbe
ch10: unmodified/unupgraded/nonupgraded -> non-upgraded 2021-04-02 13:37:13 +02:00
rating89us
7eb65642f7
ch10: remove mining pool account 2021-03-31 15:08:14 +02:00
rating89us
6ce5464f1f
ch10: candidate block -> candidate blocks 2021-03-30 22:34:25 +02:00
rating89us
5f67241855
ch10: removing period from "I am Satoshi Nakamoto" 2021-03-30 20:34:09 +02:00
rating89us
8fb014f20e ch10: update total hashing power list and charts 2021-03-11 04:13:52 +01:00
Will Binns
f47d4379d4
ch10: s/100/82/
Closes #790
2021-03-10 10:21:58 +01:00
Will Binns
eb4851d113
Merge pull request #865 from rating89us/patch-66
ch10: stale block -> fix text, update diagrams & subtitle
2021-03-10 08:38:49 +01:00
Will Binns
3190b5a49b
ch10: Update size of blockchain 2021-03-09 22:17:44 +01:00
Will Binns
d10161ab82
ch10: Update hashlib excerpt for Python 3 2021-03-09 21:24:41 +01:00
Will Binns
65bd520926
ch10: Update result for use of Python 3 2021-03-09 19:17:32 +01:00
rating89us
4dcaf5b1f8 ch10: stale block -> fix text, update diagrams & subtitle 2021-03-08 22:15:11 +01:00
Will Binns
ea93a3da15
Merge pull request #850 from rating89us/patch-56
ch10: equal to or lower than the bitcoin network's target
2021-03-08 14:31:45 +01:00
Will Binns
db0f37b731
Merge pull request #851 from rating89us/patch-58
ch10: changes to the analogy of a dice game
2021-03-08 14:15:12 +01:00
Will Binns
947f18ca69
Merge pull request #852 from rating89us/patch-59
ch10: add hard/soft forks to tip
2021-03-08 13:57:30 +01:00
Will Binns
99a0114ad5
Merge pull request #853 from rating89us/patch-60
ch10: candidate blocks -> winning/valid blocks; some other fixes
2021-03-08 13:56:53 +01:00
Will Binns
b5e2f83eeb
Merge pull request #855 from rating89us/patch-61
ch10: fixing diagrams and text of blockchain fork event
2021-03-08 13:55:32 +01:00
rating89us
7bc0385c3a
ch10: coinbase -> coinbase data 2021-03-06 17:40:07 +01:00