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

Go to the source code of this file.

Classes

class  CBudgetVote
 
class  CFinalizedBudgetVote
 
class  CBudgetDB
 Save Budget Manager (budget.dat) More...
 
class  CBudgetManager
 
class  CTxBudgetPayment
 
class  CFinalizedBudget
 
class  CFinalizedBudgetBroadcast
 
class  CBudgetProposal
 
class  CBudgetProposalBroadcast
 

Macros

#define VOTE_ABSTAIN   0
 
#define VOTE_YES   1
 
#define VOTE_NO   2
 

Functions

void DumpBudgets ()
 
int GetBudgetPaymentCycleBlocks ()
 
bool IsBudgetCollateralValid (uint256 nTxCollateralHash, uint256 nExpectedHash, std::string &strError, int64_t &nTime, int &nConf)
 

Variables

RecursiveMutex cs_budget
 
std::vector< CBudgetProposalBroadcastvecImmatureBudgetProposals
 
std::vector< CFinalizedBudgetBroadcastvecImmatureFinalizedBudgets
 
CBudgetManager budget
 

Macro Definition Documentation

◆ VOTE_ABSTAIN

#define VOTE_ABSTAIN   0

Definition at line 29 of file masternode-budget.h.

◆ VOTE_NO

#define VOTE_NO   2

Definition at line 31 of file masternode-budget.h.

◆ VOTE_YES

#define VOTE_YES   1

Definition at line 30 of file masternode-budget.h.

Function Documentation

◆ DumpBudgets()

void DumpBudgets ( )

Definition at line 372 of file masternode-budget.cpp.

Here is the call graph for this function:

◆ GetBudgetPaymentCycleBlocks()

int GetBudgetPaymentCycleBlocks ( )

Definition at line 28 of file masternode-budget.cpp.

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

◆ IsBudgetCollateralValid()

bool IsBudgetCollateralValid ( uint256  nTxCollateralHash,
uint256  nExpectedHash,
std::string &  strError,
int64_t &  nTime,
int &  nConf 
)

Definition at line 37 of file masternode-budget.cpp.

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

Variable Documentation

◆ budget

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

◆ cs_budget

RecursiveMutex cs_budget

Definition at line 20 of file masternode-budget.cpp.

◆ vecImmatureBudgetProposals

std::vector<CBudgetProposalBroadcast> vecImmatureBudgetProposals

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

◆ vecImmatureFinalizedBudgets

std::vector<CFinalizedBudgetBroadcast> vecImmatureFinalizedBudgets

Definition at line 24 of file masternode-budget.cpp.