Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

masternode.cpp File Reference
#include <masternode/activemasternode.h>
#include <base58.h>
#include <clientversion.h>
#include <init.h>
#include <netbase.h>
#include <validation.h>
#include <util.h>
#include <utilmoneystr.h>
#include <txmempool.h>
#include <evo/specialtx.h>
#include <evo/deterministicmns.h>
#include <masternode/masternode-payments.h>
#include <masternode/masternode-sync.h>
#include <rpc/server.h>
#include <wallet/coincontrol.h>
#include <wallet/rpcwallet.h>
#include <fstream>
#include <iomanip>
#include <univalue.h>
+ Include dependency graph for masternode.cpp:

Go to the source code of this file.

Functions

UniValue masternodelist (const JSONRPCRequest &request)
 
void masternode_list_help ()
 
UniValue masternode_list (const JSONRPCRequest &request)
 
void masternode_connect_help ()
 
UniValue masternode_connect (const JSONRPCRequest &request)
 
void masternode_count_help ()
 
UniValue masternode_count (const JSONRPCRequest &request)
 
UniValue GetNextMasternodeForPayment (int heightShift)
 
void masternode_winner_help ()
 
UniValue masternode_winner (const JSONRPCRequest &request)
 
void masternode_current_help ()
 
UniValue masternode_current (const JSONRPCRequest &request)
 
void masternode_status_help ()
 
UniValue masternode_status (const JSONRPCRequest &request)
 
void masternode_winners_help ()
 
UniValue masternode_winners (const JSONRPCRequest &request)
 
void masternode_help ()
 
UniValue masternode (const JSONRPCRequest &request)
 
void RegisterMasternodeRPCCommands (CRPCTable &t)
 Register masternode RPC commands. More...
 

Variables

static const CRPCCommand commands []
 

Function Documentation

◆ GetNextMasternodeForPayment()

UniValue GetNextMasternodeForPayment ( int  heightShift)

◆ masternode()

◆ masternode_connect()

◆ masternode_connect_help()

void masternode_connect_help ( )

Definition at line 76 of file masternode.cpp.

Referenced by masternode_connect().

◆ masternode_count()

◆ masternode_count_help()

void masternode_count_help ( )

Definition at line 105 of file masternode.cpp.

Referenced by masternode_count().

◆ masternode_current()

UniValue masternode_current ( const JSONRPCRequest request)

◆ masternode_current_help()

void masternode_current_help ( )

Definition at line 194 of file masternode.cpp.

Referenced by masternode_current().

◆ masternode_help()

void masternode_help ( )

Definition at line 326 of file masternode.cpp.

Referenced by masternode().

◆ masternode_list()

◆ masternode_list_help()

void masternode_list_help ( )

Definition at line 35 of file masternode.cpp.

Referenced by masternode_list(), and masternodelist().

◆ masternode_status()

◆ masternode_status_help()

void masternode_status_help ( )

Definition at line 244 of file masternode.cpp.

Referenced by masternode_status().

◆ masternode_winner()

UniValue masternode_winner ( const JSONRPCRequest request)

◆ masternode_winner_help()

void masternode_winner_help ( )

Definition at line 178 of file masternode.cpp.

Referenced by masternode_winner().

◆ masternode_winners()

◆ masternode_winners_help()

void masternode_winners_help ( )

Definition at line 281 of file masternode.cpp.

Referenced by masternode_winners().

◆ masternodelist()

◆ RegisterMasternodeRPCCommands()

void RegisterMasternodeRPCCommands ( CRPCTable t)

Register masternode RPC commands.

Definition at line 531 of file masternode.cpp.

References CRPCTable::appendCommand(), ARRAYLEN, commands, and CRPCCommand::name.

Referenced by RegisterAllCoreRPCCommands().

Variable Documentation

◆ commands

const CRPCCommand commands[]
static
Initial value:
=
{
{ "dash", "masternode", &masternode, {} },
{ "dash", "masternodelist", &masternodelist, {} },
}
UniValue masternodelist(const JSONRPCRequest &request)
Definition: masternode.cpp:380
UniValue masternode(const JSONRPCRequest &request)
Definition: masternode.cpp:346

Definition at line 524 of file masternode.cpp.

Referenced by RegisterMasternodeRPCCommands().

Released under the MIT license