Skip to content

Commit 9d00c6f

Browse files
authored
Merge pull request #6 from StealthSend/dev-fork005
Dev fork005
2 parents d43ee55 + 3b6c516 commit 9d00c6f

5 files changed

Lines changed: 13 additions & 8 deletions

File tree

Stealth.pro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ win32 {
1818

1919
TEMPLATE = app
2020
TARGET = "Stealth Qt"
21-
VERSION = 2.1.0.0
21+
VERSION = 2.1.0.1
2222
INCLUDEPATH += src src/json src/qt src/tor
2323
INCLUDEPATH += src/tor/adapter src/tor/common src/tor/ext
2424
INCLUDEPATH += src/tor/ext/curve25519_donna src/tor/ext/ed25519/donna

contrib/macdeploy/Info.plist

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,16 @@
99
<key>CFBundlePackageType</key>
1010
<string>APPL</string>
1111
<key>CFBundleGetInfoString</key>
12-
<string>StealthCoin [XST] Complete Anonymity 2.1.0.0</string>
12+
<string>StealthCoin [XST] Complete Anonymity 2.1.0.1</string>
1313
<key>CFBundleExecutable</key>
1414
<string>Stealth Qt</string>
1515
<key>CFBundleIdentifier</key>
1616
<string>com.stealth-coin.stealthcoin-qt</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>2.1.0.0</string>
18+
<string>2.1.0.1</string>
1919
<key>CFBundleSignature</key>
2020
<string>oXST</string>
2121
<key>CFBundleVersion</key>
22-
<string>2.1.0.0</string>
22+
<string>2.1.0.1</string>
2323
</dict>
2424
</plist>

src/clientversion.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#define CLIENT_VERSION_MAJOR 2
1010
#define CLIENT_VERSION_MINOR 1
1111
#define CLIENT_VERSION_REVISION 0
12-
#define CLIENT_VERSION_BUILD 0
12+
#define CLIENT_VERSION_BUILD 1
1313

1414
// Converts the parameter X to a string after macro replacement on X has been performed.
1515
// Don't merge these into one macro!

src/version.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ extern const std::string CLIENT_DATE;
3232
// Technically not a network protocol difference
3333
// 62020 : Fixes signature malleability
3434
// 62100 : Clockdrift improvements & Checklocktimeverify (forking)
35+
// Client version: 2.1.0
3536
static const int PROTOCOL_VERSION = 62100;
3637

3738
// intial proto version, to be increased after version/verack negotiation
@@ -64,6 +65,6 @@ static const int DATABASE_VERSION = 61201;
6465
#define DISPLAY_VERSION_MAJOR 2
6566
#define DISPLAY_VERSION_MINOR 1
6667
#define DISPLAY_VERSION_REVISION 0
67-
#define DISPLAY_VERSION_BUILD 0
68+
#define DISPLAY_VERSION_BUILD 1
6869

6970
#endif

src/wallet.cpp

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1518,8 +1518,10 @@ bool CWallet::CreateTransaction(const vector<pair<CScript, int64> >& vecSend, CW
15181518

15191519
int nIn = 0;
15201520
BOOST_FOREACH(const PAIRTYPE(const CWalletTx*,unsigned int)& coin, setCoins)
1521-
if (!SignSignature(*this, *coin.first, wtxNew, nIn++))
1521+
if (SignSignature(*this, *coin.first, wtxNew, nIn++) != 0)
1522+
{
15221523
return false;
1524+
}
15231525

15241526
unsigned int nBytes = ::GetSerializeSize(*(CTransaction*)&wtxNew, SER_NETWORK, PROTOCOL_VERSION);
15251527
if (nBytes >= MAX_BLOCK_SIZE_GEN/5)
@@ -2525,8 +2527,10 @@ bool CWallet::CreateCoinStake(const CKeyStore& keystore, unsigned int nBits, int
25252527
int nIn = 0;
25262528
BOOST_FOREACH(const CWalletTx* pcoin, vwtxPrev)
25272529
{
2528-
if (!SignSignature(*this, *pcoin, txNew, nIn++))
2530+
if (SignSignature(*this, *pcoin, txNew, nIn++) != 0)
2531+
{
25292532
return error("CreateCoinStake : failed to sign coinstake");
2533+
}
25302534
}
25312535

25322536
// Limit size

0 commit comments

Comments
 (0)