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

#include <masternode-payments.h>

Inheritance diagram for CMasternodePaymentWinner:
[legend]
Collaboration diagram for CMasternodePaymentWinner:
[legend]

Public Member Functions

 CMasternodePaymentWinner ()
 
 CMasternodePaymentWinner (const CTxIn &vinIn, int nHeight)
 
uint256 GetHash () const
 
uint256 GetSignatureHash () const override
 
std::string GetStrMessage () const override
 
CTxIn GetVin () const
 
bool IsValid (CNode *pnode, CValidationState &state, int chainHeight)
 
void Relay ()
 
void AddPayee (const CScript &payeeIn)
 
 SERIALIZE_METHODS (CMasternodePaymentWinner, obj)
 
std::string ToString ()
 
- Public Member Functions inherited from CSignedMessage
 CSignedMessage ()
 
virtual ~CSignedMessage ()
 
bool Sign (const CKey &key, const CKeyID &keyID)
 CSignedMessage Class Functions inherited by network signed-messages. More...
 
bool Sign (const std::string strSignKey)
 
bool CheckSignature (const CKeyID &keyID) const
 
void SetVchSig (const std::vector< unsigned char > &vchSigIn)
 
std::vector< unsigned char > GetVchSig () const
 
std::string GetSignatureBase64 () const
 
bool Sign (const CBLSSecretKey &sk)
 
bool CheckSignature (const CBLSPublicKey &pk) const
 

Public Attributes

CTxIn vinMasternode
 
int nBlockHeight
 
CScript payee
 
- Public Attributes inherited from CSignedMessage
int nMessVersion
 

Additional Inherited Members

- Protected Attributes inherited from CSignedMessage
std::vector< unsigned char > vchSig
 

Detailed Description

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

Constructor & Destructor Documentation

◆ CMasternodePaymentWinner() [1/2]

CMasternodePaymentWinner::CMasternodePaymentWinner ( )
inline

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

◆ CMasternodePaymentWinner() [2/2]

CMasternodePaymentWinner::CMasternodePaymentWinner ( const CTxIn vinIn,
int  nHeight 
)
inline

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

Member Function Documentation

◆ AddPayee()

void CMasternodePaymentWinner::AddPayee ( const CScript payeeIn)
inline

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

◆ GetHash()

uint256 CMasternodePaymentWinner::GetHash ( ) const

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

Here is the caller graph for this function:

◆ GetSignatureHash()

uint256 CMasternodePaymentWinner::GetSignatureHash ( ) const
inlineoverridevirtual

Implements CSignedMessage.

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

Here is the call graph for this function:

◆ GetStrMessage()

std::string CMasternodePaymentWinner::GetStrMessage ( ) const
overridevirtual

Implements CSignedMessage.

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

Here is the call graph for this function:

◆ GetVin()

CTxIn CMasternodePaymentWinner::GetVin ( ) const
inline

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

◆ IsValid()

bool CMasternodePaymentWinner::IsValid ( CNode pnode,
CValidationState state,
int  chainHeight 
)

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

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

◆ Relay()

void CMasternodePaymentWinner::Relay ( )

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

Here is the call graph for this function:

◆ SERIALIZE_METHODS()

CMasternodePaymentWinner::SERIALIZE_METHODS ( CMasternodePaymentWinner  ,
obj   
)
inline

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

◆ ToString()

std::string CMasternodePaymentWinner::ToString ( )
inline

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

Here is the call graph for this function:

Member Data Documentation

◆ nBlockHeight

int CMasternodePaymentWinner::nBlockHeight

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

◆ payee

CScript CMasternodePaymentWinner::payee

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

◆ vinMasternode

CTxIn CMasternodePaymentWinner::vinMasternode

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


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