RPC: Add per-message statistics to 'getpeerinfo' #1538

pull jgarzik wants to merge 2 commits into bitcoin:master from jgarzik:peerinfo changing 4 files +60 −0
  1. jgarzik commented at 2:09 AM on June 30, 2012: contributor

    The first commit maintains a per-node byte count, returned as "recvbytes" and "sendbytes".

    The second commit maintains per-node, per-msg counters, returned as "recvmsgs" and "sendmsgs" objects.

    Example output: https://gist.github.com/3021791

  2. Add per-node recv/send byte counters, accessible via getpeerinfo RPC 250ccc4d2b
  3. Collect per-message send/receive stats, with reporting via getpeerinfo RPC e58e23e1e3
  4. TheBlueMatt commented at 1:01 PM on July 2, 2012: member

    I like sendbytes as the total queued for send instead of sent on wire, but I'd prefer recvbytes as the bytes received in total, instead of the bytes already processed, also, Id prefer to include bytes that don't fail things like missing the message start magic.

  5. jgarzik commented at 5:12 PM on August 1, 2012: contributor

    Didn't get much interest, but I might recreate it at a later date. Closing for now.

  6. jgarzik closed this on Aug 1, 2012

  7. jgarzik deleted the branch on Aug 24, 2014
  8. suprnurd referenced this in commit 15958c594c on Dec 5, 2017
  9. lateminer referenced this in commit 38f848ecb1 on May 6, 2020
  10. DrahtBot locked this on Sep 8, 2021
Contributors

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-20 00:16 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me