1
0
mirror of https://github.com/bitcoinbook/bitcoinbook synced 2024-11-18 06:08:18 +00:00
Commit Graph

3445 Commits

Author SHA1 Message Date
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
Andreas M. Antonopoulos
2fcc1db70f wording 2018-02-03 15:36:16 -06:00
Andreas M. Antonopoulos
4ebfce27d2 wording 2018-02-03 15:35:51 -06:00
theStack
2f1015c23f s/isStandard/IsStandard/ (ref. to Bitcoin Core) 2018-02-03 05:58:52 -05:00
theStack
62d034b884 Merge remote-tracking branch 'upstream/develop' into develop 2018-02-03 05:32:31 -05:00
theStack
41014a8c3a Revert "corrected standard multisignature tx limit to N=3"
This reverts commit 1b2eb07bf1.
2018-02-03 05:28:31 -05:00
Andreas M. Antonopoulos
9f674c3cfe
Link book.asciidoc in README 2018-02-02 21:29:27 -06:00
Andreas M. Antonopoulos
4c8da579d6
Merge pull request #491 from cclauss/whitespace-fixes
Whitespace fixes to placate flake8
2018-02-02 19:27:40 -08:00
Andreas M. Antonopoulos
7a7cad2f93 Merge branch 'feature/move_segwit' into develop 2018-02-02 17:10:30 -08:00
Andreas M. Antonopoulos
3830fafc1d Merge branch 'develop' into feature/move_segwit 2018-02-02 17:10:05 -08:00
Andreas M. Antonopoulos
3bf14a5e5d Remove segwit appendix from book
Renumbered index references in subsequent chapters
2018-02-02 17:09:29 -08:00
Andreas M. Antonopoulos
06158f95bf Moved segwit appendix to ch07 2018-02-02 17:08:49 -08:00
Andreas M. Antonopoulos
32464c86dd Improved P2SH example
Showing use of bx to produce script-hash
2018-02-02 16:59:08 -08:00
Andreas M. Antonopoulos
7dfaf91542 Missing period at end of sentence 2018-02-02 16:58:14 -08:00
Andreas M. Antonopoulos
89ff9a6e82 Improved wording 2018-02-02 16:57:57 -08:00
Andreas M. Antonopoulos
6d1f105049 Added BIP-173 bech32 address section 2018-02-02 16:57:41 -08:00
cclauss
ecd13d3523 whitespace fixes to placate flake8 2018-02-03 01:33:46 +01:00
Andreas M. Antonopoulos
00851c44a8 Improve clarity of P2WSH to P2SH comparison 2018-02-02 15:46:46 -08:00
Andreas M. Antonopoulos
452bf49740 Correct wording to Segwit outputs 2018-02-02 15:46:22 -08:00