// Make this thread recognisable as the IRC seeding thread
RenameThread("novacoin-ircseed");
+ printf("ThreadIRCSeed started\n");
+
try
{
ThreadIRCSeed2(parg);
if (!GetBoolArg("-irc", true))
return;
- printf("ThreadIRCSeed started\n");
+ printf("ThreadIRCSeed trying to connect...\n");
+
int nErrorWait = 10;
int nRetryWait = 10;
int nNameRetry = 0;
while (!fShutdown)
{
- CService addrConnect("92.243.23.21", 6667); // irc.lfnet.org
+ const uint16_t nIrcPort = 6667;
+ CService addrConnect("92.243.23.21", nIrcPort); // irc.lfnet.org
- CService addrIRC("irc.lfnet.org", 6667, true);
+ CService addrIRC("irc.lfnet.org", nIrcPort, true);
if (addrIRC.IsValid())
addrConnect = addrIRC;