Raven Core  3.0.0
P2P Digital Currency
Functions
misc.cpp File Reference
#include "base58.h"
#include "chain.h"
#include "clientversion.h"
#include "core_io.h"
#include "init.h"
#include "validation.h"
#include "httpserver.h"
#include "net.h"
#include "netbase.h"
#include "rpc/blockchain.h"
#include "rpc/server.h"
#include "timedata.h"
#include "txmempool.h"
#include "util.h"
#include "utilstrencodings.h"
#include "warnings.h"
#include <stdint.h>
#include <univalue.h>
Include dependency graph for misc.cpp:

Go to the source code of this file.

Functions

UniValue getinfo (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 signmessagewithprivkey (const JSONRPCRequest &request)
 
UniValue setmocktime (const JSONRPCRequest &request)
 
UniValue getmemoryinfo (const JSONRPCRequest &request)
 
uint32_t getCategoryMask (UniValue cats)
 
UniValue logging (const JSONRPCRequest &request)
 
UniValue echo (const JSONRPCRequest &request)
 
bool getAddressFromIndex (const int &type, const uint160 &hash, std::string &address)
 
bool getAddressesFromParams (const UniValue &params, std::vector< std::pair< uint160, int > > &addresses)
 
bool heightSort (std::pair< CAddressUnspentKey, CAddressUnspentValue > a, std::pair< CAddressUnspentKey, CAddressUnspentValue > b)
 
bool timestampSort (std::pair< CMempoolAddressDeltaKey, CMempoolAddressDelta > a, std::pair< CMempoolAddressDeltaKey, CMempoolAddressDelta > b)
 
UniValue getaddressmempool (const JSONRPCRequest &request)
 
UniValue getaddressutxos (const JSONRPCRequest &request)
 
UniValue getaddressdeltas (const JSONRPCRequest &request)
 
UniValue getaddressbalance (const JSONRPCRequest &request)
 
UniValue getaddresstxids (const JSONRPCRequest &request)
 
UniValue getspentinfo (const JSONRPCRequest &request)
 
void RegisterMiscRPCCommands (CRPCTable &t)
 Register miscellaneous RPC commands. More...
 

Function Documentation

◆ _createmultisig_redeemScript()

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

Used by addmultisigaddress / createmultisig:

Definition at line 262 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 322 of file misc.cpp.

Here is the call graph for this function:

◆ echo()

UniValue echo ( const JSONRPCRequest request)

Definition at line 641 of file misc.cpp.

◆ getaddressbalance()

UniValue getaddressbalance ( const JSONRPCRequest request)

Definition at line 1053 of file misc.cpp.

Here is the call graph for this function:

◆ getaddressdeltas()

UniValue getaddressdeltas ( const JSONRPCRequest request)

Definition at line 915 of file misc.cpp.

Here is the call graph for this function:

◆ getAddressesFromParams()

bool getAddressesFromParams ( const UniValue params,
std::vector< std::pair< uint160, int > > &  addresses 
)

Definition at line 666 of file misc.cpp.

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

◆ getAddressFromIndex()

bool getAddressFromIndex ( const int &  type,
const uint160 hash,
std::string &  address 
)

Definition at line 654 of file misc.cpp.

Here is the call graph for this function:

◆ getaddressmempool()

UniValue getaddressmempool ( const JSONRPCRequest request)

Definition at line 712 of file misc.cpp.

Here is the call graph for this function:

◆ getaddresstxids()

UniValue getaddresstxids ( const JSONRPCRequest request)

Definition at line 1169 of file misc.cpp.

Here is the call graph for this function:

◆ getaddressutxos()

UniValue getaddressutxos ( const JSONRPCRequest request)

Definition at line 803 of file misc.cpp.

Here is the call graph for this function:

◆ getCategoryMask()

uint32_t getCategoryMask ( UniValue  cats)

Definition at line 574 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 49 of file misc.cpp.

Here is the call graph for this function:

◆ getmemoryinfo()

UniValue getmemoryinfo ( const JSONRPCRequest request)

Definition at line 527 of file misc.cpp.

Here is the call graph for this function:

◆ getspentinfo()

UniValue getspentinfo ( const JSONRPCRequest request)

Definition at line 1276 of file misc.cpp.

Here is the call graph for this function:

◆ heightSort()

bool heightSort ( std::pair< CAddressUnspentKey, CAddressUnspentValue a,
std::pair< CAddressUnspentKey, CAddressUnspentValue b 
)

Definition at line 702 of file misc.cpp.

◆ logging()

UniValue logging ( const JSONRPCRequest request)

Definition at line 588 of file misc.cpp.

Here is the call graph for this function:

◆ RegisterMiscRPCCommands()

void RegisterMiscRPCCommands ( CRPCTable t)

Register miscellaneous RPC commands.

Definition at line 1351 of file misc.cpp.

Here is the call graph for this function:

◆ setmocktime()

UniValue setmocktime ( const JSONRPCRequest request)

Definition at line 468 of file misc.cpp.

Here is the call graph for this function:

◆ signmessagewithprivkey()

UniValue signmessagewithprivkey ( const JSONRPCRequest request)

Definition at line 426 of file misc.cpp.

Here is the call graph for this function:

◆ timestampSort()

bool timestampSort ( std::pair< CMempoolAddressDeltaKey, CMempoolAddressDelta a,
std::pair< CMempoolAddressDeltaKey, CMempoolAddressDelta b 
)

Definition at line 707 of file misc.cpp.

◆ validateaddress()

UniValue validateaddress ( const JSONRPCRequest request)

Definition at line 170 of file misc.cpp.

Here is the call graph for this function:

◆ verifymessage()

UniValue verifymessage ( const JSONRPCRequest request)

Definition at line 370 of file misc.cpp.

Here is the call graph for this function: