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

4788 Commits

Author SHA1 Message Date
David A. Harding
bece720d4f Appendixes: update BIPs and Script; remove Bitcore
- BIPs: it's silly to repeat all BIPs in the book, especially when an
  increasing number have never been used or are just silly.  Instead,
  use the list of implemented BIPs from the Bitcoin Core project, which
  represents a list of mostly interesting BIPs.

- Add OP_CHECKSIGADD from tapscript to the Script copypasta.

- Bitcore removed per outline
2023-06-28 15:55:54 -10:00
David A. Harding
6ac0122731 CH07-13: edits for arufino feedback (thanks!) 2023-06-28 15:19:52 -10:00
David A. Harding
02d0bdbd62 CH08: add anchor for MAST 2023-06-28 14:31:38 -10:00
David A. Harding
ea1a64bd61 CH14: small edits for style and consistency 2023-06-28 14:30:14 -10:00
David A. Harding
aeb9f81f26 CH14: s/bitcoin/Bitcoin/ 2023-06-28 14:30:14 -10:00
David A. Harding
8ddd89270b CH14: add details about modern colored coin protocols (rgb/taro) 2023-06-28 14:30:14 -10:00
David A. Harding
372ef38fdf CH14: remove most of Colored Coined text 2023-06-28 14:28:25 -10:00
David A. Harding
c21794b44f CH14: reflow text so that future diffs will be more readable 2023-06-26 09:33:13 -10:00
harding
ab9d7cbcc3 Updated atlas.json 2023-06-06 18:00:17 -07:00
David A. Harding
77942dd2e1 CH11: edits for consistency with rest of the book
- s/bitcoin/Bitcoin/ when appropriate
- Proof of work is only part of security
- Mining is separate from verificatino
- Kill BIP38 encrypted private keys section (mention seeds instead)
2023-06-06 14:59:06 -10:00
David A. Harding
be60e2c779 CH13: reflow text so that future diffs will be more readable 2023-06-06 14:59:06 -10:00
harding
677628d6a3 Updated atlas.json 2023-06-05 19:27:38 -07:00
David A. Harding
06fae7d78e CH12: small edits for accuracy, consistency, voice, and grammar 2023-06-05 16:24:25 -10:00
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
harding
ac428e7033 Updated atlas.json 2023-05-19 16:23:47 -07:00
David A. Harding
a04895d297 CH11: minor edits 2023-05-19 13:22:57 -10:00
David A. Harding
16c8376f77 CH11: update examples for modern Bitcoin Core 2023-05-19 13:22:57 -10:00
David A. Harding
a904ea4db9 CH11: described signets
- Describe the problem with testnet3
- BIP325 signet as a solution
- Using signet(s)
2023-05-19 13:22:57 -10:00
David A. Harding
670a780367 CH11: remove section about segnet (segwit test network)
Main advantage of describing this historic feature was the idea that it
might be used again, but I think signets have fully replaced the future
usage.
2023-05-19 13:22:57 -10:00
David A. Harding
b7387220da CH11: s/SPV node/SPV client/ 2023-05-19 13:22:57 -10:00
David A. Harding
94c9bd7c6e CH11: update para about height not being stored in blocks 2023-05-19 13:22:57 -10:00
David A. Harding
747d6c9b10 CH11: reflow text so that future diffs will be more readable 2023-05-19 13:22:57 -10:00
David A. Harding
f264bd6625 Meta: remove unused file (segwit_v1.asciidoc) 2023-05-19 13:22:57 -10:00
harding
f84fc54521 Updated atlas.json 2023-05-18 18:58:31 -07:00
David A. Harding
94c674a42e CH10: minor edits 2023-05-18 15:56:29 -10:00
David A. Harding
a4609f5680 CH10: transaction pools: use modern term "mempool" instead 2023-05-18 15:55:38 -10:00
David A. Harding
d850cc3414 CH10: network privacy: drop BIP150/151
Those particular BIPs are abandoned.  BIP324 takes the place of BIP151,
but a lot of this section refers to authentication, which is not in
BIP324.  Also, this section mentions implementation, but BIP324 has not
been deployed as of this writing.
2023-05-18 15:55:38 -10:00