# Bitcoin node P2P traffic analysis

**URL:** <https://delvingbitcoin.org/t/bitcoin-node-p2p-traffic-analysis/1490>\
**Category:** Implementation\
**Created:** [March 3, 2025, 2:01pm UTC](https://delvingbitcoin.org/t/bitcoin-node-p2p-traffic-analysis/1490 "2025-03-03T14:01:18Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![jungly](https://delvingbitcoin.org/user_avatar/delvingbitcoin.org/jungly/32/289_2.png) [@jungly](https://delvingbitcoin.org/u/jungly)\
**Post date:** [March 4, 2025, 5:02am UTC](https://delvingbitcoin.org/t/bitcoin-node-p2p-traffic-analysis/1490/2 "2025-03-04T05:02:20Z")

</div>

Thanks for this, it is really neat to see the distribution of data used by various p2p messages.

The “Traffic estimate validation” chart was the most interesting to me. I was curious if we should split that chart out by message type and then capture the distribution of data size for each of those messages. I am curious for example, how many inventory items are sent in response to getblocks or how many headers are sent in response to getheaders. We could plot the mean and the standard deviation, or maybe candles/error bars to see the distribution of how far back are peers reaching into your node’s data.

I guess, what I am trying to get to is to dissect the Daily peer traffic by message type and plot the ranges for it. IDK if that will tell us anything interesting or not, but since you have the data we can dig in a bit 🙂

Thanks again for sharing this. I look forward to seeing what optimisations/changes you can conclude from the data.

-jungly

---

_[View the full topic](https://delvingbitcoin.org/t/bitcoin-node-p2p-traffic-analysis/1490)._
