Raven Core
3.0.0
P2P Digital Currency
|
Go to the source code of this file.
Classes | |
class | CMessage |
class | CZMQMessage |
Enumerations | |
enum | MessageStatus { MessageStatus::READ = 0, MessageStatus::UNREAD = 1, MessageStatus::EXPIRED = 2, MessageStatus::SPAM = 3, MessageStatus::HIDDEN = 4, MessageStatus::ORPHAN = 5, MessageStatus::MSG_ERROR = 6 } |
Functions | |
size_t | GetMessageDirtyCacheSize () |
bool | IsChannelSubscribed (const std::string &name) |
bool | GetMessage (const COutPoint &out, CMessage &message) |
void | AddChannel (const std::string &name) |
void | RemoveChannel (const std::string &name) |
void | AddMessage (const CMessage &message) |
void | RemoveMessage (const CMessage &message) |
void | RemoveMessage (const COutPoint &out) |
void | OrphanMessage (const CMessage &message) |
void | OrphanMessage (const COutPoint &out) |
bool | ScanForMessageChannels (std::string &strError) |
bool | IsAddressSeen (const std::string &address) |
void | AddAddressSeen (const std::string &address) |
int8_t | IntFromMessageStatus (MessageStatus status) |
MessageStatus | MessageStatusFromInt (int8_t nStatus) |
std::string | MessageStatusToString (MessageStatus status) |
Variables | |
std::set< COutPoint > | setDirtyMessagesRemove |
std::map< COutPoint, CMessage > | mapDirtyMessagesAdd |
std::map< COutPoint, CMessage > | mapDirtyMessagesOrphaned |
std::set< std::string > | setDirtyChannelsAdd |
std::set< std::string > | setDirtyChannelsRemove |
std::set< std::string > | setSubscribedChannelsAskedForFalse |
std::set< std::string > | setDirtySeenAddressAdd |
std::set< std::string > | setAddressAskedForFalse |
CCriticalSection | cs_messaging |
|
strong |
Enumerator | |
---|---|
READ | |
UNREAD | |
EXPIRED | |
SPAM | |
HIDDEN | |
ORPHAN | |
MSG_ERROR |
Definition at line 53 of file messages.h.
void AddAddressSeen | ( | const std::string & | address | ) |
void AddChannel | ( | const std::string & | name | ) |
void AddMessage | ( | const CMessage & | message | ) |
Definition at line 149 of file messages.cpp.
Definition at line 100 of file messages.cpp.
size_t GetMessageDirtyCacheSize | ( | ) |
Definition at line 299 of file messages.cpp.
int8_t IntFromMessageStatus | ( | MessageStatus | status | ) |
bool IsAddressSeen | ( | const std::string & | address | ) |
Definition at line 267 of file messages.cpp.
bool IsChannelSubscribed | ( | const std::string & | name | ) |
Definition at line 67 of file messages.cpp.
MessageStatus MessageStatusFromInt | ( | int8_t | nStatus | ) |
std::string MessageStatusToString | ( | MessageStatus | status | ) |
Definition at line 39 of file messages.cpp.
void OrphanMessage | ( | const CMessage & | message | ) |
Definition at line 181 of file messages.cpp.
void OrphanMessage | ( | const COutPoint & | out | ) |
Definition at line 174 of file messages.cpp.
void RemoveChannel | ( | const std::string & | name | ) |
void RemoveMessage | ( | const CMessage & | message | ) |
Definition at line 159 of file messages.cpp.
void RemoveMessage | ( | const COutPoint & | out | ) |
Definition at line 164 of file messages.cpp.
bool ScanForMessageChannels | ( | std::string & | strError | ) |
CCriticalSection cs_messaging |
Definition at line 26 of file messages.cpp.
Definition at line 16 of file messages.cpp.
Definition at line 17 of file messages.cpp.
std::set<std::string> setAddressAskedForFalse |
Definition at line 24 of file messages.cpp.
std::set<std::string> setDirtyChannelsAdd |
Definition at line 19 of file messages.cpp.
std::set<std::string> setDirtyChannelsRemove |
Definition at line 20 of file messages.cpp.
std::set<COutPoint> setDirtyMessagesRemove |
Definition at line 15 of file messages.cpp.
std::set<std::string> setDirtySeenAddressAdd |
Definition at line 23 of file messages.cpp.
std::set<std::string> setSubscribedChannelsAskedForFalse |
Definition at line 21 of file messages.cpp.