Update CMakeLists.txt - play with openssl
[novacoin.git] / src / alert.h
index c417842..548d398 100644 (file)
@@ -6,12 +6,13 @@
 #ifndef _BITCOINALERT_H_
 #define _BITCOINALERT_H_ 1
 
-#include <set>
-#include <string>
-
+#include "serialize.h"
 #include "uint256.h"
 #include "util.h"
 
+#include <set>
+#include <string>
+
 class CNode;
 
 /** Alerts are for notifying old versions if they become too obsolete and
@@ -86,7 +87,7 @@ public:
     uint256 GetHash() const;
     bool IsInEffect() const;
     bool Cancels(const CAlert& alert) const;
-    bool AppliesTo(int nVersion, std::string strSubVerIn) const;
+    bool AppliesTo(int nVersion, const std::string& strSubVerIn) const;
     bool AppliesToMe() const;
     bool RelayTo(CNode* pnode) const;
     bool CheckSignature() const;