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(0x7fbc931590b8), requires_capability(0x7fbc92ea0948), requires_capability(0x7fbc86f8b178), requires_capability(0x7fbc96fc0ed8), requires_capability(0x7fbc8fa75af8), requires_capability(0x7fbcaf687b98), requires_capability(0x7fbc9f562108), requires_capability(0x7fbca705da98), requires_capability(0x7fbc922a2e68), requires_capability(0x7fbcaf849bd8), requires_capability(0x7fbc9f18a108)]]
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.