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

#include <masternode-payments.h>

Public Member Functions

 CMasternodeBlockPayees ()
 
 CMasternodeBlockPayees (int nBlockHeightIn)
 
void AddPayee (int nIncrement, std::vector< unsigned char > masternodeStealthAddress)
 
bool GetPayee (std::vector< unsigned char > &payee)
 
bool HasPayeeWithVotes (std::vector< unsigned char > payee, int nVotesReq)
 
bool IsTransactionValid (const CTransaction &txNew)
 
std::string GetRequiredPaymentsString ()
 
template<typename Stream , typename Operation >
void SerializationOp (Stream &s, Operation ser_action, int nType, int nVersion)
 

Public Attributes

int nBlockHeight
 
std::vector< CMasternodePayeevecPayments
 
 ADD_SERIALIZE_METHODS
 

Detailed Description

Definition at line 88 of file masternode-payments.h.

Constructor & Destructor Documentation

◆ CMasternodeBlockPayees() [1/2]

CMasternodeBlockPayees::CMasternodeBlockPayees ( )
inline

Definition at line 94 of file masternode-payments.h.

◆ CMasternodeBlockPayees() [2/2]

CMasternodeBlockPayees::CMasternodeBlockPayees ( int  nBlockHeightIn)
inline

Definition at line 99 of file masternode-payments.h.

Member Function Documentation

◆ AddPayee()

void CMasternodeBlockPayees::AddPayee ( int  nIncrement,
std::vector< unsigned char >  masternodeStealthAddress 
)
inline

Definition at line 105 of file masternode-payments.h.

◆ GetPayee()

bool CMasternodeBlockPayees::GetPayee ( std::vector< unsigned char > &  payee)
inline

Definition at line 120 of file masternode-payments.h.

◆ GetRequiredPaymentsString()

std::string CMasternodeBlockPayees::GetRequiredPaymentsString ( )

Definition at line 512 of file masternode-payments.cpp.

◆ HasPayeeWithVotes()

bool CMasternodeBlockPayees::HasPayeeWithVotes ( std::vector< unsigned char >  payee,
int  nVotesReq 
)
inline

Definition at line 135 of file masternode-payments.h.

◆ IsTransactionValid()

bool CMasternodeBlockPayees::IsTransactionValid ( const CTransaction txNew)

Definition at line 465 of file masternode-payments.cpp.

Here is the call graph for this function:

◆ SerializationOp()

template<typename Stream , typename Operation >
void CMasternodeBlockPayees::SerializationOp ( Stream &  s,
Operation  ser_action,
int  nType,
int  nVersion 
)
inline

Definition at line 152 of file masternode-payments.h.

Member Data Documentation

◆ ADD_SERIALIZE_METHODS

CMasternodeBlockPayees::ADD_SERIALIZE_METHODS

Definition at line 149 of file masternode-payments.h.

◆ nBlockHeight

int CMasternodeBlockPayees::nBlockHeight

Definition at line 91 of file masternode-payments.h.

◆ vecPayments

std::vector<CMasternodePayee> CMasternodeBlockPayees::vecPayments

Definition at line 92 of file masternode-payments.h.


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