PRCYCoin  2.0.0.7rc1
P2P Digital Currency
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
CActiveMasternode Class Reference

#include <activemasternode.h>

Collaboration diagram for CActiveMasternode:
[legend]

Public Member Functions

 CActiveMasternode ()
 
void ManageStatus ()
 Manage status of main Masternode. More...
 
void ResetStatus ()
 
std::string GetStatusMessage () const
 
int GetStatus () const
 
bool EnableHotColdMasterNode (CTxIn &vin, CService &addr)
 Enable cold wallet mode (run a Masternode with no funds) More...
 

Public Attributes

CPubKey pubKeyMasternode
 
CTxIn vin
 
CService service
 

Private Member Functions

bool SendMasternodePing (std::string &errorMessage)
 Ping Masternode. More...
 

Private Attributes

int status
 
std::string notCapableReason
 

Detailed Description

Definition at line 23 of file activemasternode.h.

Constructor & Destructor Documentation

◆ CActiveMasternode()

CActiveMasternode::CActiveMasternode ( )
inline

Definition at line 34 of file activemasternode.h.

Member Function Documentation

◆ EnableHotColdMasterNode()

bool CActiveMasternode::EnableHotColdMasterNode ( CTxIn vin,
CService addr 
)

Enable cold wallet mode (run a Masternode with no funds)

Definition at line 162 of file activemasternode.cpp.

◆ GetStatus()

int CActiveMasternode::GetStatus ( ) const
inline

Definition at line 51 of file activemasternode.h.

Here is the caller graph for this function:

◆ GetStatusMessage()

std::string CActiveMasternode::GetStatusMessage ( ) const

Definition at line 95 of file activemasternode.cpp.

Here is the caller graph for this function:

◆ ManageStatus()

void CActiveMasternode::ManageStatus ( )

Manage status of main Masternode.

Definition at line 21 of file activemasternode.cpp.

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

◆ ResetStatus()

void CActiveMasternode::ResetStatus ( )

Definition at line 89 of file activemasternode.cpp.

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

◆ SendMasternodePing()

bool CActiveMasternode::SendMasternodePing ( std::string &  errorMessage)
private

Ping Masternode.

Definition at line 111 of file activemasternode.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ notCapableReason

std::string CActiveMasternode::notCapableReason
private

Definition at line 30 of file activemasternode.h.

◆ pubKeyMasternode

CPubKey CActiveMasternode::pubKeyMasternode

Definition at line 41 of file activemasternode.h.

◆ service

CService CActiveMasternode::service

Definition at line 45 of file activemasternode.h.

◆ status

int CActiveMasternode::status
private

Definition at line 29 of file activemasternode.h.

◆ vin

CTxIn CActiveMasternode::vin

Definition at line 44 of file activemasternode.h.


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