diff options
Diffstat (limited to 'src/alert.h')
-rw-r--r-- | src/alert.h | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/src/alert.h b/src/alert.h index e4841f9c3f..da140be5e5 100644 --- a/src/alert.h +++ b/src/alert.h @@ -6,13 +6,20 @@ #ifndef _BITCOINALERT_H_ #define _BITCOINALERT_H_ 1 +#include "serialize.h" +#include "sync.h" + +#include <map> #include <set> +#include <stdint.h> #include <string> -#include "uint256.h" -#include "util.h" - +class CAlert; class CNode; +class uint256; + +extern std::map<uint256, CAlert> mapAlerts; +extern CCriticalSection cs_mapAlerts; /** Alerts are for notifying old versions if they become too obsolete and * need to upgrade. The message is displayed in the status bar. @@ -24,8 +31,8 @@ class CUnsignedAlert { public: int nVersion; - int64 nRelayUntil; // when newer nodes stop relaying to newer nodes - int64 nExpiration; + int64_t nRelayUntil; // when newer nodes stop relaying to newer nodes + int64_t nExpiration; int nID; int nCancel; std::set<int> setCancel; |