Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
#include <masternode-payments.h>
Public Member Functions | |
bool | GetBlockTxOuts (int nBlockHeight, CAmount blockReward, std::vector< CTxOut > &voutMasternodePaymentsRet) const |
bool | IsTransactionValid (const CTransaction &txNew, int nBlockHeight, CAmount blockReward) const |
bool | GetMasternodeTxOuts (int nBlockHeight, CAmount blockReward, std::vector< CTxOut > &voutMasternodePaymentsRet) const |
GetMasternodeTxOuts. More... | |
Detailed Description
Definition at line 31 of file masternode-payments.h.
Member Function Documentation
◆ GetBlockTxOuts()
bool CMasternodePayments::GetBlockTxOuts | ( | int | nBlockHeight, |
CAmount | blockReward, | ||
std::vector< CTxOut > & | voutMasternodePaymentsRet | ||
) | const |
Definition at line 318 of file masternode-payments.cpp.
References chainActive, cs_main, Consensus::DEPLOYMENT_REALLOC, deterministicMNManager, CChainParams::GetConsensus(), GetMasternodePayment(), LOCK, Params(), THRESHOLD_ACTIVE, versionbitscache, VersionBitsState(), and VersionBitsStateSinceHeight().
Referenced by getblocktemplate(), GetMasternodeTxOuts(), and IsTransactionValid().
◆ GetMasternodeTxOuts()
bool CMasternodePayments::GetMasternodeTxOuts | ( | int | nBlockHeight, |
CAmount | blockReward, | ||
std::vector< CTxOut > & | voutMasternodePaymentsRet | ||
) | const |
GetMasternodeTxOuts.
Get masternode payment tx outputs
Definition at line 298 of file masternode-payments.cpp.
References EncodeDestination(), ExtractDestination(), GetBlockTxOuts(), and LogPrintf.
Referenced by FillBlockPayments().
◆ IsTransactionValid()
bool CMasternodePayments::IsTransactionValid | ( | const CTransaction & | txNew, |
int | nBlockHeight, | ||
CAmount | blockReward | ||
) | const |
Definition at line 361 of file masternode-payments.cpp.
References deterministicMNManager, EncodeDestination(), ExtractDestination(), GetBlockTxOuts(), LogPrintf, and CTransaction::vout.
Referenced by IsBlockPayeeValid().
The documentation for this class was generated from the following files:
- src/masternode/masternode-payments.h
- src/masternode/masternode-payments.cpp