mirror of
https://github.com/bitcoinbook/bitcoinbook
synced 2024-11-22 08:08:11 +00:00
Edited ch07_authorization-authentication.adoc with Atlas code editor
This commit is contained in:
parent
a9dbb5f2f1
commit
f74261c10d
@ -1583,7 +1583,7 @@ transaction fees.
|
|||||||
[[mast]]
|
[[mast]]
|
||||||
=== Merklized Alternative Script Trees (MAST)
|
=== Merklized Alternative Script Trees (MAST)
|
||||||
|
|
||||||
Using +OP_IF+, you ((("scripts", "MAST", id="script-mast")))((("MAST (merklized alternative script trees)", id="mast")))((("merkle trees", "MAST", id="merkle-tree-mast")))can authorize multiple different spending conditions,
|
Using +OP_IF+, you ((("scripts", "MAST", id="script-mast")))((("MAST (merklized alternative script trees)", id="mast-ch7")))((("merkle trees", "MAST", id="merkle-tree-mast")))can authorize multiple different spending conditions,
|
||||||
but this approach has several undesirable aspects:
|
but this approach has several undesirable aspects:
|
||||||
|
|
||||||
Weight (cost)::
|
Weight (cost)::
|
||||||
@ -1719,7 +1719,7 @@ image::images/mbc3_0709.png["An alternative script tree"]
|
|||||||
Alternative script trees only require revealing one 32-byte digest for
|
Alternative script trees only require revealing one 32-byte digest for
|
||||||
each level of depth between the spender's chosen script and the root of
|
each level of depth between the spender's chosen script and the root of
|
||||||
the tree. For most scripts, this is a much more efficient use of space
|
the tree. For most scripts, this is a much more efficient use of space
|
||||||
in the((("scripts", "MAST", startref="script-mast")))((("MAST (merklized alternative script trees)", startref="mast")))((("merkle trees", "MAST", startref="merkle-tree-mast"))) blockchain.
|
in the((("scripts", "MAST", startref="script-mast")))((("MAST (merklized alternative script trees)", startref="mast-ch7")))((("merkle trees", "MAST", startref="merkle-tree-mast"))) blockchain.
|
||||||
****
|
****
|
||||||
|
|
||||||
[[pay_to_contract]]
|
[[pay_to_contract]]
|
||||||
|
Loading…
Reference in New Issue
Block a user