Bitcoin ABC 0.26.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 | |
std::chrono::microseconds | m_time {0} |
time of message receipt | |
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 | |
uint32_t | m_raw_message_size {0} |
used wire size of the message (including header/checksum) | |
std::string | m_type |
Transport protocol agnostic message container.
Ideally it should only contain receive time, payload, type and size.
|
inline |
uint32_t CNetMessage::m_raw_message_size {0} |
CDataStream CNetMessage::m_recv |
std::chrono::microseconds CNetMessage::m_time {0} |