![]() |
Dash Core
0.12.2.1
P2P Digital Currency
|
#include <alert.h>
Public Member Functions | |
template<typename Stream , typename Operation > | |
void | SerializationOp (Stream &s, Operation ser_action, int nType, int nVersion) |
void | SetNull () |
std::string | ToString () const |
Public Attributes | |
int | nVersion |
int64_t | nRelayUntil |
int64_t | nExpiration |
int | nID |
int | nCancel |
std::set< int > | setCancel |
int | nMinVer |
int | nMaxVer |
std::set< std::string > | setSubVer |
int | nPriority |
std::string | strComment |
std::string | strStatusBar |
std::string | strReserved |
ADD_SERIALIZE_METHODS | |
Alerts are for notifying old versions if they become too obsolete and need to upgrade. The message is displayed in the status bar. Alert messages are broadcast as a vector of signed data. Unserializing may not read the entire buffer if the alert is for a newer version, but older versions can still relay the original data.
|
inline |
void CUnsignedAlert::SetNull | ( | ) |
Definition at line 31 of file alert.cpp.
Referenced by CAlert::SetNull().
int CUnsignedAlert::nCancel |
Definition at line 38 of file alert.h.
Referenced by SerializationOp(), and ThreadSendAlert().
int64_t CUnsignedAlert::nExpiration |
Definition at line 36 of file alert.h.
Referenced by SerializationOp(), and ThreadSendAlert().
int CUnsignedAlert::nID |
Definition at line 37 of file alert.h.
Referenced by CAlert::Cancels(), CAlert::ProcessAlert(), SerializationOp(), and ThreadSendAlert().
int CUnsignedAlert::nMaxVer |
Definition at line 41 of file alert.h.
Referenced by SerializationOp(), and ThreadSendAlert().
int CUnsignedAlert::nMinVer |
Definition at line 40 of file alert.h.
Referenced by SerializationOp(), and ThreadSendAlert().
int CUnsignedAlert::nPriority |
Definition at line 43 of file alert.h.
Referenced by GetWarnings(), SerializationOp(), and ThreadSendAlert().
int64_t CUnsignedAlert::nRelayUntil |
Definition at line 35 of file alert.h.
Referenced by ThreadSendAlert().
int CUnsignedAlert::nVersion |
Definition at line 34 of file alert.h.
Referenced by SerializationOp().
std::set<int> CUnsignedAlert::setCancel |
Definition at line 39 of file alert.h.
Referenced by SerializationOp().
std::set<std::string> CUnsignedAlert::setSubVer |
Definition at line 42 of file alert.h.
Referenced by SerializationOp().
std::string CUnsignedAlert::strComment |
Definition at line 46 of file alert.h.
Referenced by SerializationOp(), and ThreadSendAlert().
std::string CUnsignedAlert::strReserved |
Definition at line 48 of file alert.h.
Referenced by SerializationOp().
std::string CUnsignedAlert::strStatusBar |
Definition at line 47 of file alert.h.
Referenced by GetWarnings(), SerializationOp(), ThreadSendAlert(), and ClientModel::updateAlert().