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

#include <masternode-payments.h>

Collaboration diagram for CMasternodePaymentWinner:
[legend]

Public Member Functions

 CMasternodePaymentWinner ()
 
 CMasternodePaymentWinner (CTxIn vinIn)
 
uint256 GetHash ()
 
bool Sign (CKey &keyMasternode, CPubKey &pubKeyMasternode)
 
bool IsValid (CNode *pnode, std::string &strError)
 
bool SignatureValid ()
 
void Relay ()
 
void AddPayee (std::vector< unsigned char > payeeIn)
 
template<typename Stream , typename Operation >
void SerializationOp (Stream &s, Operation ser_action, int nType, int nVersion)
 
std::string ToString ()
 

Public Attributes

CTxIn vinMasternode
 
int nBlockHeight
 
std::vector< unsigned char > payee
 
std::vector< unsigned char > vchSig
 
 ADD_SERIALIZE_METHODS
 

Detailed Description

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

Constructor & Destructor Documentation

◆ CMasternodePaymentWinner() [1/2]

CMasternodePaymentWinner::CMasternodePaymentWinner ( )
inline

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

◆ CMasternodePaymentWinner() [2/2]

CMasternodePaymentWinner::CMasternodePaymentWinner ( CTxIn  vinIn)
inline

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

Member Function Documentation

◆ AddPayee()

void CMasternodePaymentWinner::AddPayee ( std::vector< unsigned char >  payeeIn)
inline

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

Here is the caller graph for this function:

◆ GetHash()

uint256 CMasternodePaymentWinner::GetHash ( )
inline

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

Here is the caller graph for this function:

◆ IsValid()

bool CMasternodePaymentWinner::IsValid ( CNode pnode,
std::string &  strError 
)

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

Here is the call graph for this function:

◆ Relay()

void CMasternodePaymentWinner::Relay ( )

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

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

◆ SerializationOp()

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

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

◆ Sign()

bool CMasternodePaymentWinner::Sign ( CKey keyMasternode,
CPubKey pubKeyMasternode 
)

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

Here is the caller graph for this function:

◆ SignatureValid()

bool CMasternodePaymentWinner::SignatureValid ( )

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

Here is the call graph for this function:

◆ ToString()

std::string CMasternodePaymentWinner::ToString ( )
inline

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

Here is the call graph for this function:

Member Data Documentation

◆ ADD_SERIALIZE_METHODS

CMasternodePaymentWinner::ADD_SERIALIZE_METHODS

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

◆ nBlockHeight

int CMasternodePaymentWinner::nBlockHeight

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

◆ payee

std::vector<unsigned char> CMasternodePaymentWinner::payee

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

◆ vchSig

std::vector<unsigned char> CMasternodePaymentWinner::vchSig

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

◆ vinMasternode

CTxIn CMasternodePaymentWinner::vinMasternode

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


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