You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LogPrintf("Creating new peers.dat because the file version was not compatible (%s). Original backed up to peers.dat.bak\n", fs::quoted(fs::PathToString(path_addr)));
208
207
DumpPeerAddresses(args, *addrman);
209
208
} catch (const std::exception& e) {
210
-
addrman = nullptr;
211
-
returnstrprintf(_("Invalid or corrupt peers.dat (%s). If you believe this is a bug, please report it to %s. As a workaround, you can move the file (%s) out of the way (rename, move, or delete) to have a new one created on the next start."),
return util::Error{strprintf(_("Invalid or corrupt peers.dat (%s). If you believe this is a bug, please report it to %s. As a workaround, you can move the file (%s) out of the way (rename, move, or delete) to have a new one created on the next start."),
if (block_tree_db.Read(DB_TXINDEX_BLOCK, ignored)) {
38
-
return_("The -txindex upgrade started by a previous version cannot be completed. Restart with the previous version or run a full -reindex.");
38
+
returnutil::Error{_("The -txindex upgrade started by a previous version cannot be completed. Restart with the previous version or run a full -reindex.")};
// Disable legacy txindex and warn once about occupied disk space
44
44
if (!block_tree_db.WriteFlag("txindex", false)) {
45
-
returnUntranslated("Failed to write block index db flag 'txindex'='0'");
45
+
returnutil::Error{Untranslated("Failed to write block index db flag 'txindex'='0'")};
46
46
}
47
-
return_("The block index db contains a legacy 'txindex'. To clear the occupied disk space, run a full -reindex, otherwise ignore this error. This error message will not be displayed again.");
47
+
returnutil::Error{_("The block index db contains a legacy 'txindex'. To clear the occupied disk space, run a full -reindex, otherwise ignore this error. This error message will not be displayed again.")};
0 commit comments