mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 20:12:57 +01:00
add budget timeout
This commit is contained in:
parent
4727d92d1f
commit
dc70f73221
@ -331,6 +331,13 @@ void CMasternodeSync::Process()
|
||||
return;
|
||||
}
|
||||
|
||||
// timeout
|
||||
if(lastBudgetItem == 0 && RequestedMasternodeAttempt >= MASTERNODE_SYNC_THRESHOLD*3) {
|
||||
GetNextAsset();
|
||||
activeMasternode.ManageStatus();
|
||||
return;
|
||||
}
|
||||
|
||||
if(pnode->HasFulfilledRequest("busync")) continue;
|
||||
pnode->FulfilledRequest("busync");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user