diff options
author | jtimon <jtimon@monetize.io> | 2014-08-01 17:45:09 +0200 |
---|---|---|
committer | jtimon <jtimon@monetize.io> | 2014-08-01 17:45:09 +0200 |
commit | f5745fa52a66ab9ba976e06de4881e981d9aa6b4 (patch) | |
tree | 86e02367ad7881e809605be1ec3a93e20996c4f1 /src/script.h | |
parent | c0e9548b6305d315735ecd6dacc3c88acd6a6c7a (diff) |
Declare SignatureHash() in script.h
Diffstat (limited to 'src/script.h')
-rw-r--r-- | src/script.h | 1 |
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); |