aboutsummaryrefslogtreecommitdiff
path: root/depends
diff options
context:
space:
mode:
authorJon Atack <jon@atack.com>2021-12-10 17:16:34 +0100
committerJon Atack <jon@atack.com>2021-12-10 22:32:41 +0100
commit8e37fa83934ad47a4a73c326213e2073dfc35e29 (patch)
treeeb236acef6a98784c917b7143c93cc1740de47e8 /depends
parent271252c0bda5779a255f23a73ceb6f722559f0d1 (diff)
validation, log: improve logging in FlushSnapshotToDisk()
Use the `LOG_TIME_MILLIS_WITH_CATEGORY_MSG_ONCE` macro to improve the logging of snapshot persistance and no longer manually track the duration. before [snapshot] flushing coins cache (0 MB)... done (0.00ms) [snapshot] flushing snapshot chainstate to disk (0 MB)... done (0.00ms) after FlushSnapshotToDisk: flushing coins cache (0 MB) started FlushSnapshotToDisk: completed (0.00ms) FlushSnapshotToDisk: saving snapshot chainstate (0 MB) started FlushSnapshotToDisk: completed (0.00ms) The logging can be observed in the output of ./src/test/test_bitcoin -t validation_chainstate_tests -- DEBUG_LOG_OUT
Diffstat (limited to 'depends')
0 files changed, 0 insertions, 0 deletions