![]() |
Dash Core
0.12.2.1
P2P Digital Currency
|
#include <masternode-payments.h>
Public Member Functions | |
CMasternodePaymentVote () | |
CMasternodePaymentVote (COutPoint outpointMasternode, int nBlockHeight, CScript payee) | |
template<typename Stream , typename Operation > | |
void | SerializationOp (Stream &s, Operation ser_action, int nType, int nVersion) |
uint256 | GetHash () const |
bool | Sign () |
bool | CheckSignature (const CPubKey &pubKeyMasternode, int nValidationHeight, int &nDos) |
bool | IsValid (CNode *pnode, int nValidationHeight, std::string &strError, CConnman &connman) |
void | Relay (CConnman &connman) |
bool | IsVerified () |
void | MarkAsNotVerified () |
std::string | ToString () const |
Public Attributes | |
CTxIn | vinMasternode |
int | nBlockHeight |
CScript | payee |
std::vector< unsigned char > | vchSig |
ADD_SERIALIZE_METHODS | |
Definition at line 109 of file masternode-payments.h.
|
inline |
Definition at line 118 of file masternode-payments.h.
|
inline |
Definition at line 125 of file masternode-payments.h.
bool CMasternodePaymentVote::CheckSignature | ( | const CPubKey & | pubKeyMasternode, |
int | nValidationHeight, | ||
int & | nDos | ||
) |
Definition at line 851 of file masternode-payments.cpp.
|
inline |
Definition at line 142 of file masternode-payments.h.
Referenced by CMasternodeBlockPayees::AddPayee(), CMasternodePayments::AddPaymentVote(), and Relay().
bool CMasternodePaymentVote::IsValid | ( | CNode * | pnode, |
int | nValidationHeight, | ||
std::string & | strError, | ||
CConnman & | connman | ||
) |
Definition at line 655 of file masternode-payments.cpp.
|
inline |
Definition at line 156 of file masternode-payments.h.
|
inline |
Definition at line 157 of file masternode-payments.h.
void CMasternodePaymentVote::Relay | ( | CConnman & | connman | ) |
Definition at line 842 of file masternode-payments.cpp.
|
inline |
Definition at line 135 of file masternode-payments.h.
bool CMasternodePaymentVote::Sign | ( | ) |
Definition at line 416 of file masternode-payments.cpp.
std::string CMasternodePaymentVote::ToString | ( | ) | const |
Definition at line 874 of file masternode-payments.cpp.
CMasternodePaymentVote::ADD_SERIALIZE_METHODS |
Definition at line 132 of file masternode-payments.h.
int CMasternodePaymentVote::nBlockHeight |
Definition at line 114 of file masternode-payments.h.
Referenced by CMasternodePayments::AddPaymentVote(), CMasternodePayments::CheckAndRemove(), CheckSignature(), GetHash(), IsValid(), SerializationOp(), Sign(), and ToString().
CScript CMasternodePaymentVote::payee |
Definition at line 115 of file masternode-payments.h.
Referenced by CMasternodeBlockPayees::AddPayee(), CheckSignature(), GetHash(), SerializationOp(), Sign(), and ToString().
std::vector<unsigned char> CMasternodePaymentVote::vchSig |
Definition at line 116 of file masternode-payments.h.
Referenced by CheckSignature(), IsVerified(), MarkAsNotVerified(), SerializationOp(), Sign(), and ToString().
CTxIn CMasternodePaymentVote::vinMasternode |
Definition at line 112 of file masternode-payments.h.
Referenced by CheckSignature(), GetHash(), IsValid(), SerializationOp(), Sign(), and ToString().