<p>No, due to different reasons.</p>

<p>First, the network is always in flux, nodes are appearing and disappearing, and connections are even more dynamic, so even if there were an API you could use to ask a node for its connections, that information would be outdated quickly.</p>

<p>Second, privacy is part of the reason why crypto currencies exist. Divulging the list of peers of every node would run counter to this goal, so node software would be ill-designed if it provided such an interface.</p>

CC BY-SA 4.0
2019-12-10T09:35:14.230Z
2019-12-10T09:35:14.230Z
Hans-Martin Mosner
<p>For a research I am doing I would love to have a graph with the network of reachable Bitcoin nodes. Active reachable nodes can be extracted by using <code>getaddr</code> messages (e.g. bitnodes project). However direct inbound/outbounds connections cannot be discovered at least you have access to the node and you can run the RPC command <code>getpeerinfo</code>. </p>

<p>Is there any way to get a detailed graph of the network?</p>

<bitcoind><network><bitnodes>
Discovering Bitcoin network topology
AntMor
# Discovering Bitcoin network topology

(Asked by: username_0 on 2019-12-10)

For a research I am doing I would love to have a graph with the network of reachable Bitcoin nodes. Active reachable nodes can be extracted by using `getaddr` messages (e.g. bitnodes project). However direct inbound/outbounds connections cannot be discovered at least you have access to the node and you can run the RPC command `getpeerinfo`.

Is there any way to get a detailed graph of the network?

**Tags:** bitcoind, network, bitnodes


---

## 1 answers

### Answer by username_1 on 2019-12-10. Score: 3

No, due to different reasons.

First, the network is always in flux, nodes are appearing and disappearing, and connections are even more dynamic, so even if there were an API you could use to ask a node for its connections, that information would be outdated quickly.

Second, privacy is part of the reason why crypto currencies exist. Divulging the list of peers of every node would run counter to this goal, so node software would be ill-designed if it provided such an interface.


---

