mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 13:03:17 +01:00
couple changes
This commit is contained in:
parent
936da23d97
commit
413b7b44d9
@ -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
|
||||
|
@ -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");
|
||||
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++;
|
||||
}
|
||||
if(RequestedMasterNodeList <= 2) pnode->PushMessage("dseg", CTxIn()); //request full mn list
|
||||
pnode->PushMessage("mnsync"); //sync payees
|
||||
RequestedMasterNodeList++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user