CNode::AccountForSentBytes

Account for the total size of a sent message in the per msg type connection stats.

Synopsis

Declared in <net.h>

void
AccountForSentBytes(
    std::string const& msg_type,
    size_t sent_bytes);

Parameters

NameDescription
msg_typethe message type (command) that was sent.
sent_bytesthe number of bytes sent for that message.