|
|
@ -726,6 +726,11 @@ bool AppInit2(boost::thread_group& threadGroup) |
|
|
|
strLoadError = _("Corrupted block database detected"); |
|
|
|
strLoadError = _("Corrupted block database detected"); |
|
|
|
break; |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if( mapBlockIndex.size() > 1000 && nBestHeight == 0 ) { |
|
|
|
|
|
|
|
strLoadError = _("mapBlockIndex detected but nBestHeight still zero, trying to repair (reindex)"); |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
} |
|
|
|
} catch(std::exception &e) { |
|
|
|
} catch(std::exception &e) { |
|
|
|
strLoadError = _("Error opening block database"); |
|
|
|
strLoadError = _("Error opening block database"); |
|
|
|
break; |
|
|
|
break; |
|
|
|