Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
masternode-meta.h
Go to the documentation of this file.
76 // KEEP TRACK OF EACH GOVERNANCE ITEM INCASE THIS NODE GOES OFFLINE, SO WE CAN RECALC THEIR STATUS
void DisallowMixing(const uint256 &proTxHash)
Definition: masternode-meta.cpp:84
ADD_SERIALIZE_METHODS void SerializationOp(Stream &s, Operation ser_action)
Definition: masternode-meta.h:56
Definition: masternode-meta.h:22
CMasternodeMetaInfo(const CMasternodeMetaInfo &ref)
Definition: masternode-meta.h:44
void SetLastOutboundAttempt(int64_t t)
Definition: masternode-meta.h:81
int64_t GetDsqThreshold(const uint256 &proTxHash, int nMnCount)
Definition: masternode-meta.cpp:63
static const std::string SERIALIZATION_VERSION_STRING
Definition: masternode-meta.h:91
Definition: univalue.h:20
std::map< uint256, int > mapGovernanceObjectsVotedOn
Definition: masternode-meta.h:36
void SetLastOutboundSuccess(int64_t t)
Definition: masternode-meta.h:83
static const int MASTERNODE_MAX_MIXING_TXES
Definition: masternode-meta.h:18
void RemoveGovernanceObject(const uint256 &nGovernanceObjectHash)
Definition: masternode-meta.cpp:38
std::vector< uint256 > GetAndClearDirtyGovernanceObjectHashes()
Definition: masternode-meta.cpp:109
void AddGovernanceVote(const uint256 &nGovernanceObjectHash)
Definition: masternode-meta.cpp:29
#define ADD_SERIALIZE_METHODS
Implement three methods for serializable objects.
Definition: serialize.h:174
std::shared_ptr< CMasternodeMetaInfo > CMasternodeMetaInfoPtr
Definition: masternode-meta.h:86
bool IsValidForMixingTxes() const
Definition: masternode-meta.h:74
int64_t GetLastOutboundAttempt() const
Definition: masternode-meta.h:82
CMasternodeMetaInfo(const uint256 &_proTxHash)
Definition: masternode-meta.h:43
std::map< uint256, CMasternodeMetaInfoPtr > metaInfos
Definition: masternode-meta.h:95
ADD_SERIALIZE_METHODS void SerializationOp(Stream &s, Operation ser_action)
Definition: masternode-meta.h:105
void AllowMixing(const uint256 &proTxHash)
Definition: masternode-meta.cpp:74
int64_t GetLastOutboundSuccess() const
Definition: masternode-meta.h:84
const uint256 & GetProTxHash() const
Definition: masternode-meta.h:70
Definition: masternode-meta.h:88
std::vector< uint256 > vecDirtyGovernanceObjectHashes
Definition: masternode-meta.h:96
bool AddGovernanceVote(const uint256 &proTxHash, const uint256 &nGovernanceObjectHash)
Definition: masternode-meta.cpp:93
CMasternodeMetaInfoPtr GetMetaInfo(const uint256 &proTxHash, bool fCreate=true)
Definition: masternode-meta.cpp:45
Wrapped mutex: supports recursive locking, but no waiting TODO: We should move away from using the re...
Definition: sync.h:94
void RemoveGovernanceObject(const uint256 &nGovernanceObjectHash)
Definition: masternode-meta.cpp:101