-prints
This commit is contained in:
@@ -1665,7 +1665,7 @@ void ListTransactions(const CWalletTx& wtx, const string& strAccount, int nMinDe
|
|||||||
BOOST_FOREACH(const COutputEntry& r, listReceived)
|
BOOST_FOREACH(const COutputEntry& r, listReceived)
|
||||||
{
|
{
|
||||||
string account;
|
string account;
|
||||||
fprintf(stderr,"recv iter %s\n",wtx.GetHash().GetHex().c_str());
|
//fprintf(stderr,"recv iter %s\n",wtx.GetHash().GetHex().c_str());
|
||||||
if (pwalletMain->mapAddressBook.count(r.destination))
|
if (pwalletMain->mapAddressBook.count(r.destination))
|
||||||
account = pwalletMain->mapAddressBook[r.destination].name;
|
account = pwalletMain->mapAddressBook[r.destination].name;
|
||||||
if (fAllAccounts || (account == strAccount))
|
if (fAllAccounts || (account == strAccount))
|
||||||
@@ -1817,7 +1817,7 @@ UniValue listtransactions(const UniValue& params, bool fHelp)
|
|||||||
CWalletTx *const pwtx = (*it).second.first;
|
CWalletTx *const pwtx = (*it).second.first;
|
||||||
if (pwtx != 0)
|
if (pwtx != 0)
|
||||||
{
|
{
|
||||||
fprintf(stderr,"pwtx iter.%d %s\n",(int32_t)pwtx->nOrderPos,pwtx->GetHash().GetHex().c_str());
|
//fprintf(stderr,"pwtx iter.%d %s\n",(int32_t)pwtx->nOrderPos,pwtx->GetHash().GetHex().c_str());
|
||||||
ListTransactions(*pwtx, strAccount, 0, true, ret, filter);
|
ListTransactions(*pwtx, strAccount, 0, true, ret, filter);
|
||||||
}
|
}
|
||||||
//else fprintf(stderr,"null pwtx\n");
|
//else fprintf(stderr,"null pwtx\n");
|
||||||
|
|||||||
@@ -2537,14 +2537,14 @@ void CWalletTx::GetAmounts(list<COutputEntry>& listReceived,
|
|||||||
{
|
{
|
||||||
if ( oneshot++ > 1 )
|
if ( oneshot++ > 1 )
|
||||||
{
|
{
|
||||||
fprintf(stderr,"skip change vout\n");
|
//fprintf(stderr,"skip change vout\n");
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (!(fIsMine & filter))
|
else if (!(fIsMine & filter))
|
||||||
{
|
{
|
||||||
fprintf(stderr,"skip filtered vout %d %d\n",(int32_t)fIsMine,(int32_t)filter);
|
//fprintf(stderr,"skip filtered vout %d %d\n",(int32_t)fIsMine,(int32_t)filter);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
// In either case, we need to get the destination address
|
// In either case, we need to get the destination address
|
||||||
|
|||||||
Reference in New Issue
Block a user