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(0x7fd74af163e8), requires_capability(0x7fd74b2fd548), requires_capability(0x7fd75704d6f8), requires_capability(0x7fd74f009008), requires_capability(0x7fd7528bac38), requires_capability(0x7fd749ae4ce8), requires_capability(0x7fd75fdcc928), requires_capability(0x7fd7610032a8), requires_capability(0x7fd756d23d18), requires_capability(0x7fd75b0285c8), requires_capability(0x7fd762a3aad8)]]
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.