configure.ac version bump and documentation

This commit is contained in:
Evan Duffield 2015-01-02 11:45:40 -07:00
parent b5933d165d
commit 8ab351a594
2 changed files with 10 additions and 1 deletions

View File

@ -3,7 +3,7 @@ AC_PREREQ([2.60])
define(_CLIENT_VERSION_MAJOR, 0) define(_CLIENT_VERSION_MAJOR, 0)
define(_CLIENT_VERSION_MINOR, 11) define(_CLIENT_VERSION_MINOR, 11)
define(_CLIENT_VERSION_REVISION, 0) define(_CLIENT_VERSION_REVISION, 0)
define(_CLIENT_VERSION_BUILD, 0) define(_CLIENT_VERSION_BUILD, 3)
define(_CLIENT_VERSION_IS_RELEASE, true) define(_CLIENT_VERSION_IS_RELEASE, true)
define(_COPYRIGHT_YEAR, 2015) define(_COPYRIGHT_YEAR, 2015)
AC_INIT([Darkcoin Core],[_CLIENT_VERSION_MAJOR._CLIENT_VERSION_MINOR._CLIENT_VERSION_REVISION],[info@darkcoin.io],[darkcoin]) AC_INIT([Darkcoin Core],[_CLIENT_VERSION_MAJOR._CLIENT_VERSION_MINOR._CLIENT_VERSION_REVISION],[info@darkcoin.io],[darkcoin])

View File

@ -756,6 +756,15 @@ void CDarkSendPool::ChargeRandomFees(){
BOOST_FOREACH(const CTransaction& txCollateral, vecSessionCollateral) { BOOST_FOREACH(const CTransaction& txCollateral, vecSessionCollateral) {
int r = rand()%1000; int r = rand()%1000;
/*
Collateral Fee Charges:
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.
*/
if(r <= 20) if(r <= 20)
{ {
LogPrintf("CDarkSendPool::ChargeRandomFees -- charging random fees. %u\n", i); LogPrintf("CDarkSendPool::ChargeRandomFees -- charging random fees. %u\n", i);