PIVX Core  5.6.99
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 (const CScript &payeeIn, int nIncrement)
 
bool GetPayee (CScript &payee) const
 
bool HasPayeeWithVotes (const CScript &payee, int nVotesReq)
 
bool IsTransactionValid (const CTransaction &txNew, int nBlockHeight)
 
std::string GetRequiredPaymentsString ()
 
 SERIALIZE_METHODS (CMasternodeBlockPayees, obj)
 

Public Attributes

int nBlockHeight
 
std::vector< CMasternodePayeevecPayments
 

Detailed Description

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

Constructor & Destructor Documentation

◆ CMasternodeBlockPayees() [1/2]

CMasternodeBlockPayees::CMasternodeBlockPayees ( )
inline

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

◆ CMasternodeBlockPayees() [2/2]

CMasternodeBlockPayees::CMasternodeBlockPayees ( int  nBlockHeightIn)
inlineexplicit

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

Member Function Documentation

◆ AddPayee()

void CMasternodeBlockPayees::AddPayee ( const CScript payeeIn,
int  nIncrement 
)
inline

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

◆ GetPayee()

bool CMasternodeBlockPayees::GetPayee ( CScript payee) const
inline

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

◆ GetRequiredPaymentsString()

std::string CMasternodeBlockPayees::GetRequiredPaymentsString ( )

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

Here is the call graph for this function:

◆ HasPayeeWithVotes()

bool CMasternodeBlockPayees::HasPayeeWithVotes ( const CScript payee,
int  nVotesReq 
)
inline

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

◆ IsTransactionValid()

bool CMasternodeBlockPayees::IsTransactionValid ( const CTransaction txNew,
int  nBlockHeight 
)

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

Here is the call graph for this function:

◆ SERIALIZE_METHODS()

CMasternodeBlockPayees::SERIALIZE_METHODS ( CMasternodeBlockPayees  ,
obj   
)
inline

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

Member Data Documentation

◆ nBlockHeight

int CMasternodeBlockPayees::nBlockHeight

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

◆ vecPayments

std::vector<CMasternodePayee> CMasternodeBlockPayees::vecPayments

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


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