This question already has an answer here:
- How do Bitcoin clients find each other? 2 answers
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 list of known clients, which is fine, but where in source does it connect. If I wanted to create my own private network, how would I accomplish this?
If there's just one client on the network, is that client still doing all of the work that bitcoin does? Mining, etc.