aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorJonas Schnelli <dev@jonasschnelli.ch>2019-06-13 11:07:50 +0200
committerJonas Schnelli <dev@jonasschnelli.ch>2019-10-18 08:56:08 +0200
commit1a5c656c3169ba525f84145d19ce8c64f2cf1efb (patch)
treeca8d33a4009c55ce5145482e4af6788966a1fc2f /src/net.h
parent6294ecdb8bb4eb7049a18c721ee8cb4a53d80a06 (diff)
downloadbitcoin-1a5c656c3169ba525f84145d19ce8c64f2cf1efb.tar.xz
Remove transport protocol knowhow from CNetMessage / net processing
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net.h b/src/net.h
index a9ce33957d..15996438c9 100644
--- a/src/net.h
+++ b/src/net.h
@@ -621,6 +621,7 @@ public:
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_command;
CNetMessage(const CDataStream& recv_in) : m_recv(std::move(recv_in)) {}