HomePhabricator

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

Description

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

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

Reviewers: #bitcoin_abc, deadalnix, nakihito

Reviewed By: nakihito

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

Details

Provenance
jasonbcoxAuthored on Aug 7 2019, 20:55
jasonbcoxPushed on Aug 7 2019, 23:59
Reviewer
nakihito
Differential Revision
D3821: Merge #12925: wallet: Logprint the start of a rescan
Parents
rABC267c3977cfaf: Merge #12918: test: Assert on correct variable
Branches
Unknown
Tags
Unknown