From f119afb43bbd4d5eefb4b6abbe43515b9684dcee Mon Sep 17 00:00:00 2001 From: UdjinM6 Date: Tue, 18 Aug 2015 23:46:47 +0300 Subject: [PATCH] =?UTF-8?q?it=E2=80=99s=20ok=20to=20be=20banned=20for=20ds?= =?UTF-8?q?eg,=20you=E2=80=99ll=20just=20find=20another=20peers?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/darksend.cpp | 2 +- src/init.cpp | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/darksend.cpp b/src/darksend.cpp index 96fa61de4bb4..afacc7f276e1 100644 --- a/src/darksend.cpp +++ b/src/darksend.cpp @@ -2235,7 +2235,7 @@ void ThreadCheckDarkSendPool() CleanTransactionLocksList(); } - if(c % MASTERNODES_DUMP_SECONDS == 0) DumpMasternodes(); + //if(c % MASTERNODES_DUMP_SECONDS == 0) DumpMasternodes(); darkSendPool.CheckTimeout(); darkSendPool.CheckForCompleteQueue(); diff --git a/src/init.cpp b/src/init.cpp index bc467d4caaa6..41d6440c5387 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -169,7 +169,7 @@ void PrepareShutdown() GenerateBitcoins(false, NULL, 0); #endif StopNode(); - DumpMasternodes(); + //DumpMasternodes(); //DumpBudgets(); //DumpMasternodePayments(); UnregisterNodeSignals(GetNodeSignals()); @@ -1411,6 +1411,11 @@ bool AppInit2(boost::thread_group& threadGroup) + /* + + We sync all of this information on boot anyway, as it's kept on the network so there's really no point. + Also, it seems it might be causing some edge cases where clients can get stuck. I think it's better to just + sync from the network instead. uiInterface.InitMessage(_("Loading masternode cache...")); CMasternodeDB mndb; @@ -1426,11 +1431,6 @@ bool AppInit2(boost::thread_group& threadGroup) LogPrintf("file format is unknown or invalid, please fix it manually\n"); } - /* - - We sync all of this information on boot anyway, as it's kept on the network so there's really no point. - Also, it seems it might be causing some edge cases where clients can get stuck. I think it's better to just - sync from the network instead. // --------- // uiInterface.InitMessage(_("Loading budget cache..."));