network – How to get IPs of 8 peers my node propagates transactions and blocks to?


I see that bitcoin-cli can do getpeerinfo. However, it typically returns around 30 different IPs. Even if I ask for only outbound ones, I get around 16 addresses.

$ bitcoin-cli getpeerinfo | grep "inbound": false" | wc -l

How do I narrow down to those 8 that will be used to propagate the next block my node gets to propagate?

Source link

Leave a reply