fix even more console spam

This commit is contained in:
UdjinM6 2015-03-05 19:40:17 +03:00
parent 5bc821cb5e
commit 2e0d7ab0b6
2 changed files with 4 additions and 4 deletions

View File

@ -1103,7 +1103,7 @@ void CDarksendPool::CheckForCompleteQueue(){
// which is the active state right before merging the transaction // which is the active state right before merging the transaction
// //
if(state == POOL_STATUS_QUEUE && sessionUsers == GetMaxPoolTransactions()) { if(state == POOL_STATUS_QUEUE && sessionUsers == GetMaxPoolTransactions()) {
printf("Q ready"); LogPrintf("Q ready");
UpdateState(POOL_STATUS_ACCEPTING_ENTRIES); UpdateState(POOL_STATUS_ACCEPTING_ENTRIES);
if(strMasternodeSharedKey == ""){ if(strMasternodeSharedKey == ""){
@ -1433,7 +1433,7 @@ bool CDarksendPool::StatusUpdate(int newState, int newEntriesCount, int newAccep
sessionFoundMasternode = true; sessionFoundMasternode = true;
//wait for other users. Masternode will report when ready //wait for other users. Masternode will report when ready
UpdateState(POOL_STATUS_QUEUE); UpdateState(POOL_STATUS_QUEUE);
printf("Updated 1\n"); LogPrintf("Updated 1\n");
} else if (newAccepted == 0 && sessionID == 0 && !sessionFoundMasternode) { } else if (newAccepted == 0 && sessionID == 0 && !sessionFoundMasternode) {
LogPrintf("CDarksendPool::StatusUpdate - entry not accepted by Masternode \n"); LogPrintf("CDarksendPool::StatusUpdate - entry not accepted by Masternode \n");
UnlockCoins(); UnlockCoins();
@ -2070,7 +2070,7 @@ bool CDarksendPool::IsCompatibleWithSession(int64_t nDenom, CTransaction txColla
} }
UpdateState(POOL_STATUS_QUEUE); UpdateState(POOL_STATUS_QUEUE);
printf("Updated 2\n"); LogPrintf("Updated 2\n");
vecSessionCollateral.push_back(txCollateral); vecSessionCollateral.push_back(txCollateral);
return true; return true;
} }

View File

@ -59,7 +59,7 @@ void ProcessMessageInstantX(CNode* pfrom, std::string& strCommand, CDataStream&
BOOST_FOREACH(const CTxOut o, tx.vout){ BOOST_FOREACH(const CTxOut o, tx.vout){
if(!o.scriptPubKey.IsNormalPaymentScript()){ if(!o.scriptPubKey.IsNormalPaymentScript()){
printf ("ProcessMessageInstantX::txlreq - Invalid Script %s\n", tx.ToString().c_str()); LogPrintf("ProcessMessageInstantX::txlreq - Invalid Script %s\n", tx.ToString().c_str());
return; return;
} }
} }