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

206 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Andreas M. Antonopoulos
3830fafc1d Merge branch 'develop' into feature/move_segwit 2018-02-02 17:10:05 -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
14cde54626 Add segwit to chapter 7 intro 2018-02-02 15:43:48 -08:00
Andreas M. Antonopoulos
8bdfb3b7da Remove end-of-chapter index reference 2018-02-02 15:42:28 -08:00
Will Binns
f0a57a71ff
Merge pull request #443 from philippgille/patch-1
Add detail to a benefit of P2SH
2018-01-25 00:15:59 +07:00
Philipp Gillé
bacbdd90aa
Fix typo
It should be "a specification" instead of "a specifications".
2017-12-31 18:49:18 +01:00
Philipp Gillé
080f12cdd3
Add detail to a benefit of P2SH
The bullet point previously sounded as if the long script was only stored in the UTXO set when not using P2SH, and stored on the blockchain when using P2SH. This might lead to people thinking it might lead to a smaller blockchain when the script is stored in the UTXO set *instead* of on the blockchain. But without P2SH the long script was stored both in the UTXO set *and* on the blockchain. With P2SH it's only stored on the blockchain, which is a clear advantage over not using P2SH.
2017-12-31 17:54:40 +01:00
Ed Posnak
ebbdbcf683 make binary and hex values consistent 2017-07-31 12:18:31 -04:00
nadams
886b3f3079 Edited ch07.asciidoc with Atlas code editor 2017-05-30 12:16:37 -07:00
Nick Adams
60b2563dd4 deleting some index entries 2017-05-18 15:46:40 -04:00
nadams
552cd7a132 Edited ch07.asciidoc with Atlas code editor 2017-05-18 12:11:06 -07:00
nadams
816b87962b Edited ch07.asciidoc with Atlas code editor 2017-05-18 12:09:49 -07:00
nadams
38d8fff5ef Edited ch07.asciidoc with Atlas code editor 2017-05-18 11:48:41 -07:00
nadams
546fb848f0 Edited ch07.asciidoc with Atlas code editor 2017-05-18 11:47:29 -07:00
Nick Adams
f2fb35dbb0 index edit block technology 2017-05-18 12:03:24 -04:00
nadams
65cf4422ed Edited ch07.asciidoc with Atlas code editor 2017-05-18 06:39:46 -07:00
nadams
0144be9500 Edited ch07.asciidoc with Atlas code editor 2017-05-18 06:38:32 -07:00
nadams
c988ce7b21 Edited ch07.asciidoc with Atlas code editor 2017-05-17 12:14:57 -07:00
nadams
fc845629d3 Edited ch07.asciidoc with Atlas code editor 2017-05-17 12:11:31 -07:00
nadams
66d0d5718f Edited ch07.asciidoc with Atlas code editor 2017-05-17 12:07:50 -07:00
nadams
c85b217907 Edited ch07.asciidoc with Atlas code editor 2017-05-10 13:49:07 -07:00
nadams
2c54ec448d Edited ch07.asciidoc with Atlas code editor 2017-05-10 13:46:46 -07:00
nadams
b17ca0dbfe Edited ch07.asciidoc with Atlas code editor 2017-05-10 13:46:10 -07:00
nadams
c6e9c6a039 Edited ch07.asciidoc with Atlas code editor 2017-05-10 13:00:08 -07:00
nadams
2aa88a4dda Edited ch07.asciidoc with Atlas code editor 2017-05-10 12:55:37 -07:00
Nick Adams
6055cd17f4 AU QC1 edits 2017-05-10 15:06:23 -04:00
Nick Adams
63543d007d PR edits through Ch 8 2017-05-10 10:53:34 -04:00
judymcconville@roadrunner.com
7ea7e20724 Edited ch07.asciidoc with Atlas code editor 2017-05-03 09:40:50 -07:00
judymcconville@roadrunner.com
49e9b0e485 Edited ch07.asciidoc with Atlas code editor 2017-05-03 09:40:30 -07:00
judymcconville@roadrunner.com
b96e794591 Edited ch07.asciidoc with Atlas code editor 2017-05-03 09:39:27 -07:00
judymcconville@roadrunner.com
0ab4cf1e83 Edited ch07.asciidoc with Atlas code editor 2017-05-03 09:37:12 -07:00
judymcconville@roadrunner.com
a7ec75fad4 Edited ch07.asciidoc with Atlas code editor 2017-05-01 12:51:09 -07:00
judymcconville@roadrunner.com
cabfa2ba93 Edited ch07.asciidoc with Atlas code editor 2017-05-01 12:49:35 -07:00
judymcconville@roadrunner.com
8b4c91032c Edited ch07.asciidoc with Atlas code editor 2017-05-01 12:48:29 -07:00
judymcconville@roadrunner.com
13fe9973b4 Edited ch07.asciidoc with Atlas code editor 2017-05-01 12:41:57 -07:00
judymcconville@roadrunner.com
c87b62c876 Edited ch07.asciidoc with Atlas code editor 2017-05-01 12:39:52 -07:00