|
1 | | -# Chapter 10: Embedding Bitcoin Scripts in P2SH Transactions |
| 1 | +# Chapter 12: Embedding Bitcoin Scripts in P2WSH Transactions |
2 | 2 |
|
3 | | -Bitcoin Script moves down several levels of abstraction, allowing you to minutely control the redemption conditions of Bitcoin funds. But, how do you actually incorporate those Bitcoin Scripts into the transactions you've been building to date? The answer is a new sort of Bitcoin transaction, the P2SH. |
| 3 | +Bitcoin Script moves down several levels of abstraction, allowing you |
| 4 | +to minutely control the redemption conditions of Bitcoin funds. But, |
| 5 | +how do you actually incorporate those Bitcoin Scripts into the |
| 6 | +transactions you've been building to date? The answer is a new sort of |
| 7 | +Bitcoin transaction, the P2WSH (formerly: the P2SH, which we'll also |
| 8 | +meet along the way). |
4 | 9 |
|
5 | 10 | ## Objectives for This Chapter |
6 | 11 |
|
7 | 12 | After working through this chapter, a developer will be able to: |
8 | 13 |
|
9 | | - * Design a P2SH Transaction |
10 | | - * Apply a P2SH Bitcoin Script |
| 14 | + * Design a P2WSH Transaction |
| 15 | + * Apply a P2WSH Bitcoin Script |
11 | 16 |
|
12 | 17 | Supporting objectives include the ability to: |
13 | 18 |
|
14 | | - * Understand the P2SH Script |
| 19 | + * Understand the P2WSH Script |
15 | 20 | * Understand the Multisig Script |
16 | 21 | * Understand the Various Segwit Variations of Scripts |
17 | | - * Understand How to Spend Funds Sent to a P2SH |
| 22 | + * Understand How to Spend Funds Sent to a P2WSH |
18 | 23 |
|
19 | 24 | ## Table of Contents |
20 | 25 |
|
21 | | -* [Section One: Understanding the Foundation of P2SH](10_1_Understanding_the_Foundation_of_P2SH.md) |
22 | | -* [Section Two: Building the Structure of P2SH](10_2_Building_the_Structure_of_P2SH.md) |
23 | | -* [Section Three: Running a Bitcoin Script with P2SH](10_3_Running_a_Bitcoin_Script_with_P2SH.md) |
24 | | -* [Section Four: Scripting a Multisig](10_4_Scripting_a_Multisig.md) |
25 | | -* [Section Five: Scripting a Segwit Script](10_5_Scripting_a_Segwit_Script.md) |
26 | | -* [Section Six: Spending a P2SH Transaction](10_6_Spending_a_P2SH_Transaction.md) |
| 26 | +* [Section One: Understanding the Foundation of P2WSH](12_1_Understanding_the_Foundation_of_P2WSH.md) |
| 27 | +* [Section Two: Building the Structure of P2WSH](12_2_Building_the_Structure_of_P2WSH.md) |
| 28 | +* [Section Three: Running a Bitcoin Script with P2WSH](12_3_Running_a_Bitcoin_Script_with_P2WSH.md) |
| 29 | +* [Section Four: Scripting a Multisig](12_4_Scripting_a_Multisig.md) |
| 30 | +* [Section Five: Scripting a Segwit Script](12_5_Scripting_a_Segwit_Script.md) |
| 31 | +* [Section Six: Spending a P2WSH Transaction](12_6_Spending_a_P2WSH_Transaction.md) |
0 commit comments