|
|
|
@ -884,7 +884,7 @@ bool CWalletTx::AcceptWalletTransaction(CTxDB& txdb, bool fCheckInputs)
@@ -884,7 +884,7 @@ bool CWalletTx::AcceptWalletTransaction(CTxDB& txdb, bool fCheckInputs)
|
|
|
|
|
return false; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
int ScanForWalletTransactions(CBlockIndex* pindexStart) |
|
|
|
|
int ScanForWalletTransactions(CBlockIndex* pindexStart, bool fUpdate) |
|
|
|
|
{ |
|
|
|
|
int ret = 0; |
|
|
|
|
|
|
|
|
@ -897,7 +897,7 @@ int ScanForWalletTransactions(CBlockIndex* pindexStart)
@@ -897,7 +897,7 @@ int ScanForWalletTransactions(CBlockIndex* pindexStart)
|
|
|
|
|
block.ReadFromDisk(pindex, true); |
|
|
|
|
BOOST_FOREACH(CTransaction& tx, block.vtx) |
|
|
|
|
{ |
|
|
|
|
if (AddToWalletIfInvolvingMe(tx, &block)) |
|
|
|
|
if (AddToWalletIfInvolvingMe(tx, &block, fUpdate)) |
|
|
|
|
ret++; |
|
|
|
|
} |
|
|
|
|
pindex = pindex->pnext; |
|
|
|
|