PIVX Core  5.6.99
P2P Digital Currency
Public Member Functions | Private Attributes | Friends | List of all members
CMasternodeMetaInfo Class Reference

#include <masternode_meta_manager.h>

Collaboration diagram for CMasternodeMetaInfo:
[legend]

Public Member Functions

 CMasternodeMetaInfo ()=default
 
 CMasternodeMetaInfo (const uint256 &_proTxHash)
 
 CMasternodeMetaInfo (const CMasternodeMetaInfo &ref)
 
 SERIALIZE_METHODS (CMasternodeMetaInfo, obj)
 
const uint256GetProTxHash () const
 
void SetLastOutboundAttempt (int64_t t)
 
int64_t GetLastOutboundAttempt () const
 
void SetLastOutboundSuccess (int64_t t)
 
int64_t GetLastOutboundSuccess () const
 

Private Attributes

Mutex cs
 
uint256 proTxHash
 
int64_t lastOutboundAttempt {0}
 
int64_t lastOutboundSuccess {0}
 

Friends

class CMasternodeMetaMan
 

Detailed Description

Definition at line 20 of file masternode_meta_manager.h.

Constructor & Destructor Documentation

◆ CMasternodeMetaInfo() [1/3]

CMasternodeMetaInfo::CMasternodeMetaInfo ( )
default

◆ CMasternodeMetaInfo() [2/3]

CMasternodeMetaInfo::CMasternodeMetaInfo ( const uint256 _proTxHash)
inlineexplicit

Definition at line 32 of file masternode_meta_manager.h.

◆ CMasternodeMetaInfo() [3/3]

CMasternodeMetaInfo::CMasternodeMetaInfo ( const CMasternodeMetaInfo ref)
inline

Definition at line 33 of file masternode_meta_manager.h.

Member Function Documentation

◆ GetLastOutboundAttempt()

int64_t CMasternodeMetaInfo::GetLastOutboundAttempt ( ) const
inline

Definition at line 44 of file masternode_meta_manager.h.

◆ GetLastOutboundSuccess()

int64_t CMasternodeMetaInfo::GetLastOutboundSuccess ( ) const
inline

Definition at line 46 of file masternode_meta_manager.h.

◆ GetProTxHash()

const uint256& CMasternodeMetaInfo::GetProTxHash ( ) const
inline

Definition at line 42 of file masternode_meta_manager.h.

◆ SERIALIZE_METHODS()

CMasternodeMetaInfo::SERIALIZE_METHODS ( CMasternodeMetaInfo  ,
obj   
)
inline

Definition at line 38 of file masternode_meta_manager.h.

◆ SetLastOutboundAttempt()

void CMasternodeMetaInfo::SetLastOutboundAttempt ( int64_t  t)
inline

Definition at line 43 of file masternode_meta_manager.h.

◆ SetLastOutboundSuccess()

void CMasternodeMetaInfo::SetLastOutboundSuccess ( int64_t  t)
inline

Definition at line 45 of file masternode_meta_manager.h.

Friends And Related Function Documentation

◆ CMasternodeMetaMan

friend class CMasternodeMetaMan
friend

Definition at line 22 of file masternode_meta_manager.h.

Member Data Documentation

◆ cs

Mutex CMasternodeMetaInfo::cs
mutableprivate

Definition at line 24 of file masternode_meta_manager.h.

◆ lastOutboundAttempt

int64_t CMasternodeMetaInfo::lastOutboundAttempt {0}
private

Definition at line 27 of file masternode_meta_manager.h.

◆ lastOutboundSuccess

int64_t CMasternodeMetaInfo::lastOutboundSuccess {0}
private

Definition at line 28 of file masternode_meta_manager.h.

◆ proTxHash

uint256 CMasternodeMetaInfo::proTxHash
private

Definition at line 25 of file masternode_meta_manager.h.


The documentation for this class was generated from the following file: