misc
This commit is contained in:
parent
4b05b834ca
commit
802cea13e4
9
work.cpp
9
work.cpp
@ -660,14 +660,11 @@ void StartNode(boost::thread_group& threadGroup) {
|
|||||||
// Start threads
|
// Start threads
|
||||||
//
|
//
|
||||||
|
|
||||||
if (!GetBoolArg("-dnsseed", true)) {
|
// Allow DNS lookups for seeds
|
||||||
LogPrintf("DNS seeding disabled\n");
|
threadGroup.create_thread(boost::bind(&TraceThread<void (*)()>, "dnsseed", &ThreadDNSAddressSeed));
|
||||||
} else {
|
|
||||||
threadGroup.create_thread(boost::bind(&TraceThread<void (*)()>, "dnsseed", &ThreadDNSAddressSeed));
|
|
||||||
}
|
|
||||||
|
|
||||||
// Map ports with UPnP
|
// Map ports with UPnP
|
||||||
MapPort(GetBoolArg("-upnp", DEFAULT_UPNP));
|
MapPort(DEFAULT_UPNP);
|
||||||
|
|
||||||
// Send and receive from sockets, accept connections
|
// Send and receive from sockets, accept connections
|
||||||
threadGroup.create_thread(boost::bind(&TraceThread<void (*)()>, "net", &ThreadSocketHandler));
|
threadGroup.create_thread(boost::bind(&TraceThread<void (*)()>, "net", &ThreadSocketHandler));
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user