aboutsummaryrefslogtreecommitdiff
path: root/src/script/script.h
diff options
context:
space:
mode:
authorPeter Todd <[email protected]>2014-11-04 12:38:56 -0500
committerJorge Timón <[email protected]>2015-10-01 18:28:11 +0200
commit5d8709c3b7fcc66fbf537ec0b6c1a98d69214e25 (patch)
treeee5385b59d430542d8f8195a6f33988e322bf107 /src/script/script.h
parentMake TX_SCRIPTHASH clear vSolutionsRet first (diff)
downloaddiscoin-5d8709c3b7fcc66fbf537ec0b6c1a98d69214e25.tar.xz
discoin-5d8709c3b7fcc66fbf537ec0b6c1a98d69214e25.zip
Add IsPushOnly(const_iterator pc)
Allows IsPushOnly() to be applied to just part of the script for OP_RETURN outputs.
Diffstat (limited to 'src/script/script.h')
-rw-r--r--src/script/script.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/script/script.h b/src/script/script.h
index f0725bbbf..3923a559b 100644
--- a/src/script/script.h
+++ b/src/script/script.h
@@ -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;
/**