Changeset View
Changeset View
Standalone View
Standalone View
src/blockencodings.cpp
Show First 20 Lines • Show All 231 Lines • ▼ Show 20 Lines | ReadStatus PartiallyDownloadedBlock::FillBlock( | ||||
LogPrint("cmpctblock", "Successfully reconstructed block %s with %lu txn " | LogPrint("cmpctblock", "Successfully reconstructed block %s with %lu txn " | ||||
"prefilled, %lu txn from mempool (incl at least %lu " | "prefilled, %lu txn from mempool (incl at least %lu " | ||||
"from extra pool) and %lu txn requested\n", | "from extra pool) and %lu txn requested\n", | ||||
hash.ToString(), prefilled_count, mempool_count, extra_count, | hash.ToString(), prefilled_count, mempool_count, extra_count, | ||||
vtx_missing.size()); | vtx_missing.size()); | ||||
if (vtx_missing.size() < 5) { | if (vtx_missing.size() < 5) { | ||||
for (const auto &tx : vtx_missing) | for (const auto &tx : vtx_missing) | ||||
LogPrint("cmpctblock", "Reconstructed block %s required tx %s\n", | LogPrint("cmpctblock", "Reconstructed block %s required tx %s\n", | ||||
hash.ToString(), tx->GetId().ToString()); | hash.ToString(), tx->GetHash().ToString()); | ||||
} | } | ||||
return READ_STATUS_OK; | return READ_STATUS_OK; | ||||
} | } |