![]() |
PIVX Core
5.6.99
P2P Digital Currency
|
#include <net_masternodes.h>
Classes | |
| struct | Options |
Private Types | |
| typedef std::pair< Consensus::LLMQType, uint256 > | QuorumTypeAndHash |
Private Member Functions | |
| std::vector< uint256 > vPendingMasternodes | GUARDED_BY (cs_vPendingMasternodes) |
| std::map< QuorumTypeAndHash, std::set< uint256 > > masternodeQuorumNodes | GUARDED_BY (cs_vPendingMasternodes) |
| std::map< QuorumTypeAndHash, std::set< uint256 > > masternodeQuorumRelayMembers | GUARDED_BY (cs_vPendingMasternodes) |
| std::set< uint256 > masternodePendingProbes | GUARDED_BY (cs_vPendingMasternodes) |
| Optional< uint256 > local_dmn_pro_tx_hash | GUARDED_BY (cs_vPendingMasternodes) |
| void | openConnection (const CAddress &addrConnect, bool isProbe) |
| void | doMaintenance () |
Private Attributes | |
| CThreadInterrupt | interruptNet |
| std::thread | threadOpenMasternodeConnections |
| RecursiveMutex | cs_vPendingMasternodes |
| CConnman * | connman |
Definition at line 23 of file net_masternodes.h.
|
private |
Definition at line 83 of file net_masternodes.h.
|
explicit |
Definition at line 15 of file net_masternodes.cpp.
| TierTwoConnMan::~TierTwoConnMan | ( | ) |
Definition at line 16 of file net_masternodes.cpp.
| bool TierTwoConnMan::addPendingMasternode | ( | const uint256 & | proTxHash | ) |
Definition at line 140 of file net_masternodes.cpp.
| void TierTwoConnMan::addPendingProbeConnections | ( | const std::set< uint256 > & | proTxHashes | ) |
Definition at line 150 of file net_masternodes.cpp.
| void TierTwoConnMan::clear | ( | ) |
Definition at line 156 of file net_masternodes.cpp.
|
private |
Definition at line 411 of file net_masternodes.cpp.
| std::set< uint256 > TierTwoConnMan::getQuorumNodes | ( | Consensus::LLMQType | llmqType | ) |
Definition at line 29 of file net_masternodes.cpp.
| std::set< NodeId > TierTwoConnMan::getQuorumNodes | ( | Consensus::LLMQType | llmqType, |
| uint256 | quorumHash | ||
| ) |
|
private |
|
private |
|
private |
|
private |
|
inlineprivate |
Definition at line 89 of file net_masternodes.h.
| bool TierTwoConnMan::hasQuorumNodes | ( | Consensus::LLMQType | llmqType, |
| const uint256 & | quorumHash | ||
| ) |
Definition at line 62 of file net_masternodes.cpp.
| void TierTwoConnMan::interrupt | ( | ) |
Definition at line 185 of file net_masternodes.cpp.
| bool TierTwoConnMan::isMasternodeQuorumNode | ( | const CNode * | pnode | ) |
| bool TierTwoConnMan::isMasternodeQuorumRelayMember | ( | const uint256 & | protxHash | ) |
Definition at line 126 of file net_masternodes.cpp.
|
private |
| void TierTwoConnMan::removeQuorumNodes | ( | Consensus::LLMQType | llmqType, |
| const uint256 & | quorumHash | ||
| ) |
Definition at line 68 of file net_masternodes.cpp.
|
inline |
Definition at line 66 of file net_masternodes.h.
| void TierTwoConnMan::setMasternodeQuorumRelayMembers | ( | Consensus::LLMQType | llmqType, |
| const uint256 & | quorumHash, | ||
| const std::set< uint256 > & | proTxHashes | ||
| ) |
| void TierTwoConnMan::setQuorumNodes | ( | Consensus::LLMQType | llmqType, |
| const uint256 & | quorumHash, | ||
| const std::set< uint256 > & | proTxHashes | ||
| ) |
Definition at line 18 of file net_masternodes.cpp.
| void TierTwoConnMan::start | ( | CScheduler & | scheduler, |
| const TierTwoConnMan::Options & | options | ||
| ) |
| void TierTwoConnMan::stop | ( | ) |
Definition at line 179 of file net_masternodes.cpp.
| void TierTwoConnMan::ThreadOpenMasternodeConnections | ( | ) |
Definition at line 215 of file net_masternodes.cpp.
|
private |
Definition at line 92 of file net_masternodes.h.
|
mutableprivate |
Definition at line 81 of file net_masternodes.h.
|
private |
Definition at line 78 of file net_masternodes.h.
|
private |
Definition at line 79 of file net_masternodes.h.