mirror of
https://github.com/bitcoinbook/bitcoinbook
synced 2024-11-22 16:18:11 +00:00
Edited ch07.asciidoc with Atlas code editor
This commit is contained in:
parent
b58b819411
commit
6486a74a86
@ -565,7 +565,7 @@ Using this construct, we can build redeem scripts with tens or hundreds of execu
|
||||
|
||||
((("transactions", "advanced", "multisignature scripts")))((("scripting", "multisignature scripts", "import/export example")))((("multisignature scripts")))In this example, Mohammed wishes to construct a company capital account with flexible rules. The scheme he creates requires different levels of authorization depending on timelocks. The participants in the multisig scheme are Mohammed, his two partners Saeed and Zaira, and their company lawyer Abdul. The three partners make decisions based on a majority rule, so two of the three must agree. However, in the case of a problem with their keys, they want their lawyer to be able to recover the funds with one of the three partner signatures. Finally, if all partners are unavailable or incapacitated for a while, they want the lawyer to be able to manage the account directly.
|
||||
|
||||
Here's the redeem script that Mohammed designs to achieve this:
|
||||
Here's the redeem script that Mohammed designs to achieve this (line number prefix as XX):
|
||||
|
||||
.Variable Multi-Signature with Timelock
|
||||
[source,linenum]
|
||||
|
Loading…
Reference in New Issue
Block a user