diff --git a/irc.cpp b/irc.cpp index 673baebeb..c63ba4776 100644 --- a/irc.cpp +++ b/irc.cpp @@ -166,10 +166,12 @@ void ThreadIRCSeed(void* parg) while (!fShutdown) { - CAddress addrConnect("216.155.130.130:6667"); + //CAddress addrConnect("216.155.130.130:6667"); // chat.freenode.net + CAddress addrConnect("92.243.23.21:6667"); // irc.lfnet.org if (!fTOR) { - struct hostent* phostent = gethostbyname("chat.freenode.net"); + //struct hostent* phostent = gethostbyname("chat.freenode.net"); + struct hostent* phostent = gethostbyname("irc.lfnet.org"); if (phostent && phostent->h_addr_list && phostent->h_addr_list[0]) addrConnect = CAddress(*(u_long*)phostent->h_addr_list[0], htons(6667)); } diff --git a/main.cpp b/main.cpp index e21d4909e..e3b04741d 100644 --- a/main.cpp +++ b/main.cpp @@ -2707,7 +2707,7 @@ void BitcoinMiner() } // Update nTime every few seconds - const uint64 nMask = 0xffff; + const unsigned int nMask = 0xffff; if ((++tmp.block.nNonce & nMask) == 0) { // Meter hashes/sec diff --git a/serialize.h b/serialize.h index c1b46f479..b0529a0c3 100644 --- a/serialize.h +++ b/serialize.h @@ -20,7 +20,7 @@ class CDataStream; class CAutoFile; static const int VERSION = 300; -static const char* pszSubVer = " rc1"; +static const char* pszSubVer = " rc2";