CNode::AccountForSentBytes

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

Synopsis

Declared in <net.h>

[[requires_capability(0x7fb96f08e468), requires_capability(0x7fb96f19d888), requires_capability(0x7fb96713bb38), requires_capability(0x7fb96b053178), requires_capability(0x7fb95ed2bd98), requires_capability(0x7fb96c8ade38), requires_capability(0x7fb95fd9a5f8), requires_capability(0x7fb94c275eb8), requires_capability(0x7fb966e24fa8), requires_capability(0x7fb97a56c2e8), requires_capability(0x7fb96e77e4a8)]]
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.