mirror of
https://github.com/bitcoinbook/bitcoinbook
synced 2024-11-15 20:49:21 +00:00
CH05: fix script nesting (from Murchandamus feedback, thanks!)
This commit is contained in:
parent
aba9e2258c
commit
399e004211
@ -499,14 +499,13 @@ powerful feature. ((("accounts receivable (AR)")))Mohammed's company
|
||||
uses a multisignature script for all customer payments, known in
|
||||
accounting terms as "accounts receivable," or AR. With the
|
||||
multisignature scheme, any payments made by customers are locked in such
|
||||
a way that they require at least two signatures to release, from
|
||||
Mohammed and one of his partners or from his attorney who has a backup
|
||||
key. A multisignature scheme like that offers corporate governance
|
||||
a way that they require at least two signatures to release. Mohammed,
|
||||
his three partners, and their attorney can each provide one signature.
|
||||
A multisignature scheme like that offers corporate governance
|
||||
controls and protects against theft, embezzlement, or loss.
|
||||
|
||||
The resulting script is quite long and looks like this:
|
||||
|
||||
//FIXME:script match text with nesting
|
||||
----
|
||||
2 <Mohammed's Public Key> <Partner1 Public Key> <Partner2 Public Key> <Partner3 Public Key> <Attorney Public Key> 5 OP_CHECKMULTISIG
|
||||
----
|
||||
|
Loading…
Reference in New Issue
Block a user