Skip to content

Commit 5eb32b6

Browse files
committed
first iteration (unedited) or new P2SH/P2WSH section
1 parent a1a52e6 commit 5eb32b6

3 files changed

Lines changed: 255 additions & 109 deletions
Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,31 @@
1-
# Chapter 10: Embedding Bitcoin Scripts in P2SH Transactions
1+
# Chapter 12: Embedding Bitcoin Scripts in P2WSH Transactions
22

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).
49

510
## Objectives for This Chapter
611

712
After working through this chapter, a developer will be able to:
813

9-
* Design a P2SH Transaction
10-
* Apply a P2SH Bitcoin Script
14+
* Design a P2WSH Transaction
15+
* Apply a P2WSH Bitcoin Script
1116

1217
Supporting objectives include the ability to:
1318

14-
* Understand the P2SH Script
19+
* Understand the P2WSH Script
1520
* Understand the Multisig Script
1621
* 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
1823

1924
## Table of Contents
2025

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)

docs/12_1_Understanding_the_Foundation_of_P2SH.md

Lines changed: 0 additions & 97 deletions
This file was deleted.

0 commit comments

Comments
 (0)