couple changes

This commit is contained in:
Evan Duffield 2014-10-08 10:05:22 -07:00
parent 936da23d97
commit 413b7b44d9
2 changed files with 7 additions and 9 deletions

View File

@ -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

View File

@ -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,7 +1999,6 @@ 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
@ -2009,7 +2008,6 @@ void ThreadCheckDarkSendPool()
}
}
}
}
if(c == MASTERNODE_PING_SECONDS){