Questions tagged [peer-discovery]

Questions related to how Bitcoin finds other peers to communicate with.

82 questions
194
votes
2 answers

How do Bitcoin clients find each other?

What protocols or algorithms are Bitcoin clients using in order to find their peers? I learnt that BitTorrent clients may rely on central computers called trackers. Do Bitcoin clients need any kind of central servers or nodes in order to operate?
Ning
  • 2,791
  • 3
  • 19
  • 16
9
votes
1 answer

How do bitcoin nodes initially find peers?

In all materials related to bitcoin, the people talk about the p2p bitcoin network. OK, but there should be a central server that connects the peers to each one. Like the torrent sites. The torrents are p2p but before you can start talking with the…
tonko
  • 101
  • 1
  • 3
5
votes
1 answer

How does bitcoin find peers?

I've seen a few questions about this already and they talk in generalities. I'm talking about specifics. If I start the bitcoin client from scratch, where in the source code does it actually add nodes. http://bitcoin.sipa.be/seeds.txt seems to be a…
Shamoon
  • 2,849
  • 3
  • 35
  • 52
2
votes
2 answers

How long on average would it take to discover all other nodes in Bitcoin network and connect to them? Are there technical obstacles to this?

I am wondering how long on average would it take for a node to discover all other nodes in Bitcoin network and connect to them? Are there technical obstacles to this?
user110232
  • 21
  • 1
0
votes
0 answers

The only way to connect to peers is through a DGRAM unix socket?

I'm running an experimental setup. I have Ubuntu on my desktop computer with a USB hub connected and a 1TB ssd sata drive mounted to it at /mnt/d1 I'm using a second docker instance dockerd -H unix:///var/run/docker1.sock -p /var/run/docker1.pid…
Ben Muircroft
  • 466
  • 3
  • 16