PRCYCoin  2.0.0.7rc1
P2P Digital Currency
Classes | Macros | Functions | Variables
masternode-payments.h File Reference
#include "key.h"
#include "main.h"
#include "masternode.h"
Include dependency graph for masternode-payments.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CMasternodePaymentDB
 Save Masternode Payment Data (mnpayments.dat) More...
 
class  CMasternodePayee
 
class  CMasternodeBlockPayees
 
class  CMasternodePaymentWinner
 
class  CMasternodePayments
 

Macros

#define MNPAYMENTS_SIGNATURES_REQUIRED   6
 
#define MNPAYMENTS_SIGNATURES_TOTAL   10
 

Functions

void ProcessMessageMasternodePayments (CNode *pfrom, std::string &strCommand, CDataStream &vRecv)
 
bool IsBlockPayeeValid (const CBlock &block, int nBlockHeight)
 
std::string GetRequiredPaymentsString (int nBlockHeight)
 
bool IsBlockValueValid (int nHeight, CAmount nExpectedValue, CAmount nMinted)
 
bool FillBlockPayee (CMutableTransaction &txNew, CAmount nFees, bool fProofOfStake)
 
void DumpMasternodePayments ()
 

Variables

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

Macro Definition Documentation

◆ MNPAYMENTS_SIGNATURES_REQUIRED

#define MNPAYMENTS_SIGNATURES_REQUIRED   6

Definition at line 25 of file masternode-payments.h.

◆ MNPAYMENTS_SIGNATURES_TOTAL

#define MNPAYMENTS_SIGNATURES_TOTAL   10

Definition at line 26 of file masternode-payments.h.

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:

◆ ProcessMessageMasternodePayments()

void ProcessMessageMasternodePayments ( CNode pfrom,
std::string &  strCommand,
CDataStream vRecv 
)

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.