1
0
mirror of https://github.com/bitcoinbook/bitcoinbook synced 2024-12-23 07:08:13 +00:00

Edited ch07_authorization-authentication.adoc with Atlas code editor

This commit is contained in:
clenser 2023-10-20 12:31:41 +00:00
parent a9dbb5f2f1
commit f74261c10d

View File

@ -1583,7 +1583,7 @@ transaction fees.
[[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:
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
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
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]]