Dash Core  0.12.2.1
P2P Digital Currency
masternode-sync.h File Reference
#include "chain.h"
#include "net.h"
#include <univalue.h>

Go to the source code of this file.

Classes

class  CMasternodeSync
 

Variables

static const int MASTERNODE_SYNC_FAILED = -1
 
static const int MASTERNODE_SYNC_INITIAL = 0
 
static const int MASTERNODE_SYNC_WAITING = 1
 
static const int MASTERNODE_SYNC_LIST = 2
 
static const int MASTERNODE_SYNC_MNW = 3
 
static const int MASTERNODE_SYNC_GOVERNANCE = 4
 
static const int MASTERNODE_SYNC_GOVOBJ = 10
 
static const int MASTERNODE_SYNC_GOVOBJ_VOTE = 11
 
static const int MASTERNODE_SYNC_FINISHED = 999
 
static const int MASTERNODE_SYNC_TICK_SECONDS = 6
 
static const int MASTERNODE_SYNC_TIMEOUT_SECONDS = 30
 
static const int MASTERNODE_SYNC_ENOUGH_PEERS = 6
 
CMasternodeSync masternodeSync
 

Variable Documentation

◆ MASTERNODE_SYNC_ENOUGH_PEERS

const int MASTERNODE_SYNC_ENOUGH_PEERS = 6
static

Definition at line 27 of file masternode-sync.h.

◆ MASTERNODE_SYNC_FAILED

◆ MASTERNODE_SYNC_FINISHED

◆ MASTERNODE_SYNC_GOVERNANCE

const int MASTERNODE_SYNC_GOVERNANCE = 4
static

◆ MASTERNODE_SYNC_GOVOBJ

const int MASTERNODE_SYNC_GOVOBJ = 10
static

Definition at line 20 of file masternode-sync.h.

Referenced by CGovernanceManager::Sync().

◆ MASTERNODE_SYNC_GOVOBJ_VOTE

const int MASTERNODE_SYNC_GOVOBJ_VOTE = 11
static

Definition at line 21 of file masternode-sync.h.

Referenced by CGovernanceManager::Sync().

◆ MASTERNODE_SYNC_INITIAL

const int MASTERNODE_SYNC_INITIAL = 0
static

◆ MASTERNODE_SYNC_LIST

◆ MASTERNODE_SYNC_MNW

◆ MASTERNODE_SYNC_TICK_SECONDS

const int MASTERNODE_SYNC_TICK_SECONDS = 6
static

Definition at line 24 of file masternode-sync.h.

Referenced by CMasternodeSync::ProcessTick().

◆ MASTERNODE_SYNC_TIMEOUT_SECONDS

const int MASTERNODE_SYNC_TIMEOUT_SECONDS = 30
static

Definition at line 25 of file masternode-sync.h.

Referenced by CMasternodeSync::ProcessTick().

◆ MASTERNODE_SYNC_WAITING

◆ masternodeSync

CMasternodeSync masternodeSync

Definition at line 17 of file masternode-sync.cpp.

Referenced by CConnman::AcceptConnection(), CDSNotificationInterface::AcceptedBlockHeader(), CGovernanceManager::AddGovernanceObject(), BitcoinMiner(), CMasternode::Check(), CInstantSend::CheckAndRemove(), CMasternodeMan::CheckAndRemove(), CMasternodePayments::CheckAndRemove(), CMasternodePing::CheckAndUpdate(), CMasternodeMan::CheckMnbAndUpdateMasternodeList(), CGovernanceManager::CheckPostponedObjects(), CMasternodePayments::CheckPreviousBlockVotes(), CMasternodeMan::CheckSameAddr(), CMasternodePaymentVote::CheckSignature(), CGovernanceManager::ConfirmInventoryRequest(), CMasternodeBroadcast::Create(), CPrivateSendClient::DoAutomaticDenominating(), CMasternodeMan::DoFullVerificationStep(), CGovernanceManager::DoMaintenance(), getblocktemplate(), CMasternodeMan::GetMasternodeByRank(), CMasternodeMan::GetMasternodeRank(), CMasternodeMan::GetMasternodeRanks(), CMasternodeMan::GetMasternodeScores(), CMasternodeMan::GetNextMasternodeInQueueForPayment(), CPrivateSendClient::GetStatus(), CMasternodeSync::GetSyncStatus(), gobject(), IsBlockPayeeValid(), IsBlockValueValid(), CMasternodePayments::IsScheduled(), CMasternodePaymentVote::IsValid(), CActiveMasternode::ManageState(), masternode(), CGovernanceManager::MasternodeRateCheck(), mnsync(), CDSNotificationInterface::NotifyHeaderTip(), MasternodeList::on_startMissingButton_clicked(), OverviewPage::privateSendStatus(), CMasternodePayments::ProcessBlock(), CPrivateSendServer::ProcessMessage(), CInstantSend::ProcessMessage(), CPrivateSendClient::ProcessMessage(), CMasternodeMan::ProcessMessage(), CMasternodePayments::ProcessMessage(), CGovernanceManager::ProcessMessage(), ProcessMessage(), CMasternodePaymentVote::Relay(), CMasternodePayments::RequestLowDataPaymentBlocks(), BitcoinGUI::setAdditionalDataSyncProgress(), BitcoinGUI::setNumBlocks(), CMasternodePayments::Sync(), CGovernanceManager::Sync(), ThreadCheckPrivateSend(), ThreadCheckPrivateSendClient(), ThreadCheckPrivateSendServer(), CMasternodeBroadcast::Update(), CDSNotificationInterface::UpdatedBlockTip(), CPrivateSendClient::UpdatedBlockTip(), CMasternodeMan::UpdateLastPaid(), CMasternodeMan::UpdateMasternodeList(), OverviewPage::updatePrivateSendProgress(), and CPrivateSendClient::WaitForAnotherBlock().