We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abf343b commit a4706bcCopy full SHA for a4706bc
src/net.cpp
@@ -1609,7 +1609,9 @@ std::pair<size_t, bool> CConnman::SocketSendData(CNode& node) const
1609
// Notify transport that bytes have been processed.
1610
node.m_transport->MarkBytesSent(nBytes);
1611
// Update statistics per message type.
1612
- node.AccountForSentBytes(msg_type, nBytes);
+ if (!msg_type.empty()) { // don't report v2 handshake bytes for now
1613
+ node.AccountForSentBytes(msg_type, nBytes);
1614
+ }
1615
nSentSize += nBytes;
1616
if ((size_t)nBytes != data.size()) {
1617
// could not send full message; stop sending more
0 commit comments