## Is there a way to find how many nodes are there?

5

As a single bitcoind node I can only detect how many connected peers I have. Is there a way to have a vision of the whole bitcoin network?

3

There are websites such as Bitnodes.io that track the number of nodes currently reachable in the network. The site also gives an account of the versions the nodes deploy and what countries they are located in.

According to Bitnodes.io, there are currently 6426 nodes reachable.

To collect your own list of nodes, you'd ask your peers for more peers, i.e. getaddr, then recursively request more peers from the newly discovered peers, until you have polled everyone you have discovered.

Note that this doesn't guarantee you to find all nodes, as some don't accept connections from the outside, and getaddr doesn't necessarily give you all peers. Also see: Does getaddr.bitnodes.io find all Bitcoin nodes or only one node per mining pool?

Thank you! How do they get this data by running multiple nodes around the world and converge? – moshaholo – 2015-08-21T13:43:24.350

@moshaholo: See my updated answer. – Murch – 2015-08-21T13:50:10.530

1Also note that this is considered spamming and a DOS attack. It goes against the whole idea of P2P and the network implements methods to defend against such activities. The bitnodes people are in close contact with the bitcoin core developers and try to be as non aggressive as possible. Still plenty of nodes ban them anyway. – Jannes – 2015-08-22T04:25:45.977

If I understand the answer correctly, it is about the active nodes. Can we know how many nodes there are in total? Regardless whether they are active or not. Also, does this exist for other cryptocurrencies? And are there historical data for it? – Raskolnikov – 2018-02-17T19:56:22.230

There are other estimates, like for example the data Luke-Jr collects with his seed node: http://luke.dashjr.org/programs/bitcoin/files/charts/software.html Some historical data can be found here: https://coin.dance/nodes Other cryptocurrencies have fewer of these private sites as these spring up with a bigger community.

– Murch – 2018-02-17T21:23:38.223