I'm looking into developing a javascript client p2p network. Most P2P networks I've looked into need to communicate with a connection broker in order to discover what other clients are in the network. Even bittorrent clients, need tracker servers.
How is it that the bitcoin network resolves this?
How does a client know what IPs to download the blockchain from?
How do miners know the IPs of other miners in the network?
If you can point me in the right direction to look up this information I would be most thankful