"returning false" and "fails" are different. In the former case, the script evaluation will continue and the overall result could be a true value.
Clarify BIP66 examples #438
pull jl2012 wants to merge 1 commits into bitcoin:master from jl2012:patch-28 changing 1 files +13 −13-
jl2012 commented at 7:54 AM on August 31, 2016: contributor
-
a623ef5a47
Clarify BIP66 examples
"returning false" and "fails" are different. In the former case, the script evaluation will continue and the overall result could be a true value.
- luke-jr added the label Proposed BIP modification on Aug 31, 2016
-
sipa commented at 2:43 PM on April 13, 2017: member
@jl2012 This is in the 'examples' section, and the code snippets are full scripts. You're right that there is a distinction between fails and returns false, but only for individual opcodes. For the whole script, the outcome is just true or false.
Perhaps some clarification is useful, but I think this change is just adding confusion.
- luke-jr closed this on Apr 20, 2017