Bitcoin ABC  0.26.3
P2P Digital Currency
Functions
misc.cpp File Reference
#include <chainparams.h>
#include <config.h>
#include <consensus/amount.h>
#include <httpserver.h>
#include <index/blockfilterindex.h>
#include <index/coinstatsindex.h>
#include <index/txindex.h>
#include <interfaces/chain.h>
#include <key_io.h>
#include <logging.h>
#include <node/context.h>
#include <outputtype.h>
#include <rpc/blockchain.h>
#include <rpc/server.h>
#include <rpc/server_util.h>
#include <rpc/util.h>
#include <scheduler.h>
#include <script/descriptor.h>
#include <util/check.h>
#include <util/message.h>
#include <util/strencodings.h>
#include <util/system.h>
#include <univalue.h>
#include <cstdint>
#include <tuple>
Include dependency graph for misc.cpp:

Go to the source code of this file.

Functions

static RPCHelpMan validateaddress ()
 
static RPCHelpMan createmultisig ()
 
static RPCHelpMan getdescriptorinfo ()
 
static RPCHelpMan deriveaddresses ()
 
static RPCHelpMan verifymessage ()
 
static RPCHelpMan signmessagewithprivkey ()
 
static RPCHelpMan setmocktime ()
 
static RPCHelpMan mockscheduler ()
 
static UniValue RPCLockedMemoryInfo ()
 
static RPCHelpMan getmemoryinfo ()
 
static void EnableOrDisableLogCategories (UniValue cats, bool enable)
 
static RPCHelpMan logging ()
 
static RPCHelpMan echo (const std::string &name)
 
static RPCHelpMan echo ()
 
static RPCHelpMan echojson ()
 
static RPCHelpMan getcurrencyinfo ()
 
static UniValue SummaryToJSON (const IndexSummary &&summary, std::string index_name)
 
static RPCHelpMan getindexinfo ()
 
void RegisterMiscRPCCommands (CRPCTable &t)
 

Function Documentation

◆ createmultisig()

static RPCHelpMan createmultisig ( )
static

Definition at line 90 of file misc.cpp.

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

◆ deriveaddresses()

static RPCHelpMan deriveaddresses ( )
static

Definition at line 234 of file misc.cpp.

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

◆ echo() [1/2]

static RPCHelpMan echo ( )
static

Definition at line 787 of file misc.cpp.

Here is the call graph for this function:

◆ echo() [2/2]

static RPCHelpMan echo ( const std::string &  name)
static

Definition at line 741 of file misc.cpp.

Here is the caller graph for this function:

◆ echojson()

static RPCHelpMan echojson ( )
static

Definition at line 790 of file misc.cpp.

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

◆ EnableOrDisableLogCategories()

static void EnableOrDisableLogCategories ( UniValue  cats,
bool  enable 
)
static

Definition at line 629 of file misc.cpp.

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

◆ getcurrencyinfo()

static RPCHelpMan getcurrencyinfo ( )
static

Definition at line 794 of file misc.cpp.

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

◆ getdescriptorinfo()

static RPCHelpMan getdescriptorinfo ( )
static

Definition at line 180 of file misc.cpp.

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

◆ getindexinfo()

static RPCHelpMan getindexinfo ( )
static

Definition at line 841 of file misc.cpp.

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

◆ getmemoryinfo()

static RPCHelpMan getmemoryinfo ( )
static

Definition at line 557 of file misc.cpp.

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

◆ logging()

static RPCHelpMan logging ( )
static

Update libevent logging if BCLog::LIBEVENT has changed. If the library version doesn't allow it, UpdateHTTPServerLogging() returns false, in which case we should clear the BCLog::LIBEVENT flag. Throw an error if the user has explicitly asked to change only the libevent flag and it failed.

Definition at line 648 of file misc.cpp.

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

◆ mockscheduler()

static RPCHelpMan mockscheduler ( )
static

Definition at line 490 of file misc.cpp.

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

◆ RegisterMiscRPCCommands()

void RegisterMiscRPCCommands ( CRPCTable t)

Definition at line 897 of file misc.cpp.

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

◆ RPCLockedMemoryInfo()

static UniValue RPCLockedMemoryInfo ( )
static

Definition at line 527 of file misc.cpp.

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

◆ setmocktime()

static RPCHelpMan setmocktime ( )
static

Definition at line 445 of file misc.cpp.

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

◆ signmessagewithprivkey()

static RPCHelpMan signmessagewithprivkey ( )
static

Definition at line 401 of file misc.cpp.

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

◆ SummaryToJSON()

static UniValue SummaryToJSON ( const IndexSummary &&  summary,
std::string  index_name 
)
static

Definition at line 827 of file misc.cpp.

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

◆ validateaddress()

static RPCHelpMan validateaddress ( )
static

Definition at line 39 of file misc.cpp.

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

◆ verifymessage()

static RPCHelpMan verifymessage ( )
static

Definition at line 341 of file misc.cpp.

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