Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/wallet.cpp
Show First 20 Lines • Show All 1,798 Lines • ▼ Show 20 Lines | CBlockIndex *CWallet::ScanForWalletTransactions( | ||||
assert(reserver.isReserved()); | assert(reserver.isReserved()); | ||||
if (pindexStop) { | if (pindexStop) { | ||||
assert(pindexStop->nHeight >= pindexStart->nHeight); | assert(pindexStop->nHeight >= pindexStart->nHeight); | ||||
} | } | ||||
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; | ||||
// Show rescan progress in GUI as dialog or on splashscreen, if -rescan | // Show rescan progress in GUI as dialog or on splashscreen, if -rescan | ||||
// on startup. | // on startup. | ||||
ShowProgress(_("Rescanning..."), 0); | ShowProgress(_("Rescanning..."), 0); | ||||
CBlockIndex *tip = nullptr; | CBlockIndex *tip = nullptr; | ||||
double dProgressStart; | double dProgressStart; | ||||
▲ Show 20 Lines • Show All 2,960 Lines • Show Last 20 Lines |