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

#include <masternodeconfig.h>

Collaboration diagram for CMasternodeConfig:
[legend]

Classes

class  CMasternodeEntry
 

Public Member Functions

 CMasternodeConfig ()
 
void clear ()
 
bool read (std::string &strErr)
 
CMasternodeConfig::CMasternodeEntryadd (std::string alias, std::string ip, std::string privKey, std::string txHash, std::string outputIndex)
 
void remove (std::string alias)
 
std::vector< CMasternodeEntrygetEntries ()
 
int getCount ()
 

Private Attributes

std::vector< CMasternodeEntryentries
 
Mutex cs_entries
 

Detailed Description

Definition at line 16 of file masternodeconfig.h.

Constructor & Destructor Documentation

◆ CMasternodeConfig()

CMasternodeConfig::CMasternodeConfig ( )
inline

Definition at line 40 of file masternodeconfig.h.

Member Function Documentation

◆ add()

CMasternodeConfig::CMasternodeEntry * CMasternodeConfig::add ( std::string  alias,
std::string  ip,
std::string  privKey,
std::string  txHash,
std::string  outputIndex 
)

Definition at line 15 of file masternodeconfig.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ clear()

void CMasternodeConfig::clear ( )
inline

Definition at line 42 of file masternodeconfig.h.

Here is the caller graph for this function:

◆ getCount()

int CMasternodeConfig::getCount ( )
inline

Definition at line 49 of file masternodeconfig.h.

Here is the caller graph for this function:

◆ getEntries()

std::vector<CMasternodeEntry> CMasternodeConfig::getEntries ( )
inline

Definition at line 47 of file masternodeconfig.h.

Here is the caller graph for this function:

◆ read()

bool CMasternodeConfig::read ( std::string &  strErr)

Definition at line 35 of file masternodeconfig.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ remove()

void CMasternodeConfig::remove ( std::string  alias)

Definition at line 22 of file masternodeconfig.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ cs_entries

Mutex CMasternodeConfig::cs_entries
private

Definition at line 61 of file masternodeconfig.h.

◆ entries

std::vector<CMasternodeEntry> CMasternodeConfig::entries
private

Definition at line 60 of file masternodeconfig.h.


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