mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-27 19:47:30 -03:00
7417594187
The value it leaves on the stack depends on the last element on the stack. However, we can't make sure this element is OP_1 (which would give us the 'u' property) without the MINIMALIF rule. MINIMALIF is only policy for P2WSH, therefore giving 'd:' the 'u' property breaks consensus soundness: it makes it possible (by consensus but not policy) for instance to satisfy a thresh() without satisfying at least k of its subs. This bug was found and reported by Andrew Poelstra. |
||
---|---|---|
.. | ||
bitcoinconsensus.cpp | ||
bitcoinconsensus.h | ||
descriptor.cpp | ||
descriptor.h | ||
interpreter.cpp | ||
interpreter.h | ||
keyorigin.h | ||
miniscript.cpp | ||
miniscript.h | ||
script.cpp | ||
script.h | ||
script_error.cpp | ||
script_error.h | ||
sigcache.cpp | ||
sigcache.h | ||
sign.cpp | ||
sign.h | ||
signingprovider.cpp | ||
signingprovider.h | ||
standard.cpp | ||
standard.h |