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(0x7f950f15da78), requires_capability(0x7f950f1ecd88), requires_capability(0x7f950aff0468), requires_capability(0x7f9503033368), requires_capability(0x7f95236c1e18), requires_capability(0x7f952527b588), requires_capability(0x7f950ec80bd8), requires_capability(0x7f950dc34408), requires_capability(0x7f951df8ffa8), requires_capability(0x7f9524e49a48), requires_capability(0x7f950f723ce8)]]
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.