HomePhabricator

log: Log VerifyDB Progress over multiple lines

Description

log: Log VerifyDB Progress over multiple lines

Summary:
This allows to log a timestamp for each entry, and avoids potential interference with other threads that could log concurrently.

This concludes backport of core#27009
https://github.com/bitcoin/bitcoin/pull/27009/commits/fe683f352480245add0b27fe7efef5fef4c1e8c3

Depends on D14921

Test Plan:
ninja && src/bitcoind

src/bitcoin-cli verifychain 4 10000

Check the output of the bitcoind process.

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D14922

Details

Provenance
Martin Zumsande <mzumsande@gmail.com>Authored on Oct 3 2022, 18:49
PiRKCommitted on Dec 7 2023, 16:25
PiRKPushed on Dec 7 2023, 16:25
Reviewer
Restricted Project
Differential Revision
D14922: log: Log VerifyDB Progress over multiple lines
Parents
rABC38a301820db4: validation: Skip VerifyDB checks of level >=3 if dbcache is too small
Branches
Unknown
Tags
Unknown