Add prototype for EvalScript() to script.h
authorVegard Nossum <vegard.nossum@gmail.com>
Wed, 29 Jun 2011 10:33:21 +0000 (12:33 +0200)
committerGavin Andresen <gavinandresen@gmail.com>
Mon, 8 Aug 2011 18:31:08 +0000 (14:31 -0400)
This is needed for the script unit tests.

src/script.h

index b880838..4b48bca 100644 (file)
@@ -691,6 +691,7 @@ public:
 
 
 
+bool EvalScript(std::vector<std::vector<unsigned char> >& stack, const CScript& script, const CTransaction& txTo, unsigned int nIn, int nHashType);
 
 bool IsStandard(const CScript& scriptPubKey);
 bool IsMine(const CKeyStore& keystore, const CScript& scriptPubKey);