Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
#include <masternode-meta.h>
Collaboration diagram for CMasternodeMetaInfo:Public Member Functions | |
| CMasternodeMetaInfo () | |
| CMasternodeMetaInfo (const uint256 &_proTxHash) | |
| CMasternodeMetaInfo (const CMasternodeMetaInfo &ref) | |
| template<typename Stream , typename Operation > | |
| ADD_SERIALIZE_METHODS void | SerializationOp (Stream &s, Operation ser_action) |
| UniValue | ToJson () const |
| const uint256 & | GetProTxHash () const |
| int64_t | GetLastDsq () const |
| int | GetMixingTxCount () const |
| bool | IsValidForMixingTxes () const |
| void | AddGovernanceVote (const uint256 &nGovernanceObjectHash) |
| void | RemoveGovernanceObject (const uint256 &nGovernanceObjectHash) |
| void | SetLastOutboundAttempt (int64_t t) |
| int64_t | GetLastOutboundAttempt () const |
| void | SetLastOutboundSuccess (int64_t t) |
| int64_t | GetLastOutboundSuccess () const |
Private Attributes | |
| CCriticalSection | cs |
| uint256 | proTxHash |
| int64_t | nLastDsq = 0 |
| int | nMixingTxCount = 0 |
| std::map< uint256, int > | mapGovernanceObjectsVotedOn |
| int64_t | lastOutboundAttempt = 0 |
| int64_t | lastOutboundSuccess = 0 |
Friends | |
| class | CMasternodeMetaMan |
Detailed Description
Definition at line 22 of file masternode-meta.h.
Constructor & Destructor Documentation
◆ CMasternodeMetaInfo() [1/3]
|
inline |
Definition at line 42 of file masternode-meta.h.
◆ CMasternodeMetaInfo() [2/3]
|
inlineexplicit |
Definition at line 43 of file masternode-meta.h.
◆ CMasternodeMetaInfo() [3/3]
|
inline |
Definition at line 44 of file masternode-meta.h.
Member Function Documentation
◆ AddGovernanceVote()
| void CMasternodeMetaInfo::AddGovernanceVote | ( | const uint256 & | nGovernanceObjectHash | ) |
Definition at line 29 of file masternode-meta.cpp.
References cs, LOCK, and mapGovernanceObjectsVotedOn.
◆ GetLastDsq()
|
inline |
Definition at line 71 of file masternode-meta.h.
◆ GetLastOutboundAttempt()
|
inline |
Definition at line 82 of file masternode-meta.h.
References cs, lastOutboundAttempt, and LOCK.
◆ GetLastOutboundSuccess()
|
inline |
Definition at line 84 of file masternode-meta.h.
References cs, lastOutboundSuccess, and LOCK.
◆ GetMixingTxCount()
|
inline |
Definition at line 72 of file masternode-meta.h.
References cs, LOCK, and nMixingTxCount.
Referenced by IsValidForMixingTxes().
◆ GetProTxHash()
|
inline |
Definition at line 70 of file masternode-meta.h.
◆ IsValidForMixingTxes()
|
inline |
Definition at line 74 of file masternode-meta.h.
References GetMixingTxCount(), and MASTERNODE_MAX_MIXING_TXES.
◆ RemoveGovernanceObject()
| void CMasternodeMetaInfo::RemoveGovernanceObject | ( | const uint256 & | nGovernanceObjectHash | ) |
Definition at line 38 of file masternode-meta.cpp.
References cs, LOCK, and mapGovernanceObjectsVotedOn.
◆ SerializationOp()
|
inline |
Definition at line 56 of file masternode-meta.h.
References cs, lastOutboundAttempt, lastOutboundSuccess, LOCK, mapGovernanceObjectsVotedOn, nLastDsq, nMixingTxCount, proTxHash, and READWRITE.
◆ SetLastOutboundAttempt()
|
inline |
Definition at line 81 of file masternode-meta.h.
References cs, lastOutboundAttempt, and LOCK.
◆ SetLastOutboundSuccess()
|
inline |
Definition at line 83 of file masternode-meta.h.
References cs, lastOutboundSuccess, and LOCK.
◆ ToJson()
| UniValue CMasternodeMetaInfo::ToJson | ( | ) | const |
Definition at line 13 of file masternode-meta.cpp.
References GetAdjustedTime(), lastOutboundAttempt, lastOutboundSuccess, nLastDsq, nMixingTxCount, Pair(), UniValue::push_back(), and UniValue::VOBJ.
Friends And Related Function Documentation
◆ CMasternodeMetaMan
|
friend |
Definition at line 24 of file masternode-meta.h.
Member Data Documentation
◆ cs
|
mutableprivate |
Definition at line 27 of file masternode-meta.h.
Referenced by AddGovernanceVote(), GetLastDsq(), GetLastOutboundAttempt(), GetLastOutboundSuccess(), GetMixingTxCount(), GetProTxHash(), RemoveGovernanceObject(), SerializationOp(), SetLastOutboundAttempt(), and SetLastOutboundSuccess().
◆ lastOutboundAttempt
|
private |
Definition at line 38 of file masternode-meta.h.
Referenced by GetLastOutboundAttempt(), SerializationOp(), SetLastOutboundAttempt(), and ToJson().
◆ lastOutboundSuccess
|
private |
Definition at line 39 of file masternode-meta.h.
Referenced by GetLastOutboundSuccess(), SerializationOp(), SetLastOutboundSuccess(), and ToJson().
◆ mapGovernanceObjectsVotedOn
|
private |
Definition at line 36 of file masternode-meta.h.
Referenced by AddGovernanceVote(), RemoveGovernanceObject(), and SerializationOp().
◆ nLastDsq
|
private |
Definition at line 32 of file masternode-meta.h.
Referenced by GetLastDsq(), SerializationOp(), and ToJson().
◆ nMixingTxCount
|
private |
Definition at line 33 of file masternode-meta.h.
Referenced by GetMixingTxCount(), SerializationOp(), and ToJson().
◆ proTxHash
|
private |
Definition at line 29 of file masternode-meta.h.
Referenced by GetProTxHash(), and SerializationOp().
The documentation for this class was generated from the following files:
- src/masternode/masternode-meta.h
- src/masternode/masternode-meta.cpp

