Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

masternode-sync.h File Reference
#include <chain.h>
#include <net.h>
+ Include dependency graph for masternode-sync.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CMasternodeSync
 

Variables

static const int MASTERNODE_SYNC_BLOCKCHAIN = 1
 
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_RESET_SECONDS = 600
 
CMasternodeSync masternodeSync
 

Variable Documentation

◆ MASTERNODE_SYNC_BLOCKCHAIN

◆ MASTERNODE_SYNC_FINISHED

const int MASTERNODE_SYNC_FINISHED = 999
static

◆ MASTERNODE_SYNC_GOVERNANCE

const int MASTERNODE_SYNC_GOVERNANCE = 4
static

◆ MASTERNODE_SYNC_GOVOBJ

const int MASTERNODE_SYNC_GOVOBJ = 10
static

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

Referenced by CGovernanceManager::SyncObjects().

◆ MASTERNODE_SYNC_GOVOBJ_VOTE

const int MASTERNODE_SYNC_GOVOBJ_VOTE = 11
static

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

Referenced by CGovernanceManager::SyncSingleObjVotes().

◆ MASTERNODE_SYNC_RESET_SECONDS

const int MASTERNODE_SYNC_RESET_SECONDS = 600
static

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

Referenced by CMasternodeSync::Reset().

◆ MASTERNODE_SYNC_TICK_SECONDS

const int MASTERNODE_SYNC_TICK_SECONDS = 6
static

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

Referenced by CMasternodeSync::ProcessTick().

◆ MASTERNODE_SYNC_TIMEOUT_SECONDS

const int MASTERNODE_SYNC_TIMEOUT_SECONDS = 30
static

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

Referenced by CMasternodeSync::ProcessTick().

◆ masternodeSync

CMasternodeSync masternodeSync

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

Referenced by CConnman::AcceptConnection(), CDSNotificationInterface::AcceptedBlockHeader(), CGovernanceManager::AddGovernanceObject(), AppInitMain(), llmq::CChainLocksHandler::BlockConnected(), BitcoinGUI::changeEvent(), CGovernanceManager::CheckPostponedObjects(), llmq::CChainLocksHandler::Cleanup(), CGovernanceManager::ConfirmInventoryRequest(), CPrivateSendClientSession::DoAutomaticDenominating(), CPrivateSendClientManager::DoAutomaticDenominating(), CMasternodeUtils::DoMaintenance(), CPrivateSendServer::DoMaintenance(), CPrivateSendClientManager::DoMaintenance(), CGovernanceManager::DoMaintenance(), getblocktemplate(), CPrivateSendClientSession::GetStatus(), CMasternodeSync::GetSyncStatus(), gobject_submit(), IsBlockValueValid(), IsOldBudgetBlockValueValid(), CGovernanceManager::MasternodeRateCheck(), mnsync(), CPrivateSend::NotifyChainLock(), CDSNotificationInterface::NotifyHeaderTip(), CConnman::NotifyNumConnectionsChanged(), OverviewPage::privateSendStatus(), CMNAuth::ProcessMessage(), CPrivateSendServer::ProcessMessage(), CPrivateSendClientSession::ProcessMessage(), CPrivateSendClientManager::ProcessMessage(), CGovernanceManager::ProcessMessage(), ProcessMessage(), llmq::CInstantSendManager::ProcessNewTransaction(), llmq::CInstantSendManager::ProcessTx(), CGovernanceVote::Relay(), CGovernanceObject::Relay(), CGovernanceManager::RemoveInvalidVotes(), BitcoinGUI::setAdditionalDataSyncProgress(), CConnman::SetNetworkActive(), BitcoinGUI::setNumBlocks(), CGovernanceManager::SyncObjects(), CGovernanceManager::SyncSingleObjVotes(), CConnman::ThreadOpenMasternodeConnections(), llmq::CChainLocksHandler::TrySignChainTip(), CGovernanceManager::UpdateCachesAndClean(), CDSNotificationInterface::UpdatedBlockTip(), llmq::CQuorumManager::UpdatedBlockTip(), CPrivateSend::UpdatedBlockTip(), MasternodeList::updateDIP3ListScheduled(), BitcoinGUI::updateNetworkState(), OverviewPage::updatePrivateSendProgress(), BitcoinGUI::updateProgressBarVisibility(), and CPrivateSendClientManager::WaitForAnotherBlock().

Released under the MIT license