Wait for DS confirmation

This commit is contained in:
Evan Duffield 2015-08-12 15:54:21 -07:00
parent 7f27d023f8
commit 6ff903f27b

View File

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