aboutsummaryrefslogtreecommitdiff
path: root/src/script/script.h
diff options
context:
space:
mode:
authorNicolasDorier <nicolas.dorier@gmail.com>2016-04-10 15:59:23 +0900
committerPieter Wuille <pieter.wuille@gmail.com>2016-06-22 15:43:01 +0200
commit745eb678ef5d52c74edcd9c322ebd1f3232a9310 (patch)
treefa08a8303b9f25efb19b5fa72cde264d276e2d48 /src/script/script.h
parentf4691ab3a9d4f3321afa024984c03fe6e10bfdbc (diff)
[RPC] signrawtransaction can sign P2WSH
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 b9b5be9013..71af3754bc 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 IsPayToWitnessScriptHash() const;
bool IsWitnessProgram(int& version, std::vector<unsigned char>& program) const;
/** Called by IsStandardTx and P2SH/BIP62 VerifyScript (which makes it consensus-critical). */