|
|
@ -1763,9 +1763,6 @@ void static Discover() |
|
|
|
|
|
|
|
|
|
|
|
void StartNode(boost::thread_group& threadGroup) |
|
|
|
void StartNode(boost::thread_group& threadGroup) |
|
|
|
{ |
|
|
|
{ |
|
|
|
// Make this thread recognisable as the startup thread
|
|
|
|
|
|
|
|
RenameThread("bitcoin-start"); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (semOutbound == NULL) { |
|
|
|
if (semOutbound == NULL) { |
|
|
|
// initialize semaphore
|
|
|
|
// initialize semaphore
|
|
|
|
int nMaxOutbound = min(MAX_OUTBOUND_CONNECTIONS, (int)GetArg("-maxconnections", 125)); |
|
|
|
int nMaxOutbound = min(MAX_OUTBOUND_CONNECTIONS, (int)GetArg("-maxconnections", 125)); |
|
|
|