Skip to content

Commit

Permalink
fixing mining loop and version
Browse files Browse the repository at this point in the history
  • Loading branch information
multipos committed Sep 14, 2017
1 parent d47b3c2 commit 95a89cc
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
6 changes: 3 additions & 3 deletions contrib/macdeploy/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleGetInfoString</key>
<string>PoS-N 1.0.0.1</string>
<string>PoS-N 1.0.0.2</string>
<key>CFBundleExecutable</key>
<string>PoSN-Qt</string>
<key>CFBundleIdentifier</key>
<string>us.posncoin.posncoin-qt</string>
<key>CFBundleShortVersionString</key>
<string>1.0.0.1</string>
<string>1.0.0.2</string>
<key>CFBundleSignature</key>
<string>P0SN</string>
<key>CFBundleVersion</key>
<string>1.0.0.1</string>
<string>1.0.0.2</string>
</dict>
</plist>
2 changes: 1 addition & 1 deletion posn.pro
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ win32 {

TEMPLATE = app
TARGET = "PoSN-Qt"
VERSION = 1.0.0.1
VERSION = 1.0.0.2
INCLUDEPATH += src src/json src/qt src/tor
INCLUDEPATH += src/tor/adapter src/tor/common src/tor/ext
INCLUDEPATH += src/tor/ext/curve25519_donna src/tor/ext/ed25519/donna
Expand Down
2 changes: 1 addition & 1 deletion src/clientversion.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#define CLIENT_VERSION_MAJOR 1
#define CLIENT_VERSION_MINOR 0
#define CLIENT_VERSION_REVISION 0
#define CLIENT_VERSION_BUILD 1
#define CLIENT_VERSION_BUILD 2

// Converts the parameter X to a string after macro replacement on X has been performed.
// Don't merge these into one macro!
Expand Down
2 changes: 1 addition & 1 deletion src/miner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ bool SelectRandomMintColor(const CBlockIndex *pindexPrev, int& nMintColor)
while (nMintColor == PSN_COLOR_P00)
{
// find a random coin that still has mint left
for (int i = 1; ++i < PSN_COLOR_END; ++i)
for (int i = 1; i < PSN_COLOR_END; ++i)
{
std::set<int>::iterator it = setTried.find(i);
if (it == setTried.end())
Expand Down
1 change: 1 addition & 0 deletions src/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ static const int DATABASE_VERSION = 70508;
//

// 61017: original release version (v1.0.0.1)
// fix staking loop (v1.0.0.2)
static const int PROTOCOL_VERSION = 61017;

// earlier versions not supported as of Feb 2012, and are disconnected
Expand Down

0 comments on commit 95a89cc

Please sign in to comment.