240 | @@ -227,7 +241,7 @@ ReadStatus PartiallyDownloadedBlock::FillBlock(CBlock& block, const std::vector<
241 | return READ_STATUS_CHECKBLOCK_FAILED;
242 | }
243 |
244 | - LogPrint("cmpctblock", "Successfully reconstructed block %s with %lu txn prefilled, %lu txn from mempool (incl at least %lu from extra pool) and %lu txn requested\n", hash.ToString(), prefilled_count, mempool_count, extra_count, vtx_missing.size());
245 | + LogPrint("cmpctblock", "Successfully reconstructed block %s with %lu txn prefilled, %lu txn from mempool, %lu from extra pool and %lu txn requested\n", hash.ToString(), prefilled_count, mempool_count, extra_count, vtx_missing.size());
I think you want an "up to %lu txn from mempool, up to %lu from extra pool and..."
why? extra_count should now correctly count how many of the transactions were found in the extra pool.
Neither mempool_count or extra_count are decremented when we drop a transaction due to a collision, now, I believe.
yes, you're right. I'll change the log.