Raven Core
3.0.0
P2P Digital Currency
|
#include <validation.h>
#include <chainparams.h>
#include <wallet/wallet.h>
#include <script/ismine.h>
#include <base58.h>
#include "messages.h"
#include "messagedb.h"
#include <primitives/block.h>
Go to the source code of this file.
Functions | |
int8_t | IntFromMessageStatus (MessageStatus status) |
MessageStatus | MessageStatusFromInt (int8_t nStatus) |
std::string | MessageStatusToString (MessageStatus status) |
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 COutPoint &out) |
void | OrphanMessage (const CMessage &message) |
bool | ScanForMessageChannels (std::string &strError) |
bool | IsAddressSeen (const std::string &address) |
void | AddAddressSeen (const std::string &address) |
size_t | GetMessageDirtyCacheSize () |
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 |
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 COutPoint & | out | ) |
Definition at line 174 of file messages.cpp.
void OrphanMessage | ( | const CMessage & | message | ) |
Definition at line 181 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.