mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 12:32:48 +01:00
Merge #12925: wallet: Logprint the start of a rescan
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
This commit is contained in:
parent
96e2c5a25f
commit
848f60b626
@ -2053,6 +2053,9 @@ CBlockIndex* CWallet::ScanForWalletTransactions(CBlockIndex* pindexStart, CBlock
|
|||||||
|
|
||||||
CBlockIndex* pindex = pindexStart;
|
CBlockIndex* pindex = pindexStart;
|
||||||
CBlockIndex* ret = nullptr;
|
CBlockIndex* ret = nullptr;
|
||||||
|
|
||||||
|
if (pindex) LogPrintf("Rescan started from block %d...\n", pindex->nHeight);
|
||||||
|
|
||||||
{
|
{
|
||||||
fAbortRescan = false;
|
fAbortRescan = false;
|
||||||
ShowProgress(_("Rescanning..."), 0); // show rescan progress in GUI as dialog or on splashscreen, if -rescan on startup
|
ShowProgress(_("Rescanning..."), 0); // show rescan progress in GUI as dialog or on splashscreen, if -rescan on startup
|
||||||
|
Loading…
Reference in New Issue
Block a user