Update CMakeLists.txt - play with openssl
[novacoin.git] / src / script.h
index 12238fd..0f7cdf2 100644 (file)
@@ -5,12 +5,13 @@
 #ifndef H_BITCOIN_SCRIPT
 #define H_BITCOIN_SCRIPT
 
+#include "keystore.h"
+#include "bignum.h"
+#include "util.h"
+
 #include <string>
 #include <vector>
 
-#include "keystore.h"
-#include "bignum.h"
-#include "base58.h"
 
 typedef std::vector<uint8_t> valtype;
 
@@ -622,10 +623,7 @@ public:
         printf("%s\n", ToString().c_str());
     }
 
-    CScriptID GetID() const
-    {
-        return CScriptID(Hash160(*this));
-    }
+    CScriptID GetID() const;
 };
 
 bool IsCanonicalPubKey(const std::vector<unsigned char> &vchPubKey, unsigned int flags);