Skip to content

Commit

Permalink
Merge pull request #209 from syscoin/dev-3.x
Browse files Browse the repository at this point in the history
Dev 3.x 3.0.4.1 hotfix

Former-commit-id: 2086103
  • Loading branch information
sidhujag committed May 26, 2018
2 parents a509c4a + 1143b5f commit 4646547
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ AC_PREREQ([2.60])
define(_CLIENT_VERSION_MAJOR, 3)
define(_CLIENT_VERSION_MINOR, 0)
define(_CLIENT_VERSION_REVISION, 4)
define(_CLIENT_VERSION_BUILD, 0)
define(_CLIENT_VERSION_BUILD, 1)
define(_CLIENT_VERSION_IS_RELEASE, true)
define(_DASH_VERSION_MAJOR, 0)
define(_DASH_VERSION_MINOR, 12)
Expand Down
10 changes: 5 additions & 5 deletions src/alias.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1365,9 +1365,9 @@ UniValue syscointxfund(const JSONRPCRequest& request) {
int numSigs = 0;
CCountSigsVisitor(*pwalletMain, numSigs).Process(coin.out.scriptPubKey);
if(tx.nVersion == SYSCOIN_TX_VERSION && params.size() > 1)
nFees += GetFee(numSigs*150);
nFees += GetFee(numSigs*200);
else
nFees += GetFee(numSigs * 150, fUseInstantSend);
nFees += GetFee(numSigs*200, fUseInstantSend);
}
for (auto& vout : tx.vout) {
const unsigned int nBytes = ::GetSerializeSize(vout, SER_NETWORK, PROTOCOL_VERSION);
Expand Down Expand Up @@ -1415,7 +1415,7 @@ UniValue syscointxfund(const JSONRPCRequest& request) {
int numSigs = 0;
CCountSigsVisitor(*pwalletMain, numSigs).Process(scriptPubKey);
// add fees to account for every input added to this transaction
nFees += GetFee(numSigs*150);
nFees += GetFee(numSigs*200);
tx.vin.push_back(txIn);
nCurrentAmount += nValue;
if (nCurrentAmount >= (nDesiredAmount + nFees)) {
Expand Down Expand Up @@ -1453,7 +1453,7 @@ UniValue syscointxfund(const JSONRPCRequest& request) {
int numSigs = 0;
CCountSigsVisitor(*pwalletMain, numSigs).Process(scriptPubKey);
// add fees to account for every input added to this transaction
nFees += GetFee(numSigs*150, fUseInstantSend);
nFees += GetFee(numSigs*200, fUseInstantSend);
tx.vin.push_back(txIn);
nCurrentAmount += nValue;
if (nCurrentAmount >= (nDesiredAmount + nFees)) {
Expand Down Expand Up @@ -2634,7 +2634,7 @@ bool IsOutpointMature(const COutPoint& outpoint, bool fUseInstantSend)
GetUTXOCoin(outpoint, coin);
if (coin.IsSpent())
return false;
int numConfirmationsNeeded = 2;
int numConfirmationsNeeded = 1;
if (coin.IsCoinBase())
numConfirmationsNeeded = COINBASE_MATURITY;
if (fUseInstantSend)
Expand Down
2 changes: 1 addition & 1 deletion src/clientversion.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#define CLIENT_VERSION_MAJOR 3
#define CLIENT_VERSION_MINOR 0
#define CLIENT_VERSION_REVISION 4
#define CLIENT_VERSION_BUILD 0
#define CLIENT_VERSION_BUILD 1

//! Set to true for release, false for prerelease or test build
#define CLIENT_VERSION_IS_RELEASE true
Expand Down
2 changes: 1 addition & 1 deletion src/wallet/wallet.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ static const bool DEFAULT_SEND_FREE_TRANSACTIONS = false;
//! Default for -walletrejectlongchains
static const bool DEFAULT_WALLET_REJECT_LONG_CHAINS = false;
//! -txconfirmtarget default
static const unsigned int DEFAULT_TX_CONFIRM_TARGET = 2;
static const unsigned int DEFAULT_TX_CONFIRM_TARGET = 1;
//! Largest (in bytes) free transaction we're willing to create
static const unsigned int MAX_FREE_TRANSACTION_CREATE_SIZE = 1000;
static const bool DEFAULT_WALLETBROADCAST = true;
Expand Down

0 comments on commit 4646547

Please sign in to comment.