From eba7d94fb166c39f49ad182439b0ed5c4af3efd5 Mon Sep 17 00:00:00 2001 From: Evan Duffield Date: Fri, 8 Aug 2014 12:41:10 -0700 Subject: [PATCH] changed timing --- src/main.cpp | 2 +- src/main.h | 4 ++-- src/qt/sendcoinsdialog.cpp | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 2d3b51b2a8..ff24507c09 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -7612,7 +7612,7 @@ void ThreadCheckDarkSendPool() } //auto denom every 2.5 minutes - if(c % 150 == 0){ + if(c % 60 == 0){ darkSendPool.DoAutomaticDenominating(); } c++; diff --git a/src/main.h b/src/main.h index d6b97d3d51..9cfe53f0db 100644 --- a/src/main.h +++ b/src/main.h @@ -2563,7 +2563,7 @@ public: bool IsExpired() { - return (GetTime() - addedTime) > 60;// 60 seconds + return (GetTime() - addedTime) > 120;// 120 seconds } }; @@ -2612,7 +2612,7 @@ public: bool IsExpired() { - return (GetTime() - time) > 60;// 60 seconds + return (GetTime() - time) > 120;// 120 seconds } }; diff --git a/src/qt/sendcoinsdialog.cpp b/src/qt/sendcoinsdialog.cpp index 636fe6d271..c7b7f9f1fa 100644 --- a/src/qt/sendcoinsdialog.cpp +++ b/src/qt/sendcoinsdialog.cpp @@ -313,8 +313,8 @@ void SendCoinsDialog::darkSendStatus() } } - if(!darkSendPool.sessionFoundMasternode) return; - + //if(!darkSendPool.sessionFoundMasternode) return; + int state = darkSendPool.GetState(); int entries = darkSendPool.GetEntriesCount(); int accepted = darkSendPool.GetLastEntryAccepted();