1
0
mirror of https://github.com/bitcoinbook/bitcoinbook synced 2025-01-11 00:01:03 +00:00

Merge pull request #847 from krupawan5618/patch-6

Update ch07.asciidoc - Removed Public Key for unlocking script for P2SH
This commit is contained in:
Will Binns 2021-03-10 08:34:20 +01:00 committed by GitHub
commit 8f059d8330
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,12 +30,11 @@ A locking script setting a 2-of-3 multisignature condition looks like this:
2 <Public Key A> <Public Key B> <Public Key C> 3 CHECKMULTISIG 2 <Public Key A> <Public Key B> <Public Key C> 3 CHECKMULTISIG
---- ----
The preceding locking script can be satisfied with an unlocking script containing pairs of signatures and public keys: The preceding locking script can be satisfied with an unlocking script containing any combination of two signatures from the private keys corresponding to the three listed public keys:
---- ----
<Signature B> <Signature C> <Signature B> <Signature C>
---- ----
or any combination of two signatures from the private keys corresponding to the three listed public keys.
The two scripts together would form the combined validation script: The two scripts together would form the combined validation script: