diff options
author | Gavin Andresen <gavinandresen@gmail.com> | 2012-01-19 13:30:54 -0500 |
---|---|---|
committer | Gavin Andresen <gavinandresen@gmail.com> | 2012-01-19 13:30:54 -0500 |
commit | 39f0d9686095bce469dbfa52333331a5d15c6545 (patch) | |
tree | cbbe1525c2faee1ba826c1a3ab6a8e36e95f7230 /src/script.h | |
parent | 43cda5f325f53e8941efa7f712aed66e3fde172a (diff) |
Make transactions with extra data in their scriptSig's non-standard.
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 63f9f9353a..4760b99a9b 100644 --- a/src/script.h +++ b/src/script.h @@ -560,6 +560,7 @@ public: bool EvalScript(std::vector<std::vector<unsigned char> >& stack, const CScript& script, 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); bool IsMine(const CKeyStore& keystore, const CScript& scriptPubKey); bool ExtractAddress(const CScript& scriptPubKey, CBitcoinAddress& addressRet); |