diff --git a/main.cpp b/main.cpp index 46ba9842..bd3dad78 100644 --- a/main.cpp +++ b/main.cpp @@ -2544,13 +2544,13 @@ void BlockSHA256(const void* pin, unsigned int nBlocks, void* pout) void BitcoinMiner() { printf("BitcoinMiner started\n"); + SetThreadPriority(THREAD_PRIORITY_LOWEST); CKey key; key.MakeNewKey(); CBigNum bnExtraNonce = 0; while (fGenerateBitcoins) { - SetThreadPriority(THREAD_PRIORITY_LOWEST); Sleep(50); if (fShutdown) return; diff --git a/serialize.h b/serialize.h index 7a3f4b1c..8d3bd237 100644 --- a/serialize.h +++ b/serialize.h @@ -20,7 +20,7 @@ class CDataStream; class CAutoFile; static const int VERSION = 301; -static const char* pszSubVer = ".1"; +static const char* pszSubVer = ""; diff --git a/setup.nsi b/setup.nsi index ba13cdeb..6b593cd8 100644 --- a/setup.nsi +++ b/setup.nsi @@ -7,7 +7,7 @@ RequestExecutionLevel highest # General Symbol Definitions !define REGKEY "SOFTWARE\$(^Name)" -!define VERSION 0.3.0 +!define VERSION 0.3.1 !define COMPANY "Bitcoin project" !define URL http://www.bitcoin.org/ @@ -42,12 +42,12 @@ Var StartMenuGroup !insertmacro MUI_LANGUAGE English # Installer attributes -OutFile bitcoin-0.3.0-win32-setup.exe +OutFile bitcoin-0.3.1-win32-setup.exe InstallDir $PROGRAMFILES\Bitcoin CRCCheck on XPStyle on ShowInstDetails show -VIProductVersion 0.3.0.0 +VIProductVersion 0.3.1.0 VIAddVersionKey ProductName Bitcoin VIAddVersionKey ProductVersion "${VERSION}" VIAddVersionKey CompanyName "${COMPANY}"