diff --git a/src/clientversion.h b/src/clientversion.h index cd89a67d36..3925b5d5ca 100644 --- a/src/clientversion.h +++ b/src/clientversion.h @@ -9,7 +9,7 @@ #define CLIENT_VERSION_MAJOR 0 #define CLIENT_VERSION_MINOR 10 #define CLIENT_VERSION_REVISION 15 -#define CLIENT_VERSION_BUILD 0 +#define CLIENT_VERSION_BUILD 1 // Set to true for release, false for prerelease or test build #define CLIENT_VERSION_IS_RELEASE true diff --git a/src/darksend.cpp b/src/darksend.cpp index a7a5b1e2a1..86b68b4c54 100644 --- a/src/darksend.cpp +++ b/src/darksend.cpp @@ -1987,7 +1987,7 @@ void ThreadCheckDarkSendPool() //try to sync the masternode list and payment list every 20 seconds - if(c % 20 == 0){ + if(c % 5 == 0 && RequestedMasterNodeList <= 8){ bool fIsInitialDownload = IsInitialBlockDownload(); if(!fIsInitialDownload) { LOCK(cs_vNodes); @@ -1999,13 +1999,11 @@ void ThreadCheckDarkSendPool() if(pnode->HasFulfilledRequest("mnsync")) continue; pnode->FulfilledRequest("mnsync"); - if(RequestedMasterNodeList <= 8) { - LogPrintf("Successfully synced, asking for Masternode list and payment list\n"); - - if(RequestedMasterNodeList <= 2) pnode->PushMessage("dseg", CTxIn()); //request full mn list - pnode->PushMessage("mnsync"); //sync payees - RequestedMasterNodeList++; - } + LogPrintf("Successfully synced, asking for Masternode list and payment list\n"); + + if(RequestedMasterNodeList <= 2) pnode->PushMessage("dseg", CTxIn()); //request full mn list + pnode->PushMessage("mnsync"); //sync payees + RequestedMasterNodeList++; } } }