mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-21 00:46:14 -03:00
da894ab5da
Previously only one PUSHDATA was allowed, needlessly limiting applications such as matching OP_RETURN contents with bloom filters that operate on a per-PUSHDATA level. Now any combination that passes IsPushOnly() is allowed, so long as the total size of the scriptPubKey is less than 42 bytes. (unchanged modulo non-minimal PUSHDATA encodings) Also, this fixes the odd bug where previously the PUSHDATA could be replaced by any single opcode, even sigops consuming opcodes such as CHECKMULTISIG. (20 sigops!) |
||
---|---|---|
.. | ||
bitcoinconsensus.cpp | ||
bitcoinconsensus.h | ||
interpreter.cpp | ||
interpreter.h | ||
script.cpp | ||
script.h | ||
script_error.cpp | ||
script_error.h | ||
sigcache.cpp | ||
sigcache.h | ||
sign.cpp | ||
sign.h | ||
standard.cpp | ||
standard.h |