Changeset View
Changeset View
Standalone View
Standalone View
src/init.cpp
Show First 20 Lines • Show All 1,333 Lines • ▼ Show 20 Lines | ScheduleBatchPriority(); | ||||
LogPrintf("Reconsidering checkpointed block %s ...\n", | LogPrintf("Reconsidering checkpointed block %s ...\n", | ||||
hash.GetHex()); | hash.GetHex()); | ||||
ResetBlockFailureFlags(pblockindex); | ResetBlockFailureFlags(pblockindex); | ||||
} | } | ||||
} | } | ||||
// scan for better chains in the block chain database, that are not yet | // scan for better chains in the block chain database, that are not yet | ||||
// connected in the active best chain | // connected in the active best chain | ||||
CValidationState state; | BlockValidationState state; | ||||
if (!ActivateBestChain(config, state)) { | if (!ActivateBestChain(config, state)) { | ||||
LogPrintf("Failed to connect best block (%s)\n", | LogPrintf("Failed to connect best block (%s)\n", | ||||
FormatStateMessage(state)); | FormatStateMessage(state)); | ||||
StartShutdown(); | StartShutdown(); | ||||
return; | return; | ||||
} | } | ||||
if (gArgs.GetBoolArg("-stopafterblockimport", | if (gArgs.GetBoolArg("-stopafterblockimport", | ||||
▲ Show 20 Lines • Show All 1,447 Lines • Show Last 20 Lines |