diff --git a/src/darksend.cpp b/src/darksend.cpp index 478719933..bac867916 100644 --- a/src/darksend.cpp +++ b/src/darksend.cpp @@ -2236,7 +2236,7 @@ void ThreadCheckDarkSendPool() } //try to sync the masternode list and payment list every 5 seconds from at least 3 nodes - if(c % 5 == 0 && (RequestedMasterNodeList <= 2 || vecMasternodes.size() == 0)){ + if(c % 5 == 0 && RequestedMasterNodeList < 3){ bool fIsInitialDownload = IsInitialBlockDownload(); if(!fIsInitialDownload) { LOCK(cs_vNodes); diff --git a/src/masternode.cpp b/src/masternode.cpp index 441de6a44..9706e77cd 100644 --- a/src/masternode.cpp +++ b/src/masternode.cpp @@ -273,13 +273,13 @@ void ProcessMessageMasternode(CNode* pfrom, std::string& strCommand, CDataStream { int64_t t = (*i).second; if (GetTime() < t) { - Misbehaving(pfrom->GetId(), 20); + Misbehaving(pfrom->GetId(), 34); LogPrintf("dseg - peer already asked me for the list\n"); return; } } - int64_t askAgain = GetTime()+(60*60*24); + int64_t askAgain = GetTime()+(60*60*3); askedForMasternodeList[pfrom->addr] = askAgain; } } //else, asking for a specific node which is ok