Skip to content

Commit b5950dd

Browse files
committed
validation: put coins cache write log into bench debug log
1 parent 31b2b80 commit b5950dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/validation.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2029,8 +2029,8 @@ bool CChainState::FlushStateToDisk(
20292029
}
20302030
// Flush best chain related state. This can only be done if the blocks / block index write was also done.
20312031
if (fDoFullFlush && !CoinsTip().GetBestBlock().IsNull()) {
2032-
LOG_TIME_SECONDS(strprintf("write coins cache to disk (%d coins, %.2fkB)",
2033-
coins_count, coins_mem_usage / 1000));
2032+
LOG_TIME_MILLIS_WITH_CATEGORY(strprintf("write coins cache to disk (%d coins, %.2fkB)",
2033+
coins_count, coins_mem_usage / 1000), BCLog::BENCH);
20342034

20352035
// Typical Coin structures on disk are around 48 bytes in size.
20362036
// Pushing a new one to the database can cause it to be written

0 commit comments

Comments
 (0)