![]() |
Feathercoin
0.5.0
P2P Digital Currency
|
Alerts are for notifying old versions if they become too obsolete and need to upgrade. More...
#include <alert.h>
Public Member Functions | |
IMPLEMENT_SERIALIZE (READWRITE(this->nVersion);nVersion=this->nVersion;READWRITE(nRelayUntil);READWRITE(nExpiration);READWRITE(nID);READWRITE(nCancel);READWRITE(setCancel);READWRITE(nMinVer);READWRITE(nMaxVer);READWRITE(setSubVer);READWRITE(nPriority);READWRITE(strComment);READWRITE(strStatusBar);READWRITE(strReserved);) void SetNull() | |
std::string | ToString () const |
void | print () const |
Public Attributes | |
int | nVersion |
int64 | nRelayUntil |
int64 | 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 |
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.
CUnsignedAlert::IMPLEMENT_SERIALIZE | ( | READWRITE(this->nVersion); | nVersion = this->nVersion;READWRITE(nRelayUntil);READWRITE(nExpiration);READWRITE(nID);READWRITE(nCancel);READWRITE(setCancel);READWRITE(nMinVer);READWRITE(nMaxVer);READWRITE(setSubVer);READWRITE(nPriority);READWRITE(strComment);READWRITE(strStatusBar);READWRITE(strReserved); | ) |