Remove utxo db upgrade code

This commit is contained in:
MarcoFalke 2022-02-02 13:23:02 +01:00
parent 76d44e832f
commit fa9112aac0
No known key found for this signature in database
GPG key ID: CE2B75697E69A548
9 changed files with 87 additions and 134 deletions

View file

@ -1450,8 +1450,9 @@ bool AppInitMain(NodeContext& node, interfaces::BlockAndHeaderTipInfo* tip_info)
strLoadError = _("Error initializing block database");
break;
case ChainstateLoadingError::ERROR_CHAINSTATE_UPGRADE_FAILED:
strLoadError = _("Error upgrading chainstate database");
break;
return InitError(_("Unsupported chainstate database format found. "
"Please restart with -reindex-chainstate. This will "
"rebuild the chainstate database."));
case ChainstateLoadingError::ERROR_REPLAYBLOCKS_FAILED:
strLoadError = _("Unable to replay blocks. You will need to rebuild the database using -reindex-chainstate.");
break;