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
// If testnet skip this || If the user changes this to disable while wallet running just drop out of here now. (need a way to remove items from scheduler)
44
-
if (fTestNet || GetBoolArg("-disableupdatecheck", false))
51
+
if (fTestNet || (GetBoolArg("-disableupdatecheck", false) && !snapshotrequest))
std::cout << _("Snapshot Process Has Begun.") << std::endl;
178
183
std::cout << _("Warning: Ending this process after Stage 2 will result in syncing from 0 or an incomplete/corrupted blockchain.") << std::endl << std::endl;
179
184
185
+
// Verify a mandatory release is not available before we continue to snapshot download.
186
+
std::string VersionResponse = "";
187
+
188
+
if (CheckForLatestUpdate(VersionResponse, false, true))
stream << _("Due to the failure to delete the blockchain data you will be required to manually delete the data before starting your wallet.");
608
+
stream << "\r\n";
609
+
stream << _("Failure to do so will result in undefined behaviour or failure to start wallet.");
610
+
stream << "\r\n\r\n";
611
+
stream << _("You will need to delete the following.");
612
+
stream << "\r\n\r\n";
613
+
stream << _("Files:");
614
+
stream << "\r\n";
615
+
stream << "blk000*.dat";
616
+
stream << "\r\n\r\n";
617
+
stream << _("Directories:");
618
+
stream << "\r\n";
619
+
stream << "txleveldb";
620
+
stream << "\r\n";
621
+
stream << "accrual";
622
+
623
+
break;
624
+
}
625
+
626
+
case UpdateAvailable: stream << _("Unable to download a snapshot, as the wallet has detected that a new mandatory version is available for install. The mandatory upgrade must be installed before the snapshot can be downloaded and applied."); break;
627
+
case GithubResponse: stream << _("Latest Version github data response:"); break;
0 commit comments