allow users to anon all their coins each block

This commit is contained in:
Evan Duffield 2015-08-10 18:56:14 -07:00
parent df33377ed0
commit dcec36af85

View File

@ -1474,11 +1474,12 @@ bool CDarksendPool::DoAutomaticDenominating(bool fDryRun, bool ready)
int nUseQueue = rand()%100;
UpdateState(POOL_STATUS_ACCEPTING_ENTRIES);
if(pwalletMain->GetDenominatedBalance(true) > 0){ //get denominated unconfirmed inputs
LogPrintf("DoAutomaticDenominating -- Found unconfirmed denominated outputs, will wait till they confirm to continue.\n");
strAutoDenomResult = _("Found unconfirmed denominated outputs, will wait till they confirm to continue.");
return false;
}
// -- allow users to anon all their coins each block, then wait for the confirmation
// if(pwalletMain->GetDenominatedBalance(true) > 0){ //get denominated unconfirmed inputs
// LogPrintf("DoAutomaticDenominating -- Found unconfirmed denominated outputs, will wait till they confirm to continue.\n");
// strAutoDenomResult = _("Found unconfirmed denominated outputs, will wait till they confirm to continue.");
// return false;
// }
//check our collateral nad create new if needed
std::string strReason;