Browse Source

version 0.3 rc2

miguelfreitas
s_nakamoto 15 years ago
parent
commit
e2bf701454
  1. 6
      irc.cpp
  2. 2
      main.cpp
  3. 2
      serialize.h

6
irc.cpp

@ -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));
} }

2
main.cpp

@ -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

2
serialize.h

@ -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