aboutsummaryrefslogtreecommitdiff
path: root/src/net.cpp
diff options
context:
space:
mode:
authorJackson Palmer <[email protected]>2014-01-30 19:42:43 +1100
committerJackson Palmer <[email protected]>2014-01-30 19:42:43 +1100
commit06fce482d6232bcff6f3051ff21060a4a1c8cbcb (patch)
tree7ae8a8bdfca4197ddede923680a357a940545d4f /src/net.cpp
parentMerge pull request #174 from Superdood/master-1.5 (diff)
downloaddiscoin-06fce482d6232bcff6f3051ff21060a4a1c8cbcb.tar.xz
discoin-06fce482d6232bcff6f3051ff21060a4a1c8cbcb.zip
Removing IRC for gathering addresses
Such DNS. Very seed.
Diffstat (limited to 'src/net.cpp')
-rw-r--r--src/net.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/net.cpp b/src/net.cpp
index 785522282..d08c99693 100644
--- a/src/net.cpp
+++ b/src/net.cpp
@@ -4,7 +4,6 @@
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
-#include "irc.h"
#include "db.h"
#include "net.h"
#include "init.h"
@@ -1312,7 +1311,7 @@ void ThreadOpenConnections()
CSemaphoreGrant grant(*semOutbound);
boost::this_thread::interruption_point();
- // Add seed nodes if IRC isn't working
+ // Add seed nodes if we need addresses
if (addrman.size()==0 && (GetTime() - nStart > 60) && !fTestNet)
{
std::vector<CAddress> vAdd;
@@ -1788,9 +1787,6 @@ void StartNode(boost::thread_group& threadGroup)
MapPort(GetBoolArg("-upnp", USE_UPNP));
#endif
- // Get addresses from IRC and advertise ours
- threadGroup.create_thread(boost::bind(&TraceThread<void (*)()>, "irc", &ThreadIRCSeed));
-
// Send and receive from sockets, accept connections
threadGroup.create_thread(boost::bind(&TraceThread<void (*)()>, "net", &ThreadSocketHandler));