PIVX Core  5.6.99
P2P Digital Currency
Macros | Functions | Variables
budgetmanager.cpp File Reference
#include "budget/budgetmanager.h"
#include "consensus/validation.h"
#include "evo/deterministicmns.h"
#include "masternodeman.h"
#include "netmessagemaker.h"
#include "tiertwo/tiertwo_sync_state.h"
#include "tiertwo/netfulfilledman.h"
#include "util/validation.h"
#include "validation.h"
Include dependency graph for budgetmanager.cpp:

Go to the source code of this file.

Macros

#define BUDGET_ORPHAN_VOTES_CLEANUP_SECONDS   (60 * 60)
 

Functions

bool CheckCollateral (const uint256 &nTxCollateralHash, const uint256 &nExpectedHash, std::string &strError, int64_t &nTime, int nCurrentHeight, bool fBudgetFinalization)
 
bool CheckCollateralConfs (const uint256 &nTxCollateralHash, int nCurrentHeight, int nProposalHeight, std::string &strError)
 

Variables

CBudgetManager g_budgetman
 

Macro Definition Documentation

◆ BUDGET_ORPHAN_VOTES_CLEANUP_SECONDS

#define BUDGET_ORPHAN_VOTES_CLEANUP_SECONDS   (60 * 60)

Definition at line 22 of file budgetmanager.cpp.

Function Documentation

◆ CheckCollateral()

bool CheckCollateral ( const uint256 nTxCollateralHash,
const uint256 nExpectedHash,
std::string &  strError,
int64_t &  nTime,
int  nCurrentHeight,
bool  fBudgetFinalization 
)

Definition at line 1597 of file budgetmanager.cpp.

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

◆ CheckCollateralConfs()

bool CheckCollateralConfs ( const uint256 nTxCollateralHash,
int  nCurrentHeight,
int  nProposalHeight,
std::string &  strError 
)

Definition at line 1583 of file budgetmanager.cpp.

Here is the call graph for this function:

Variable Documentation

◆ g_budgetman

CBudgetManager g_budgetman

Definition at line 26 of file budgetmanager.cpp.