Bitcoin ABC 0.30.3
P2P Digital Currency
|
Transport protocol agnostic message container. More...
#include <net.h>
Public Member Functions | |
CNetMessage (CDataStream &&recv_in) | |
void | SetVersion (int nVersionIn) |
Public Attributes | |
CDataStream | m_recv |
received message data More... | |
std::chrono::microseconds | m_time {0} |
time of message receipt More... | |
bool | m_valid_netmagic = false |
bool | m_valid_header = false |
bool | m_valid_checksum = false |
uint32_t | m_message_size {0} |
size of the payload More... | |
uint32_t | m_raw_message_size {0} |
used wire size of the message (including header/checksum) More... | |
std::string | m_type |
Transport protocol agnostic message container.
Ideally it should only contain receive time, payload, type and size.
|
inline |
|
inline |
uint32_t CNetMessage::m_raw_message_size {0} |
CDataStream CNetMessage::m_recv |
std::chrono::microseconds CNetMessage::m_time {0} |