mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 21:12:48 +01:00
Merge pull request #1941 from Diapolo/rem_initMsg_main
remove init messages from ThreadImport()
This commit is contained in:
commit
d44f1ea394
@ -2549,7 +2549,6 @@ void ThreadImport(void *data) {
|
|||||||
vnThreadsRunning[THREAD_IMPORT]++;
|
vnThreadsRunning[THREAD_IMPORT]++;
|
||||||
|
|
||||||
// -loadblock=
|
// -loadblock=
|
||||||
uiInterface.InitMessage(_("Starting block import..."));
|
|
||||||
BOOST_FOREACH(boost::filesystem::path &path, *vFiles) {
|
BOOST_FOREACH(boost::filesystem::path &path, *vFiles) {
|
||||||
FILE *file = fopen(path.string().c_str(), "rb");
|
FILE *file = fopen(path.string().c_str(), "rb");
|
||||||
if (file)
|
if (file)
|
||||||
@ -2559,8 +2558,6 @@ void ThreadImport(void *data) {
|
|||||||
// hardcoded $DATADIR/bootstrap.dat
|
// hardcoded $DATADIR/bootstrap.dat
|
||||||
filesystem::path pathBootstrap = GetDataDir() / "bootstrap.dat";
|
filesystem::path pathBootstrap = GetDataDir() / "bootstrap.dat";
|
||||||
if (filesystem::exists(pathBootstrap)) {
|
if (filesystem::exists(pathBootstrap)) {
|
||||||
uiInterface.InitMessage(_("Importing bootstrap blockchain data file."));
|
|
||||||
|
|
||||||
FILE *file = fopen(pathBootstrap.string().c_str(), "rb");
|
FILE *file = fopen(pathBootstrap.string().c_str(), "rb");
|
||||||
if (file) {
|
if (file) {
|
||||||
filesystem::path pathBootstrapOld = GetDataDir() / "bootstrap.dat.old";
|
filesystem::path pathBootstrapOld = GetDataDir() / "bootstrap.dat.old";
|
||||||
|
Loading…
Reference in New Issue
Block a user