Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

deterministicmns.cpp File Reference
#include <evo/deterministicmns.h>
#include <evo/specialtx.h>
#include <base58.h>
#include <chainparams.h>
#include <core_io.h>
#include <script/standard.h>
#include <ui_interface.h>
#include <validation.h>
#include <validationinterface.h>
#include <llmq/quorums_commitment.h>
#include <llmq/quorums_utils.h>
#include <univalue.h>
+ Include dependency graph for deterministicmns.cpp:

Go to the source code of this file.

Functions

static int CompareByLastPaid_GetHeight (const CDeterministicMN &dmn)
 
static bool CompareByLastPaid (const CDeterministicMN &_a, const CDeterministicMN &_b)
 
static bool CompareByLastPaid (const CDeterministicMNCPtr &_a, const CDeterministicMNCPtr &_b)
 

Variables

static const std::string DB_LIST_SNAPSHOT = "dmn_S"
 
static const std::string DB_LIST_DIFF = "dmn_D"
 
std::unique_ptr< CDeterministicMNManagerdeterministicMNManager
 

Function Documentation

◆ CompareByLastPaid() [1/2]

static bool CompareByLastPaid ( const CDeterministicMN _a,
const CDeterministicMN _b 
)
static

◆ CompareByLastPaid() [2/2]

static bool CompareByLastPaid ( const CDeterministicMNCPtr _a,
const CDeterministicMNCPtr _b 
)
static

Definition at line 211 of file deterministicmns.cpp.

References CompareByLastPaid().

◆ CompareByLastPaid_GetHeight()

static int CompareByLastPaid_GetHeight ( const CDeterministicMN dmn)
static

Definition at line 190 of file deterministicmns.cpp.

References CDeterministicMN::pdmnState.

Referenced by CompareByLastPaid().

Variable Documentation

◆ DB_LIST_DIFF

◆ DB_LIST_SNAPSHOT

const std::string DB_LIST_SNAPSHOT = "dmn_S"
static

◆ deterministicMNManager

std::unique_ptr<CDeterministicMNManager> deterministicMNManager

Definition at line 24 of file deterministicmns.cpp.

Referenced by llmq::CLLMQUtils::AddQuorumProbeConnections(), CWallet::AddToWallet(), CTxMemPool::addUnchecked(), AppInitMain(), CWallet::AutoLockMasternodeCollaterals(), BuildSimplifiedMNListDiff(), CalcCbTxMerkleRootMNList(), CheckProRegTx(), CheckProUpRegTx(), CheckProUpRevTx(), CheckProUpServTx(), CGovernanceObject::ClearMasternodeVotes(), CPrivateSendClientSession::DoAutomaticDenominating(), CPrivateSendClientManager::DoAutomaticDenominating(), llmq::CLLMQUtils::EnsureQuorumConnections(), CTxMemPool::existsProviderTxConflict(), llmq::CLLMQUtils::GetAllQuorumMembers(), CMasternodePayments::GetBlockTxOuts(), CGovernanceManager::GetCurrentVotes(), GetNextMasternodeForPayment(), CPrivateSendClientManager::GetRandomNotUsedMasternode(), GetRequiredPaymentsStrings(), gobject_submit(), gobject_vote_conf(), CActiveMasternodeManager::Init(), llmq::CDKGSessionHandler::InitNewQuorum(), CConnman::IsMasternodeQuorumNode(), CMasternodePayments::IsTransactionValid(), CGovernanceVote::IsValid(), CGovernanceObject::IsValidLocally(), CPrivateSendClientSession::JoinExistingQueue(), CWallet::ListProTxCoins(), masternode_count(), masternode_status(), masternodelist(), PrepareShutdown(), CMNAuth::ProcessMessage(), CPrivateSendServer::ProcessMessage(), CPrivateSendClientManager::ProcessMessage(), ProcessMessage(), ProcessSpecialTxsInBlock(), CGovernanceObject::ProcessVote(), protx_info(), protx_list(), quorum_memberof(), ClientModel::refreshMasternodeList(), CGovernanceVote::Relay(), CGovernanceManager::RemoveInvalidVotes(), CTxMemPool::removeProTxSpentCollateralConflicts(), CGovernanceManager::RequestGovernanceObjectVotes(), CPrivateSendClientSession::StartNewQueue(), CDSNotificationInterface::SynchronousUpdatedBlockTip(), ThreadImport(), CConnman::ThreadOpenConnections(), CConnman::ThreadOpenMasternodeConnections(), UndoSpecialTxsInBlock(), CActiveMasternodeManager::UpdatedBlockTip(), llmq::CDKGSessionManager::UpdatedBlockTip(), CGovernanceManager::UpdatedBlockTip(), CGovernanceObject::UpdateSentinelVariables(), voteraw(), and VoteWithMasternodes().

Released under the MIT license