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

4063 Commits

Author SHA1 Message Date
David Huie
4c98e406b3 Remove references to colors
The printed version of the book is printed in back and white, so
referencing the color "blue" does not make sense.
2018-02-28 17:40:42 -08:00
Lucas Betschart
47f8434774
Link to https://bitcoin.meetup.com directly 2018-02-21 18:08:03 +01:00
Yancy Ribbens
8704220047 Unable to compile without providing c++ version flag 2018-02-20 23:02:07 -06:00
Andreas M. Antonopoulos
8f744c6632
Merge pull request #507 from Yky/patch-3
fixed typto for minrelaytxfee: 0.0001 -> 0.00001
2018-02-14 14:59:55 -06:00
Andreas M. Antonopoulos
cc2a8e9790
Merge pull request #506 from Yky/patch-2
fixed typos: "an UTXO" -> "a UTXO"
2018-02-14 14:59:28 -06:00
Andreas M. Antonopoulos
ccf747d12e
Merge pull request #505 from Yky/patch-1
fixed typo a API -> an API
2018-02-14 14:59:09 -06:00
Andreas M. Antonopoulos
77d0ca8ee2
Merge pull request #504 from trustkim/patch-1
correct CLTV's note description: CLTV in the inputs -> CLTV in the outputs
2018-02-14 14:58:50 -06:00
Andreas M. Antonopoulos
35f1c62f19
Merge pull request #503 from MaloneGod/patch-1
correct an error line 24 'wif' to 'wif_compressed'
2018-02-14 14:58:17 -06:00
Andreas M. Antonopoulos
fe7f436ccc
Merge pull request #501 from philippgille/patch-4
Fix wrong hashing rate numbers
2018-02-14 14:57:53 -06:00
Andreas M. Antonopoulos
fd17f09a30
Merge pull request #499 from philippgille/patch-3
Clarify which tx get moved to mempool
2018-02-14 14:57:29 -06:00
Andreas M. Antonopoulos
678f2f3c2c
Merge pull request #497 from theStack/twofewerops
script opcode count IF vs. VERIFY: diff is two ops
2018-02-14 14:56:16 -06:00
Andreas M. Antonopoulos
bf4e86567a
Merge pull request #496 from rrthomas/develop
Fix issue #454: change adverbial “just like” → “just as”
2018-02-14 14:55:38 -06:00
Yky
0f226fbc07
fixed typto for minrelaytxfee: 0.0001 -> 0.00001 2018-02-10 11:48:22 +01:00
Yky
2060819feb
fixed typos: "an UTXO" -> "a UTXO" 2018-02-10 11:27:24 +01:00
Yky
d44105ac2e
fixed typo a API -> an API 2018-02-09 20:01:57 +01:00
trustkim
1cc6c60e28
correct CLTV's note description
I think CLTV is output-level locktime. so it should be corrected
2018-02-09 18:11:58 +09:00
MaloneGod
b01acc076b
correct an error line 24 'wif' to 'wif_compressed' 2018-02-08 20:42:50 +08:00
Philipp Gillé
cb2d1994bc
Fix wrong hashing rate numbers 2018-02-06 15:50:45 +01:00
Philipp Gillé
5ff4c255be
Clarify which tx get moved to mempool
Commit contains two changes:
- The text previously said that the transactions from the block that gets removed from the main chain (and replaced by another one) are re-inserted in the mempool. But many (if not most) transactions are part of both blocks, because they were found at the same time, meaning the miners probably inluded many of the same tansactions in their block. These transactions don't get re-inserted into the mempool because they're in "triangle" and thus now part of the main chain.
- The sentenced ended with "no longer in the main chain", which is a repitition of what was previously said:
  > as its parent "upside-down-triangle" is no longer on the longest chain

  But instead of removing that part of the sentence I rephrased it so that the goal of the action becomes even more clear, which is why the transactions get re-inserted into the mempool (like instead of saying "x gets done because y is not the case anymore" we say "x gets done because we want z to be the case")
2018-02-06 15:19:03 +01:00
theStack
cf87badbd2 script opcode count IF vs. VERIFY: diff is two ops
v1: HASH160 <expected hash> EQUALVERIFY <Bob's Pubkey> CHECKSIG
v2: HASH160 <expected hash> EQUAL IF <Bob's Pubkey> CHECKSIG ENDIF

ignoring the push-data ops (hash, pubkey),
v1 consists of [HASH160, EQUALVERIFY, CHECKSIG] -> 3 opcodes,
v2 consists of [HASH160, EQUAL, IF, CHECKSIG, ENDIF] -> 5 opcodes,
hence the difference is two opcodes.
2018-02-05 14:23:38 -05:00
Reuben Thomas
4e65d83bf5 Fix issue #454: change adverbial “just like” → “just as” 2018-02-04 20:42:08 +00:00
Andreas M. Antonopoulos
1ac8b375e6 Block 277,316 contains 419 TXs #469 2018-02-04 11:06:28 -06:00
Andreas M. Antonopoulos
d441f03e2a Python version wording #466 2018-02-04 10:56:21 -06:00
Andreas M. Antonopoulos
f66e7c5f0e Technical error. Refund to "Payer" #460 2018-02-04 10:54:39 -06:00
Andreas M. Antonopoulos
4cd7fc9af0 Wording "at anytime" to "at any time" #459 2018-02-04 10:52:15 -06:00
Andreas M. Antonopoulos
318e13c9b2 Wording #458 2018-02-04 10:48:57 -06:00
Andreas M. Antonopoulos
7422561304 Wording "spent whenever" to "spent at any time" #455 2018-02-04 10:45:15 -06:00
Andreas M. Antonopoulos
f22700f00e Wording #453 2018-02-04 10:36:56 -06:00
Andreas M. Antonopoulos
e319186321 State name is "FAILED". Wording #452 2018-02-04 10:35:38 -06:00
Andreas M. Antonopoulos
2d33df073e Wording #451 2018-02-04 10:33:25 -06:00
Andreas M. Antonopoulos
93645d1a5b Wording #450 2018-02-04 10:31:53 -06:00
Andreas M. Antonopoulos
69c00abc34 Moved example down and added tip #449
Example produces a compressed public key, which is not introduced as a concept until later. This results in a different address, causing confusion. Moved the example to after the section on compressed public keys and added a TIP to clarify
2018-02-04 10:26:45 -06:00
Andreas M. Antonopoulos
fe0e7f6059 Wording #423 2018-02-04 09:54:47 -06:00
Andreas M. Antonopoulos
9c783e1edf Clarified #421 2018-02-03 21:20:42 -06:00
Andreas M. Antonopoulos
8a9869f808 Fixed missing forward reference and clean up #420 2018-02-03 19:31:31 -06:00
Andreas M. Antonopoulos
53c74797f1 Removed the "math is scary" cliche #419 2018-02-03 19:27:34 -06:00
Andreas M. Antonopoulos
6e20da5e14 Removed mention of alternate stack, as it hasn't been defined #418 2018-02-03 19:20:38 -06:00
Andreas M. Antonopoulos
ff996795f9 Clarification of os.urandom "quality" caution #417 2018-02-03 19:17:35 -06:00
Andreas M. Antonopoulos
801374b344 Explain extra nonce and timestamp to exceed 32 bit nonce #414 2018-02-03 19:11:27 -06:00
Andreas M. Antonopoulos
5b035b14db Clarifying revocation fixes #406 2018-02-03 18:54:52 -06:00
Andreas M. Antonopoulos
e93a8c42b0 Clarifying revocation keys #406, fixes 2018-02-03 18:54:17 -06:00
Andreas M. Antonopoulos
19952cdec0 Cleaned up script, enclosed in quotes, removed spaces #403 2018-02-03 18:26:59 -06:00
Andreas M. Antonopoulos
26c381bf1c Merge branch 'develop' 2018-02-03 16:35:33 -06:00
Andreas M. Antonopoulos
f5c0df0ed5
Merge pull request #493 from theStack/isstandard
replace "isStandard" by "IsStandard" (ref. to Bitcoin Core function)
2018-02-03 14:05:04 -08:00
Andreas M. Antonopoulos
bd730b5570
wording 2018-02-03 16:04:39 -06:00
Andreas M. Antonopoulos
76e44f226e
Rewrite 3-key limit information 2018-02-03 16:02:41 -06:00
Andreas M. Antonopoulos
f2b0d31346
Merge pull request #485 from theStack/develop
corrected standard multisignature tx limit to N=3
2018-02-03 13:55:22 -08:00
Andreas M. Antonopoulos
3e727fb760 Merge remote-tracking branch 'github/develop' into develop 2018-02-03 15:38:46 -06:00
Andreas M. Antonopoulos
1ddd89b658 Several fixes to Segwit/P2SH #440
There were several errors in the address and hash calculations. Fixed errors and added command line examples to clarify the process
2018-02-03 15:38:34 -06:00
Andreas M. Antonopoulos
240b5b0c1c Better P2SH example with bx 2018-02-03 15:36:44 -06:00