aboutsummaryrefslogtreecommitdiff
path: root/src/wallet
diff options
context:
space:
mode:
authorJonas Schnelli <dev@jonasschnelli.ch>2018-04-09 18:48:19 +0200
committerJonas Schnelli <dev@jonasschnelli.ch>2018-04-09 18:49:09 +0200
commitcab0824c96e2433a29d5e730f0e888a0a00f9eb3 (patch)
tree7594b70900d94fc2c72cbaedbe3f9a3e90319222 /src/wallet
parenta7cbe38ae2dd7e983a5e1bc31524fa9bd791727e (diff)
downloadbitcoin-cab0824c96e2433a29d5e730f0e888a0a00f9eb3.tar.xz
Logprint the start of a rescan
Diffstat (limited to 'src/wallet')
-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 5485eb797e..b1c91c4ce7 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