mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-15 12:40:41 +02:00
Don't use scientific notation in log messages
This commit is contained in:
parent
9fa8eda8af
commit
c819a83b4d
@ -205,7 +205,7 @@ bool DumpMempool(const CTxMemPool& pool, const fs::path& dump_path, FopenFn mock
|
|||||||
}
|
}
|
||||||
auto last = SteadyClock::now();
|
auto last = SteadyClock::now();
|
||||||
|
|
||||||
LogPrintf("Dumped mempool: %gs to copy, %gs to dump\n",
|
LogPrintf("Dumped mempool: %.3fs to copy, %.3fs to dump\n",
|
||||||
Ticks<SecondsDouble>(mid - start),
|
Ticks<SecondsDouble>(mid - start),
|
||||||
Ticks<SecondsDouble>(last - mid));
|
Ticks<SecondsDouble>(last - mid));
|
||||||
} catch (const std::exception& e) {
|
} catch (const std::exception& e) {
|
||||||
|
@ -1055,7 +1055,7 @@ void CBlockPolicyEstimator::FlushUnconfirmed()
|
|||||||
_removeTx(mi->first, false); // this calls erase() on mapMemPoolTxs
|
_removeTx(mi->first, false); // this calls erase() on mapMemPoolTxs
|
||||||
}
|
}
|
||||||
const auto endclear{SteadyClock::now()};
|
const auto endclear{SteadyClock::now()};
|
||||||
LogPrint(BCLog::ESTIMATEFEE, "Recorded %u unconfirmed txs from mempool in %gs\n", num_entries, Ticks<SecondsDouble>(endclear - startclear));
|
LogPrint(BCLog::ESTIMATEFEE, "Recorded %u unconfirmed txs from mempool in %.3fs\n", num_entries, Ticks<SecondsDouble>(endclear - startclear));
|
||||||
}
|
}
|
||||||
|
|
||||||
std::chrono::hours CBlockPolicyEstimator::GetFeeEstimatorFileAge()
|
std::chrono::hours CBlockPolicyEstimator::GetFeeEstimatorFileAge()
|
||||||
|
Loading…
Reference in New Issue
Block a user