PIVX Core  5.6.99
P2P Digital Currency
Classes | Typedefs | Functions | Variables
misc.cpp File Reference
#include "clientversion.h"
#include "httpserver.h"
#include "key_io.h"
#include "sapling/key_io_sapling.h"
#include "masternode-sync.h"
#include "messagesigner.h"
#include "net.h"
#include "netbase.h"
#include "tiertwo/net_masternodes.h"
#include "rpc/server.h"
#include "spork.h"
#include "timedata.h"
#include "tiertwo/tiertwo_sync_state.h"
#include "util/system.h"
#include "warnings.h"
#include <stdint.h>
#include <univalue.h>
Include dependency graph for misc.cpp:

Go to the source code of this file.

Classes

class  DescribePaymentAddressVisitor
 

Typedefs

typedef boost::variant< libzcash::InvalidEncoding, libzcash::SaplingPaymentAddress, CTxDestinationPPaymentAddress
 

Functions

UniValue getsupplyinfo (const JSONRPCRequest &request)
 getinfo depends on getsupplyinfo defined in rpc/blockchain.cpp More...
 
UniValue getinfo (const JSONRPCRequest &request)
 
UniValue mnsync (const JSONRPCRequest &request)
 
UniValue spork (const JSONRPCRequest &request)
 
UniValue validateaddress (const JSONRPCRequest &request)
 
CScript _createmultisig_redeemScript (CWallet *const pwallet, const UniValue &params)
 Used by addmultisigaddress / createmultisig: More...
 
UniValue createmultisig (const JSONRPCRequest &request)
 
UniValue verifymessage (const JSONRPCRequest &request)
 
UniValue setmocktime (const JSONRPCRequest &request)
 
void EnableOrDisableLogCategories (UniValue cats, bool enable)
 
UniValue logging (const JSONRPCRequest &request)
 
UniValue getmemoryinfo (const JSONRPCRequest &request)
 
UniValue echo (const JSONRPCRequest &request)
 
UniValue mnconnect (const JSONRPCRequest &request)
 
void RegisterMiscRPCCommands (CRPCTable &tableRPC)
 Register miscellaneous RPC commands. More...
 

Variables

std::vector< CSporkDefsporkDefs
 
const char * SINGLE_CONN = "single_conn"
 
const char * QUORUM_MEMBERS_CONN = "quorum_members_conn"
 
const char * IQR_MEMBERS_CONN = "iqr_members_conn"
 
const char * PROBE_CONN = "probe_conn"
 
const char * CLEAR_CONN = "clear_conn"
 

Typedef Documentation

◆ PPaymentAddress

Definition at line 347 of file misc.cpp.

Function Documentation

◆ _createmultisig_redeemScript()

CScript _createmultisig_redeemScript ( CWallet *const  pwallet,
const UniValue params 
)

Used by addmultisigaddress / createmultisig:

Definition at line 461 of file misc.cpp.

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

◆ createmultisig()

UniValue createmultisig ( const JSONRPCRequest request)

Definition at line 519 of file misc.cpp.

Here is the call graph for this function:

◆ echo()

UniValue echo ( const JSONRPCRequest request)

Definition at line 757 of file misc.cpp.

◆ EnableOrDisableLogCategories()

void EnableOrDisableLogCategories ( UniValue  cats,
bool  enable 
)

Definition at line 637 of file misc.cpp.

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

◆ getinfo()

UniValue getinfo ( const JSONRPCRequest request)
Note
Do not add or change anything in the information returned by this method. getinfo exists for backwards-compatibility only. It combines information from wildly different sources in the program, which is a mess, and is thus planned to be deprecated eventually.

Based on the source of the information, new information should be added to:

  • getblockchaininfo,
  • getnetworkinfo or
  • getwalletinfo

Or alternatively, create a specific query method for the information.

Definition at line 50 of file misc.cpp.

Here is the call graph for this function:

◆ getmemoryinfo()

UniValue getmemoryinfo ( const JSONRPCRequest request)

Definition at line 728 of file misc.cpp.

Here is the call graph for this function:

◆ getsupplyinfo()

UniValue getsupplyinfo ( const JSONRPCRequest request)

getinfo depends on getsupplyinfo defined in rpc/blockchain.cpp

Definition at line 701 of file blockchain.cpp.

Here is the call graph for this function:

◆ logging()

UniValue logging ( const JSONRPCRequest request)

Definition at line 654 of file misc.cpp.

Here is the call graph for this function:

◆ mnconnect()

UniValue mnconnect ( const JSONRPCRequest request)

Definition at line 785 of file misc.cpp.

Here is the call graph for this function:

◆ mnsync()

UniValue mnsync ( const JSONRPCRequest request)

Definition at line 157 of file misc.cpp.

Here is the call graph for this function:

◆ RegisterMiscRPCCommands()

void RegisterMiscRPCCommands ( CRPCTable tableRPC)

Register miscellaneous RPC commands.

Definition at line 869 of file misc.cpp.

◆ setmocktime()

UniValue setmocktime ( const JSONRPCRequest request)
Todo:
: figure out the right way to synchronize around mocktime, and

Definition at line 610 of file misc.cpp.

Here is the call graph for this function:

◆ spork()

UniValue spork ( const JSONRPCRequest request)

Definition at line 286 of file misc.cpp.

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

◆ validateaddress()

UniValue validateaddress ( const JSONRPCRequest request)

Definition at line 390 of file misc.cpp.

Here is the call graph for this function:

◆ verifymessage()

UniValue verifymessage ( const JSONRPCRequest request)

Definition at line 560 of file misc.cpp.

Here is the call graph for this function:

Variable Documentation

◆ CLEAR_CONN

const char* CLEAR_CONN = "clear_conn"

Definition at line 775 of file misc.cpp.

◆ IQR_MEMBERS_CONN

const char* IQR_MEMBERS_CONN = "iqr_members_conn"

Definition at line 773 of file misc.cpp.

◆ PROBE_CONN

const char* PROBE_CONN = "probe_conn"

Definition at line 774 of file misc.cpp.

◆ QUORUM_MEMBERS_CONN

const char* QUORUM_MEMBERS_CONN = "quorum_members_conn"

Definition at line 772 of file misc.cpp.

◆ SINGLE_CONN

const char* SINGLE_CONN = "single_conn"

Definition at line 771 of file misc.cpp.

◆ sporkDefs

std::vector<CSporkDef> sporkDefs
extern

Definition at line 16 of file spork.cpp.