diff options
Diffstat (limited to 'src/script/script.h')
-rw-r--r-- | src/script/script.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/script/script.h b/src/script/script.h index 95a5999a13..25b80ef62b 100644 --- a/src/script/script.h +++ b/src/script/script.h @@ -630,6 +630,9 @@ public: bool IsPushOnly(const_iterator pc) const; bool IsPushOnly() const; + /** Check if the script contains valid OP_CODES */ + bool HasValidOps() const; + /** * Returns whether the script is guaranteed to fail at execution, * regardless of the initial stack. This allows outputs to be pruned |