PRCYCoin  2.0.0.7rc1
P2P Digital Currency
Functions | Variables
masternode-payments.cpp File Reference
#include "masternode-payments.h"
#include "addrman.h"
#include "fs.h"
#include "masternode-budget.h"
#include "masternode-sync.h"
#include "masternodeman.h"
#include "messagesigner.h"
#include "sync.h"
#include "util.h"
#include "utilmoneystr.h"
Include dependency graph for masternode-payments.cpp:

Go to the source code of this file.

Functions

void DumpMasternodePayments ()
 
bool IsBlockValueValid (int nHeight, CAmount nExpectedValue, CAmount nMinted)
 
bool IsBlockPayeeValid (const CBlock &block, int nBlockHeight)
 
bool FillBlockPayee (CMutableTransaction &txNew, CAmount nFees, bool fProofOfStake)
 
std::string GetRequiredPaymentsString (int nBlockHeight)
 

Variables

CMasternodePayments masternodePayments
 Object for who's going to get paid on which blocks. More...
 
RecursiveMutex cs_vecPayments
 
RecursiveMutex cs_mapMasternodeBlocks
 
RecursiveMutex cs_mapMasternodePayeeVotes
 

Function Documentation

◆ DumpMasternodePayments()

void DumpMasternodePayments ( )

Definition at line 148 of file masternode-payments.cpp.

Here is the call graph for this function:

◆ FillBlockPayee()

bool FillBlockPayee ( CMutableTransaction txNew,
CAmount  nFees,
bool  fProofOfStake 
)

Definition at line 214 of file masternode-payments.cpp.

Here is the call graph for this function:

◆ GetRequiredPaymentsString()

std::string GetRequiredPaymentsString ( int  nBlockHeight)

Definition at line 222 of file masternode-payments.cpp.

Here is the call graph for this function:

◆ IsBlockPayeeValid()

bool IsBlockPayeeValid ( const CBlock block,
int  nBlockHeight 
)

Definition at line 194 of file masternode-payments.cpp.

Here is the call graph for this function:

◆ IsBlockValueValid()

bool IsBlockValueValid ( int  nHeight,
CAmount  nExpectedValue,
CAmount  nMinted 
)

Definition at line 175 of file masternode-payments.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ cs_mapMasternodeBlocks

RecursiveMutex cs_mapMasternodeBlocks

Definition at line 22 of file masternode-payments.cpp.

◆ cs_mapMasternodePayeeVotes

RecursiveMutex cs_mapMasternodePayeeVotes

Definition at line 23 of file masternode-payments.cpp.

◆ cs_vecPayments

RecursiveMutex cs_vecPayments

Definition at line 21 of file masternode-payments.cpp.

◆ masternodePayments

CMasternodePayments masternodePayments

Object for who's going to get paid on which blocks.

Definition at line 19 of file masternode-payments.cpp.