Add IsPushOnly(const_iterator pc)

Allows IsPushOnly() to be applied to just part of the script for
OP_RETURN outputs.
This commit is contained in:
Peter Todd
2014-11-04 12:38:56 -05:00
committed by Jorge Timón
parent 6a07eb676a
commit 5d8709c3b7
2 changed files with 7 additions and 2 deletions

View File

@@ -589,6 +589,7 @@ public:
bool IsPayToScriptHash() const;
/** Called by IsStandardTx and P2SH/BIP62 VerifyScript (which makes it consensus-critical). */
bool IsPushOnly(const_iterator pc) const;
bool IsPushOnly() const;
/**