diff options
| author | Gavin Andresen <[email protected]> | 2012-01-19 13:30:54 -0500 |
|---|---|---|
| committer | Gavin Andresen <[email protected]> | 2012-01-19 13:30:54 -0500 |
| commit | 39f0d9686095bce469dbfa52333331a5d15c6545 (patch) | |
| tree | cbbe1525c2faee1ba826c1a3ab6a8e36e95f7230 /src/script.h | |
| parent | Merge pull request #762 from laanwj/qtprogressfix (diff) | |
| download | discoin-39f0d9686095bce469dbfa52333331a5d15c6545.tar.xz discoin-39f0d9686095bce469dbfa52333331a5d15c6545.zip | |
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 63f9f9353..4760b99a9 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); |