Enable DNS seeding
authoralex <alex@alex-VirtualBox.(none)>
Wed, 14 Aug 2013 09:02:57 +0000 (13:02 +0400)
committeralex <alex@alex-VirtualBox.(none)>
Wed, 14 Aug 2013 09:02:57 +0000 (13:02 +0400)
src/net.cpp

index c880c53..bde3e0f 100644 (file)
@@ -1149,7 +1149,7 @@ void MapPort()
 // The first name is used as information source for addrman.
 // The second name should resolve to a list of seed addresses.
 static const char *strDNSSeed[][2] = {
-    {"novacoin.su", "seed.novacoin.su"},
+    {"novacoin.su", "dnsseed.novacoin.su"},
 };
 
 void ThreadDNSAddressSeed(void* parg)
@@ -1846,18 +1846,11 @@ void StartNode(void* parg)
     // Start threads
     //
 
-/*
     if (!GetBoolArg("-dnsseed", true))
         printf("DNS seeding disabled\n");
     else
         if (!NewThread(ThreadDNSAddressSeed, NULL))
             printf("Error: NewThread(ThreadDNSAddressSeed) failed\n");
-*/
-
-    if (!GetBoolArg("-dnsseed", false))
-        printf("DNS seeding disabled\n");
-    if (GetBoolArg("-dnsseed", false))
-        printf("DNS seeding NYI\n");
 
     // Map ports with UPnP
     if (fUseUPnP)