aboutsummaryrefslogtreecommitdiff
path: root/src/script.h
diff options
context:
space:
mode:
authorjtimon <jtimon@monetize.io>2014-08-01 17:45:09 +0200
committerjtimon <jtimon@monetize.io>2014-08-01 17:45:09 +0200
commitf5745fa52a66ab9ba976e06de4881e981d9aa6b4 (patch)
tree86e02367ad7881e809605be1ec3a93e20996c4f1 /src/script.h
parentc0e9548b6305d315735ecd6dacc3c88acd6a6c7a (diff)
downloadbitcoin-f5745fa52a66ab9ba976e06de4881e981d9aa6b4.tar.xz
Declare SignatureHash() in script.h
Diffstat (limited to 'src/script.h')
-rw-r--r--src/script.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/script.h b/src/script.h
index e36be2db9e..ea944b4996 100644
--- a/src/script.h
+++ b/src/script.h
@@ -809,6 +809,7 @@ bool IsCanonicalPubKey(const std::vector<unsigned char> &vchPubKey, unsigned int
bool IsCanonicalSignature(const std::vector<unsigned char> &vchSig, unsigned int flags);
bool EvalScript(std::vector<std::vector<unsigned char> >& stack, const CScript& script, const CTransaction& txTo, unsigned int nIn, unsigned int flags, int nHashType);
+uint256 SignatureHash(const CScript &scriptCode, const CTransaction& txTo, unsigned int nIn, int nHashType);
bool Solver(const CScript& scriptPubKey, txnouttype& typeRet, std::vector<std::vector<unsigned char> >& vSolutionsRet);
int ScriptSigArgsExpected(txnouttype t, const std::vector<std::vector<unsigned char> >& vSolutions);
bool IsStandard(const CScript& scriptPubKey, txnouttype& whichType);