Page MenuHomePhabricator

Merge #12925: wallet: Logprint the start of a rescan
ClosedPublic

Authored by jasonbcox on Wed, Aug 7, 21:02.

Details

Summary

cab0824 Logprint the start of a rescan (Jonas Schnelli)

Pull request description:

Right now, there is no log entry when a rescan starts which is confusing especially when a "still rescanning" log entry appears after the log-update timeout of 60s or when user manually aborts the rescan.

This PR adds a log entry when a rescan starts.

Tree-SHA512: 8712605af6fd60950bf3904cfb586da6022e44b3da6f3155fe4f02aae16df6044bc504b3d48945ea6d7fe768f0c6cb3282a2e2251d14bf3b7f1dcbd12568b05e

Backport of Core PR12925

https://github.com/bitcoin/bitcoin/pull/12925/files

Test Plan
make check

bitcoind --regtest --rescan
# Verify something like '2019-08-07T21:00:57Z Rescan started from block 1...' appears in ~/.bitcoin/regtest/debug.log

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

jasonbcox created this revision.Wed, Aug 7, 21:02
nakihito accepted this revision.Wed, Aug 7, 23:34
This revision is now accepted and ready to land.Wed, Aug 7, 23:34
This revision was automatically updated to reflect the committed changes.