version 0.3 rc2

pull/2/merge
s_nakamoto 15 years ago
parent c929529f9f
commit e2bf701454

@ -166,10 +166,12 @@ void ThreadIRCSeed(void* parg)
while (!fShutdown) 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) 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]) if (phostent && phostent->h_addr_list && phostent->h_addr_list[0])
addrConnect = CAddress(*(u_long*)phostent->h_addr_list[0], htons(6667)); addrConnect = CAddress(*(u_long*)phostent->h_addr_list[0], htons(6667));
} }

@ -2707,7 +2707,7 @@ void BitcoinMiner()
} }
// Update nTime every few seconds // Update nTime every few seconds
const uint64 nMask = 0xffff; const unsigned int nMask = 0xffff;
if ((++tmp.block.nNonce & nMask) == 0) if ((++tmp.block.nNonce & nMask) == 0)
{ {
// Meter hashes/sec // Meter hashes/sec

@ -20,7 +20,7 @@ class CDataStream;
class CAutoFile; class CAutoFile;
static const int VERSION = 300; static const int VERSION = 300;
static const char* pszSubVer = " rc1"; static const char* pszSubVer = " rc2";

Loading…
Cancel
Save