![]() |
PIVX Core
5.6.99
P2P Digital Currency
|
#include "masternode-payments.h"#include "chainparams.h"#include "evo/deterministicmns.h"#include "fs.h"#include "budget/budgetmanager.h"#include "masternodeman.h"#include "netmessagemaker.h"#include "tiertwo/netfulfilledman.h"#include "spork.h"#include "sync.h"#include "tiertwo/tiertwo_sync_state.h"#include "util/system.h"#include "utilmoneystr.h"#include "validation.h"Go to the source code of this file.
Functions | |
| void | DumpMasternodePayments () |
| bool | IsBlockValueValid (int nHeight, CAmount &nExpectedValue, CAmount nMinted, CAmount &nBudgetAmt) |
| bool | IsBlockPayeeValid (const CBlock &block, const CBlockIndex *pindexPrev) |
| void | FillBlockPayee (CMutableTransaction &txCoinbase, CMutableTransaction &txCoinstake, const CBlockIndex *pindexPrev, bool fProofOfStake) |
| std::string | GetRequiredPaymentsString (int nBlockHeight) |
| bool | IsCoinbaseValueValid (const CTransactionRef &tx, CAmount nBudgetAmt, CValidationState &_state) |
| Check coinbase output value for blocks after v6.0 enforcement. More... | |
Variables | |
| CMasternodePayments | masternodePayments |
| Object for who's going to get paid on which blocks. More... | |
| RecursiveMutex | cs_vecPayments |
| RecursiveMutex | cs_mapMasternodeBlocks |
| RecursiveMutex | cs_mapMasternodePayeeVotes |
| void DumpMasternodePayments | ( | ) |
Definition at line 186 of file masternode-payments.cpp.
| void FillBlockPayee | ( | CMutableTransaction & | txCoinbase, |
| CMutableTransaction & | txCoinstake, | ||
| const CBlockIndex * | pindexPrev, | ||
| bool | fProofOfStake | ||
| ) |
| std::string GetRequiredPaymentsString | ( | int | nBlockHeight | ) |
Definition at line 286 of file masternode-payments.cpp.
| bool IsBlockPayeeValid | ( | const CBlock & | block, |
| const CBlockIndex * | pindexPrev | ||
| ) |
| bool IsBlockValueValid | ( | int | nHeight, |
| CAmount & | nExpectedValue, | ||
| CAmount | nMinted, | ||
| CAmount & | nBudgetAmt | ||
| ) |
Definition at line 197 of file masternode-payments.cpp.
| bool IsCoinbaseValueValid | ( | const CTransactionRef & | tx, |
| CAmount | nBudgetAmt, | ||
| CValidationState & | _state | ||
| ) |
Check coinbase output value for blocks after v6.0 enforcement.
It must pay the masternode for regular blocks and a proposal during superblocks.
Definition at line 824 of file masternode-payments.cpp.
| RecursiveMutex cs_mapMasternodeBlocks |
Definition at line 27 of file masternode-payments.cpp.
| RecursiveMutex cs_mapMasternodePayeeVotes |
Definition at line 28 of file masternode-payments.cpp.
| RecursiveMutex cs_vecPayments |
Definition at line 26 of file masternode-payments.cpp.
| CMasternodePayments masternodePayments |
Object for who's going to get paid on which blocks.
Definition at line 24 of file masternode-payments.cpp.