PIVX Core  5.6.99
P2P Digital Currency
Functions
budget.cpp File Reference
#include "chainparams.h"
#include "budget/budgetmanager.h"
#include "budget/budgetutil.h"
#include "db.h"
#include "evo/deterministicmns.h"
#include "key_io.h"
#include "masternode-payments.h"
#include "masternode-sync.h"
#include "masternodeconfig.h"
#include "masternodeman.h"
#include "messagesigner.h"
#include "tiertwo/tiertwo_sync_state.h"
#include "rpc/server.h"
#include "utilmoneystr.h"
#include <univalue.h>
Include dependency graph for budget.cpp:

Go to the source code of this file.

Functions

void budgetToJSON (const CBudgetProposal *pbudgetProposal, UniValue &bObj, int nCurrentHeight)
 
void checkBudgetInputs (const UniValue &params, std::string &strProposalName, std::string &strURL, int &nPaymentCount, int &nBlockStart, CTxDestination &address, CAmount &nAmount)
 
UniValue preparebudget (const JSONRPCRequest &request)
 
UniValue submitbudget (const JSONRPCRequest &request)
 
UniValue mnbudgetvote (const JSONRPCRequest &request)
 
UniValue getbudgetvotes (const JSONRPCRequest &request)
 
UniValue getnextsuperblock (const JSONRPCRequest &request)
 
UniValue getbudgetprojection (const JSONRPCRequest &request)
 
UniValue getbudgetinfo (const JSONRPCRequest &request)
 
UniValue mnbudgetrawvote (const JSONRPCRequest &request)
 
UniValue mnfinalbudgetsuggest (const JSONRPCRequest &request)
 
UniValue createrawmnfinalbudget (const JSONRPCRequest &request)
 
UniValue mnfinalbudget (const JSONRPCRequest &request)
 
UniValue checkbudgets (const JSONRPCRequest &request)
 
UniValue cleanbudget (const JSONRPCRequest &request)
 
void RegisterBudgetRPCCommands (CRPCTable &tableRPC)
 Register budget RPC commands. More...
 

Function Documentation

◆ budgetToJSON()

void budgetToJSON ( const CBudgetProposal pbudgetProposal,
UniValue bObj,
int  nCurrentHeight 
)

Definition at line 27 of file budget.cpp.

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

◆ checkBudgetInputs()

void checkBudgetInputs ( const UniValue params,
std::string &  strProposalName,
std::string &  strURL,
int &  nPaymentCount,
int &  nBlockStart,
CTxDestination address,
CAmount nAmount 
)

Definition at line 55 of file budget.cpp.

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

◆ checkbudgets()

UniValue checkbudgets ( const JSONRPCRequest request)

Definition at line 714 of file budget.cpp.

Here is the call graph for this function:

◆ cleanbudget()

UniValue cleanbudget ( const JSONRPCRequest request)

Definition at line 731 of file budget.cpp.

Here is the call graph for this function:

◆ createrawmnfinalbudget()

UniValue createrawmnfinalbudget ( const JSONRPCRequest request)

Definition at line 550 of file budget.cpp.

Here is the call graph for this function:

◆ getbudgetinfo()

UniValue getbudgetinfo ( const JSONRPCRequest request)

Definition at line 414 of file budget.cpp.

Here is the call graph for this function:

◆ getbudgetprojection()

UniValue getbudgetprojection ( const JSONRPCRequest request)

Definition at line 359 of file budget.cpp.

Here is the call graph for this function:

◆ getbudgetvotes()

UniValue getbudgetvotes ( const JSONRPCRequest request)

Definition at line 307 of file budget.cpp.

Here is the call graph for this function:

◆ getnextsuperblock()

UniValue getnextsuperblock ( const JSONRPCRequest request)

Definition at line 338 of file budget.cpp.

Here is the call graph for this function:

◆ mnbudgetrawvote()

UniValue mnbudgetrawvote ( const JSONRPCRequest request)

Definition at line 477 of file budget.cpp.

Here is the call graph for this function:

◆ mnbudgetvote()

UniValue mnbudgetvote ( const JSONRPCRequest request)

Definition at line 233 of file budget.cpp.

Here is the call graph for this function:

◆ mnfinalbudget()

UniValue mnfinalbudget ( const JSONRPCRequest request)

Definition at line 637 of file budget.cpp.

Here is the call graph for this function:

◆ mnfinalbudgetsuggest()

UniValue mnfinalbudgetsuggest ( const JSONRPCRequest request)

Definition at line 534 of file budget.cpp.

Here is the call graph for this function:

◆ preparebudget()

UniValue preparebudget ( const JSONRPCRequest request)

Definition at line 104 of file budget.cpp.

Here is the call graph for this function:

◆ RegisterBudgetRPCCommands()

void RegisterBudgetRPCCommands ( CRPCTable tableRPC)

Register budget RPC commands.

Definition at line 777 of file budget.cpp.

◆ submitbudget()

UniValue submitbudget ( const JSONRPCRequest request)

Definition at line 173 of file budget.cpp.

Here is the call graph for this function: