diff --git a/irc.cpp b/irc.cpp index 673baebeb27..c63ba47761c 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 e21d4909e52..e3b04741deb 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 c1b46f479e4..b0529a0c3ee 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";