aboutsummaryrefslogtreecommitdiff
path: root/src/script/script.h
diff options
context:
space:
mode:
authorPieter Wuille <[email protected]>2015-11-08 01:16:45 +0100
committerPieter Wuille <[email protected]>2016-06-22 15:42:59 +0200
commit449f9b8debcceb61a92043bc7031528a53627c47 (patch)
treec55434295cae8c338fe8ec128c325fa254303ecb /src/script/script.h
parentBIP144: Serialization, hashes, relay (sender side) (diff)
downloaddiscoin-449f9b8debcceb61a92043bc7031528a53627c47.tar.xz
discoin-449f9b8debcceb61a92043bc7031528a53627c47.zip
BIP141: Witness program
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 0b6d822d8..b9b5be901 100644
--- a/src/script/script.h
+++ b/src/script/script.h
@@ -621,6 +621,7 @@ public:
unsigned int GetSigOpCount(const CScript& scriptSig) const;
bool IsPayToScriptHash() const;
+ bool IsWitnessProgram(int& version, std::vector<unsigned char>& program) const;
/** Called by IsStandardTx and P2SH/BIP62 VerifyScript (which makes it consensus-critical). */
bool IsPushOnly(const_iterator pc) const;