|
|
|
@ -1733,10 +1733,8 @@ void StartNode(boost::thread_group& threadGroup)
@@ -1733,10 +1733,8 @@ void StartNode(boost::thread_group& threadGroup)
|
|
|
|
|
else |
|
|
|
|
threadGroup.create_thread(boost::bind(&TraceThread<void (*)()>, "dnsseed", &ThreadDNSAddressSeed)); |
|
|
|
|
|
|
|
|
|
#ifdef USE_UPNP |
|
|
|
|
// Map ports with UPnP
|
|
|
|
|
MapPort(GetBoolArg("-upnp", USE_UPNP)); |
|
|
|
|
#endif |
|
|
|
|
MapPort(GetBoolArg("-upnp", DEFAULT_UPNP)); |
|
|
|
|
|
|
|
|
|
// Send and receive from sockets, accept connections
|
|
|
|
|
threadGroup.create_thread(boost::bind(&TraceThread<void (*)()>, "net", &ThreadSocketHandler)); |
|
|
|
|