Changeset View
Changeset View
Standalone View
Standalone View
src/validation.cpp
Show First 20 Lines • Show All 1,304 Lines • ▼ Show 20 Lines | bool UndoReadFromDisk(CBlockUndo &blockundo, const CBlockIndex *pindex) { | ||||
} | } | ||||
return true; | return true; | ||||
} | } | ||||
/** Abort with a message */ | /** Abort with a message */ | ||||
static bool AbortNode(const std::string &strMessage, | static bool AbortNode(const std::string &strMessage, | ||||
bilingual_str user_message = bilingual_str()) { | bilingual_str user_message = bilingual_str()) { | ||||
SetMiscWarning(strMessage); | SetMiscWarning(Untranslated(strMessage)); | ||||
LogPrintf("*** %s\n", strMessage); | LogPrintf("*** %s\n", strMessage); | ||||
if (!user_message.empty()) { | if (!user_message.empty()) { | ||||
user_message = | user_message = | ||||
_("A fatal internal error occurred, see debug.log for details"); | _("A fatal internal error occurred, see debug.log for details"); | ||||
} | } | ||||
AbortError(user_message); | AbortError(user_message); | ||||
StartShutdown(); | StartShutdown(); | ||||
return false; | return false; | ||||
▲ Show 20 Lines • Show All 4,837 Lines • Show Last 20 Lines |