if (!fDebug && !pszSetDataDir[0])\r
ShrinkDebugFile();\r
printf("\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n");\r
- printf("Bitcoin version 0.%d.%d%s beta, OS version %s\n", VERSION/100, VERSION%100, pszSubVer, ((string)wxGetOsDescription()).c_str());\r
+ printf("Bitcoin version %d.%d.%d%s, OS version %s\n", VERSION/10000, (VERSION/100)%100, VERSION%100, pszSubVer, ((string)wxGetOsDescription()).c_str());\r
printf("System default language is %d %s\n", m_locale.GetSystemLanguage(), ((string)m_locale.GetSysName()).c_str());\r
printf("Language file %s (%s)\n", (string("locale/") + (string)m_locale.GetCanonicalName() + "/LC_MESSAGES/bitcoin.mo").c_str(), ((string)m_locale.GetLocale()).c_str());\r
\r
else\r
strMyName = strprintf("x%u", GetRand(1000000000));\r
\r
-\r
Send(hSocket, strprintf("NICK %s\r", strMyName.c_str()).c_str());\r
Send(hSocket, strprintf("USER %s 8 * : %s\r", strMyName.c_str(), strMyName.c_str()).c_str());\r
\r
uint64 nNonce = 1;\r
string strSubVer;\r
vRecv >> pfrom->nVersion >> pfrom->nServices >> nTime >> addrMe;\r
+ if (pfrom->nVersion == 10300)\r
+ pfrom->nVersion = 300;\r
if (pfrom->nVersion >= 106 && !vRecv.empty())\r
vRecv >> addrFrom >> nNonce;\r
if (pfrom->nVersion >= 106 && !vRecv.empty())\r
// Wait\r
vnThreadsRunning[1]--;\r
Sleep(500);\r
- const int nMaxConnections = 15;\r
+ const int nMaxConnections = 8;\r
while (vNodes.size() >= nMaxConnections)\r
{\r
Sleep(2000);\r
class CAutoFile;\r
\r
static const int VERSION = 300;\r
-static const char* pszSubVer = " rc2";\r
+static const char* pszSubVer = "";\r
\r
\r
\r
\r
CAboutDialog::CAboutDialog(wxWindow* parent) : CAboutDialogBase(parent)\r
{\r
- m_staticTextVersion->SetLabel(strprintf(_("version 0.%d.%d beta"), VERSION/100, VERSION%100));\r
+ m_staticTextVersion->SetLabel(strprintf(_("version %d.%d.%d"), VERSION/10000, (VERSION/100)%100, VERSION%100));\r
\r
// Change (c) into UTF-8 or ANSI copyright symbol\r
wxString str = m_staticTextMain->GetLabel();\r