Edited ch07_authorization-authentication.adoc with Atlas code editor

develop
clenser 7 months ago
parent fb880ea2af
commit 8b7b14292a

@ -379,7 +379,7 @@ script may include multiple of those opcodes.
[[multisig_bug]]
==== An Oddity in CHECKMULTISIG Execution
There is an oddity in
There ((("OP_CHECKMULTISIG execution", id="op-checkmultisig")))((("CHECKMULTISIG execution", id="checkmultisig")))is an oddity in
++OP_CHECKMULTISIG++'s execution that requires a slight workaround. When
+OP_CHECKMULTISIG+ executes, it should consume t+k+2 items on the stack as
parameters. However, due to the oddity, +OP_CHECKMULTISIG+ will pop an extra
@ -460,7 +460,7 @@ book, we simply call it an oddity.
From now on, if you see a multisig script, you should expect
to see an extra +OP_0+ in the beginning, whose only purpose is as a
workaround to an oddity in the ((("scripts", "multisignature", startref="script-multisignature")))((("multisignature scripts", startref="multi-script")))consensus rules.
workaround to an oddity in the ((("scripts", "multisignature", startref="script-multisignature")))((("multisignature scripts", startref="multi-script")))((("OP_CHECKMULTISIG execution", startref="op-checkmultisig")))((("CHECKMULTISIG execution", startref="checkmultisig")))consensus rules.
[[p2sh]]
=== Pay to Script Hash

Loading…
Cancel
Save