Update CMakeLists.txt - play with openssl
[novacoin.git] / src / alert.h
index 3e4dd53..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
@@ -61,7 +62,6 @@ public:
     void SetNull();
 
     std::string ToString() const;
-    void print() const;
 };
 
 /** An alert is a combination of a serialized CUnsignedAlert and a signature. */
@@ -87,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;