mirror of
https://github.com/bitcoinbook/bitcoinbook
synced 2024-11-13 19:38:56 +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:
commit
8f059d8330
@ -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
|
||||
----
|
||||
|
||||
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>
|
||||
----
|
||||
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:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user