You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -169,7 +226,8 @@ has been banned, that is, disabled! Why?
169
226
Because of security concerns, that is, fear of stack overflows.
170
227
What about `OP_DIV` for divisions (e.g. `4/2`)? Don't ask!
171
228
Ask who's protecting you from stack underflows?
172
-
So what's left for programming - not much really :-).
229
+
So what's left for programming - not much really other than checking
230
+
signatures and timelocks :-).
173
231
174
232
175
233
@@ -179,6 +237,7 @@ To be continued ...
179
237
180
238
181
239
240
+
182
241
## Standard Scripts
183
242
184
243
@@ -187,6 +246,11 @@ To be continued ...
187
246
| p2pk | Pay-to-pubkey |
188
247
| p2pkh | Pay-to-pubkey-hash |
189
248
| p2sh | Pay-to-script-hash |
249
+
250
+
251
+
252
+
## Standard Scripts with SegWit (Segregated Witness)
253
+
190
254
| p2wpkh | Pay-to-witness-pubkey-hash |
191
255
| p2wsh | Pay-to-witness-script-hash |
192
256
@@ -213,6 +277,7 @@ Books / Series
213
277
-[Programming Bitcoin from Scratch](https://github.com/jimmysong/programmingbitcoin) by Jimmy Song
214
278
-[Chapter 6 - Script](https://github.com/jimmysong/programmingbitcoin/blob/master/ch06.asciidoc) - How Script Works • Example Operations • Parsing the Script Fields • Combining the Script Fields • Standard Scripts • p2pk • Problems with p2pk • Solving the Problems with p2pkh • Scripts Can Be Arbitrarily Constructed • Conclusion
215
279
-[Chapter 8 - Pay-to-Script Hash](https://github.com/jimmysong/programmingbitcoin/blob/master/ch08.asciidoc) - Bare Multisig • Coding OP_CHECKMULTISIG • Problems with Bare Multisig • Pay-to-Script-Hash (p2sh) • Coding p2sh • Conclusion
0 commit comments