diff --git a/src/clientversion.h b/src/clientversion.h index f69ba5f19e..2d8a7f2f6d 100644 --- a/src/clientversion.h +++ b/src/clientversion.h @@ -11,8 +11,8 @@ // These need to be macros, as version.cpp's and darkcoin-qt.rc's voodoo requires it #define CLIENT_VERSION_MAJOR 0 #define CLIENT_VERSION_MINOR 11 -#define CLIENT_VERSION_REVISION 1 -#define CLIENT_VERSION_BUILD 25 +#define CLIENT_VERSION_REVISION 2 +#define CLIENT_VERSION_BUILD 0 diff --git a/src/core.h b/src/core.h index f98b4ffd93..14de8c0812 100644 --- a/src/core.h +++ b/src/core.h @@ -15,7 +15,7 @@ #define START_MASTERNODE_PAYMENTS_TESTNET 1420837558 //Fri, 09 Jan 2015 21:05:58 GMT #define START_MASTERNODE_PAYMENTS 1403728576 //Wed, 25 Jun 2014 20:36:16 GMT -static const int64_t DARKSEND_COLLATERAL = (0.1*COIN); +static const int64_t DARKSEND_COLLATERAL = (0.01*COIN); static const int64_t DARKSEND_FEE = (0.0125*COIN); static const int64_t DARKSEND_POOL_MAX = (999.99*COIN); diff --git a/src/darksend.cpp b/src/darksend.cpp index a41f3d65bd..30abb03235 100644 --- a/src/darksend.cpp +++ b/src/darksend.cpp @@ -807,7 +807,7 @@ void CDarkSendPool::ChargeRandomFees(){ int i = 0; BOOST_FOREACH(const CTransaction& txCollateral, vecSessionCollateral) { - int r = rand()%1000; + int r = rand()%100; /* Collateral Fee Charges: @@ -815,10 +815,10 @@ void CDarkSendPool::ChargeRandomFees(){ Being that DarkSend has "no fees" we need to have some kind of cost associated with using it to stop abuse. Otherwise it could serve as an attack vector and allow endless transaction that would bloat Darkcoin and make it unusable. To - stop these kinds of attacks 1 in 50 successful transactions are charged. This - adds up to a cost of 0.002DRK per transaction on average. + stop these kinds of attacks 1 in 10 successful transactions are charged. This + adds up to a cost of 0.001DRK per transaction on average. */ - if(r <= 20) + if(r <= 10) { LogPrintf("CDarkSendPool::ChargeRandomFees -- charging random fees. %u\n", i);