#include <masternode-payments.h>
|
| | CMasternodePayments () |
| |
| void | Clear () |
| |
| bool | AddWinningMasternode (CMasternodePaymentWinner &winner) |
| |
| bool | ProcessBlock (int nBlockHeight) |
| |
| void | Sync (CNode *node, int nCountNeeded) |
| |
| void | CleanPaymentList () |
| |
| int | LastPayment (CMasternode &mn) |
| |
| bool | GetBlockPayee (int nBlockHeight, std::vector< unsigned char > &payee) |
| |
| bool | IsTransactionValid (const CTransaction &txNew, int nBlockHeight) |
| |
| bool | IsScheduled (CMasternode &mn, int nNotBlockHeight) |
| |
| bool | CanVote (COutPoint outMasternode, int nBlockHeight) |
| |
| int | GetMinMasternodePaymentsProto () |
| |
| void | ProcessMessageMasternodePayments (CNode *pfrom, std::string &strCommand, CDataStream &vRecv) |
| |
| std::string | GetRequiredPaymentsString (int nBlockHeight) |
| |
| bool | FillBlockPayee (CMutableTransaction &txNew, int64_t nFees, bool fProofOfStake) |
| |
| std::string | ToString () const |
| |
| int | GetOldestBlock () |
| |
| int | GetNewestBlock () |
| |
| template<typename Stream , typename Operation > |
| void | SerializationOp (Stream &s, Operation ser_action, int nType, int nVersion) |
| |
Definition at line 231 of file masternode-payments.h.
◆ CMasternodePayments()
| CMasternodePayments::CMasternodePayments |
( |
| ) |
|
|
inline |
◆ AddWinningMasternode()
◆ CanVote()
| bool CMasternodePayments::CanVote |
( |
COutPoint |
outMasternode, |
|
|
int |
nBlockHeight |
|
) |
| |
|
inline |
◆ CleanPaymentList()
| void CMasternodePayments::CleanPaymentList |
( |
| ) |
|
◆ Clear()
| void CMasternodePayments::Clear |
( |
| ) |
|
|
inline |
◆ FillBlockPayee()
| bool CMasternodePayments::FillBlockPayee |
( |
CMutableTransaction & |
txNew, |
|
|
int64_t |
nFees, |
|
|
bool |
fProofOfStake |
|
) |
| |
For Proof Of Stake vout[0] must be null Stake reward can be split into many different outputs, so we must use vout.size() to align with several different cases. An additional output is appended as the masternode payment
Topdev update
Definition at line 227 of file masternode-payments.cpp.
◆ GetBlockPayee()
| bool CMasternodePayments::GetBlockPayee |
( |
int |
nBlockHeight, |
|
|
std::vector< unsigned char > & |
payee |
|
) |
| |
◆ GetMinMasternodePaymentsProto()
| int CMasternodePayments::GetMinMasternodePaymentsProto |
( |
| ) |
|
◆ GetNewestBlock()
| int CMasternodePayments::GetNewestBlock |
( |
| ) |
|
◆ GetOldestBlock()
| int CMasternodePayments::GetOldestBlock |
( |
| ) |
|
◆ GetRequiredPaymentsString()
| std::string CMasternodePayments::GetRequiredPaymentsString |
( |
int |
nBlockHeight | ) |
|
◆ IsScheduled()
| bool CMasternodePayments::IsScheduled |
( |
CMasternode & |
mn, |
|
|
int |
nNotBlockHeight |
|
) |
| |
◆ IsTransactionValid()
| bool CMasternodePayments::IsTransactionValid |
( |
const CTransaction & |
txNew, |
|
|
int |
nBlockHeight |
|
) |
| |
◆ LastPayment()
| int CMasternodePayments::LastPayment |
( |
CMasternode & |
mn | ) |
|
◆ ProcessBlock()
| bool CMasternodePayments::ProcessBlock |
( |
int |
nBlockHeight | ) |
|
◆ ProcessMessageMasternodePayments()
| void CMasternodePayments::ProcessMessageMasternodePayments |
( |
CNode * |
pfrom, |
|
|
std::string & |
strCommand, |
|
|
CDataStream & |
vRecv |
|
) |
| |
◆ SerializationOp()
template<typename Stream , typename Operation >
| void CMasternodePayments::SerializationOp |
( |
Stream & |
s, |
|
|
Operation |
ser_action, |
|
|
int |
nType, |
|
|
int |
nVersion |
|
) |
| |
|
inline |
◆ Sync()
| void CMasternodePayments::Sync |
( |
CNode * |
node, |
|
|
int |
nCountNeeded |
|
) |
| |
◆ ToString()
| std::string CMasternodePayments::ToString |
( |
| ) |
const |
◆ ADD_SERIALIZE_METHODS
| CMasternodePayments::ADD_SERIALIZE_METHODS |
◆ mapMasternodeBlocks
◆ mapMasternodePayeeVotes
◆ mapMasternodesLastVote
| std::map<uint256, int> CMasternodePayments::mapMasternodesLastVote |
◆ nLastBlockHeight
| int CMasternodePayments::nLastBlockHeight |
|
private |
◆ nSyncedFromPeer
| int CMasternodePayments::nSyncedFromPeer |
|
private |
The documentation for this class was generated from the following files: