Changeset View
Changeset View
Standalone View
Standalone View
src/init.cpp
Show First 20 Lines • Show All 2,209 Lines • ▼ Show 20 Lines | while (!fLoaded && !fRequestShutdown) { | ||||
} | } | ||||
} | } | ||||
if (!is_coinsview_empty) { | if (!is_coinsview_empty) { | ||||
uiInterface.InitMessage(_("Verifying blocks...")); | uiInterface.InitMessage(_("Verifying blocks...")); | ||||
if (fHavePruned && | if (fHavePruned && | ||||
gArgs.GetArg("-checkblocks", DEFAULT_CHECKBLOCKS) > | gArgs.GetArg("-checkblocks", DEFAULT_CHECKBLOCKS) > | ||||
MIN_BLOCKS_TO_KEEP) { | MIN_BLOCKS_TO_KEEP) { | ||||
LogPrintf("Prune: pruned datadir may not have more " | LogPrintf( | ||||
"than %d blocks; only checking available " | "Prune: pruned datadir may not have more than %d " | ||||
"blocks", | "blocks; only checking available blocks\n", | ||||
MIN_BLOCKS_TO_KEEP); | MIN_BLOCKS_TO_KEEP); | ||||
} | } | ||||
CBlockIndex *tip = chainActive.Tip(); | CBlockIndex *tip = chainActive.Tip(); | ||||
RPCNotifyBlockChange(true, tip); | RPCNotifyBlockChange(true, tip); | ||||
if (tip && tip->nTime > | if (tip && tip->nTime > | ||||
GetAdjustedTime() + MAX_FUTURE_BLOCK_TIME) { | GetAdjustedTime() + MAX_FUTURE_BLOCK_TIME) { | ||||
strLoadError = _( | strLoadError = _( | ||||
"The block database contains a block which appears " | "The block database contains a block which appears " | ||||
▲ Show 20 Lines • Show All 226 Lines • Show Last 20 Lines |