mirror of
https://github.com/ChristopherA/Learning-Bitcoin-from-the-Command-Line.git
synced 2025-06-08 16:36:32 +00:00
Update 8_2_Building_a_Bitcoin_Script_with_P2SH.md
This commit is contained in:
parent
8c15c4d65b
commit
ffc01ab2f6
@ -20,6 +20,7 @@ To lock this transaction do the following:
|
|||||||
5. `<hashed99Equal>` = "3f58b4f7b14847a9083694b9b3b52a4cea2569ed"
|
5. `<hashed99Equal>` = "3f58b4f7b14847a9083694b9b3b52a4cea2569ed"
|
||||||
2. Save `<serialized99Equal>` for future reference as the `redeemScript`.
|
2. Save `<serialized99Equal>` for future reference as the `redeemScript`.
|
||||||
3. Produce a P2SH locking script that includes the hashed script (`OP_HASH160 <hashed99Equal> OP_EQUAL`).
|
3. Produce a P2SH locking script that includes the hashed script (`OP_HASH160 <hashed99Equal> OP_EQUAL`).
|
||||||
|
1. `scriptPubKey` = a9143f58b4f7b14847a9083694b9b3b52a4cea2569ed87
|
||||||
4. Create a transaction using that `scriptPubKey`.
|
4. Create a transaction using that `scriptPubKey`.
|
||||||
|
|
||||||
### Run the First Round of Validation
|
### Run the First Round of Validation
|
||||||
|
Loading…
x
Reference in New Issue
Block a user