![]() |
Dash Core
0.12.2.1
P2P Digital Currency
|
#include <masternode-payments.h>
Public Member Functions | |
CMasternodeBlockPayees () | |
CMasternodeBlockPayees (int nBlockHeightIn) | |
template<typename Stream , typename Operation > | |
void | SerializationOp (Stream &s, Operation ser_action, int nType, int nVersion) |
void | AddPayee (const CMasternodePaymentVote &vote) |
bool | GetBestPayee (CScript &payeeRet) |
bool | HasPayeeWithVotes (const CScript &payeeIn, int nVotesReq) |
bool | IsTransactionValid (const CTransaction &txNew) |
std::string | GetRequiredPaymentsString () |
Public Attributes | |
int | nBlockHeight |
std::vector< CMasternodePayee > | vecPayees |
ADD_SERIALIZE_METHODS | |
Definition at line 76 of file masternode-payments.h.
|
inline |
Definition at line 82 of file masternode-payments.h.
|
inline |
Definition at line 86 of file masternode-payments.h.
void CMasternodeBlockPayees::AddPayee | ( | const CMasternodePaymentVote & | vote | ) |
Definition at line 495 of file masternode-payments.cpp.
bool CMasternodeBlockPayees::GetBestPayee | ( | CScript & | payeeRet | ) |
Definition at line 509 of file masternode-payments.cpp.
std::string CMasternodeBlockPayees::GetRequiredPaymentsString | ( | ) |
Definition at line 588 of file masternode-payments.cpp.
bool CMasternodeBlockPayees::HasPayeeWithVotes | ( | const CScript & | payeeIn, |
int | nVotesReq | ||
) |
Definition at line 529 of file masternode-payments.cpp.
bool CMasternodeBlockPayees::IsTransactionValid | ( | const CTransaction & | txNew | ) |
Definition at line 543 of file masternode-payments.cpp.
|
inline |
Definition at line 94 of file masternode-payments.h.
CMasternodeBlockPayees::ADD_SERIALIZE_METHODS |
Definition at line 91 of file masternode-payments.h.
int CMasternodeBlockPayees::nBlockHeight |
Definition at line 79 of file masternode-payments.h.
Referenced by IsTransactionValid(), and SerializationOp().
std::vector<CMasternodePayee> CMasternodeBlockPayees::vecPayees |
Definition at line 80 of file masternode-payments.h.
Referenced by AddPayee(), GetBestPayee(), GetRequiredPaymentsString(), HasPayeeWithVotes(), IsTransactionValid(), and SerializationOp().