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

#include <masternode_meta_manager.h>

Collaboration diagram for CMasternodeMetaMan:
[legend]

Public Member Functions

CMasternodeMetaInfoPtr GetMetaInfo (const uint256 &proTxHash, bool fCreate=true)
 
void Clear ()
 
std::string ToString ()
 
template<typename Stream >
void Serialize (Stream &s) const
 
template<typename Stream >
void Unserialize (Stream &s)
 

Private Attributes

RecursiveMutex cs_metaman
 
std::map< uint256, CMasternodeMetaInfoPtrmetaInfos
 

Static Private Attributes

static const std::string SERIALIZATION_VERSION_STRING = "CMasternodeMetaMan-Version-2"
 

Detailed Description

Definition at line 51 of file masternode_meta_manager.h.

Member Function Documentation

◆ Clear()

void CMasternodeMetaMan::Clear ( )

Definition at line 28 of file masternode_meta_manager.cpp.

Here is the caller graph for this function:

◆ GetMetaInfo()

CMasternodeMetaInfoPtr CMasternodeMetaMan::GetMetaInfo ( const uint256 proTxHash,
bool  fCreate = true 
)

Definition at line 13 of file masternode_meta_manager.cpp.

Here is the caller graph for this function:

◆ Serialize()

template<typename Stream >
void CMasternodeMetaMan::Serialize ( Stream &  s) const
inline

Definition at line 65 of file masternode_meta_manager.h.

◆ ToString()

std::string CMasternodeMetaMan::ToString ( )

Definition at line 34 of file masternode_meta_manager.cpp.

◆ Unserialize()

template<typename Stream >
void CMasternodeMetaMan::Unserialize ( Stream &  s)
inline

Definition at line 76 of file masternode_meta_manager.h.

Here is the call graph for this function:

Member Data Documentation

◆ cs_metaman

RecursiveMutex CMasternodeMetaMan::cs_metaman
mutableprivate

Definition at line 55 of file masternode_meta_manager.h.

◆ metaInfos

std::map<uint256, CMasternodeMetaInfoPtr> CMasternodeMetaMan::metaInfos
private

Definition at line 56 of file masternode_meta_manager.h.

◆ SERIALIZATION_VERSION_STRING

const std::string CMasternodeMetaMan::SERIALIZATION_VERSION_STRING = "CMasternodeMetaMan-Version-2"
staticprivate

Definition at line 54 of file masternode_meta_manager.h.


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