From be9ff815e2800310367024923681e8f10854aa59 Mon Sep 17 00:00:00 2001 From: alex Date: Wed, 14 Aug 2013 13:02:57 +0400 Subject: [PATCH] Enable DNS seeding --- src/net.cpp | 9 +-------- 1 files changed, 1 insertions(+), 8 deletions(-) diff --git a/src/net.cpp b/src/net.cpp index c880c53..bde3e0f 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -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) -- 1.7.1