aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Schnelli <[email protected]>2018-04-09 18:48:19 +0200
committerJonas Schnelli <[email protected]>2018-04-09 18:49:09 +0200
commitcab0824c96e2433a29d5e730f0e888a0a00f9eb3 (patch)
tree7594b70900d94fc2c72cbaedbe3f9a3e90319222
parentMerge #12923: util: Pass pthread_self() to pthread_setschedparam instead of 0 (diff)
downloaddiscoin-cab0824c96e2433a29d5e730f0e888a0a00f9eb3.tar.xz
discoin-cab0824c96e2433a29d5e730f0e888a0a00f9eb3.zip
Logprint the start of a rescan
-rw-r--r--src/wallet/wallet.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp
index 5485eb797..b1c91c4ce 100644
--- a/src/wallet/wallet.cpp
+++ b/src/wallet/wallet.cpp
@@ -1714,6 +1714,9 @@ CBlockIndex* CWallet::ScanForWalletTransactions(CBlockIndex* pindexStart, CBlock
CBlockIndex* pindex = pindexStart;
CBlockIndex* ret = nullptr;
+
+ if (pindex) LogPrintf("Rescan started from block %d...\n", pindex->nHeight);
+
{
fAbortRescan = false;
ShowProgress(_("Rescanning..."), 0); // show rescan progress in GUI as dialog or on splashscreen, if -rescan on startup