aboutsummaryrefslogtreecommitdiff
path: root/src/script.h
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2012-01-19 13:30:54 -0500
committerGavin Andresen <gavinandresen@gmail.com>2012-01-19 13:30:54 -0500
commit39f0d9686095bce469dbfa52333331a5d15c6545 (patch)
treecbbe1525c2faee1ba826c1a3ab6a8e36e95f7230 /src/script.h
parent43cda5f325f53e8941efa7f712aed66e3fde172a (diff)
downloadbitcoin-39f0d9686095bce469dbfa52333331a5d15c6545.tar.xz
Make transactions with extra data in their scriptSig's non-standard.
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 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);