Bitcoin ABC  0.24.7
P2P Digital Currency
Functions
misc.cpp File Reference
#include <amount.h>
#include <chainparams.h>
#include <config.h>
#include <httpserver.h>
#include <index/blockfilterindex.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/util.h>
#include <scheduler.h>
#include <script/descriptor.h>
#include <util/check.h>
#include <util/message.h>
#include <util/ref.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)
 Register miscellaneous RPC commands. More...
 

Function Documentation

◆ createmultisig()

static RPCHelpMan createmultisig ( )
static

Definition at line 87 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 231 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 737 of file misc.cpp.

Here is the call graph for this function:
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 625 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 177 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 553 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 644 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 487 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)

Register miscellaneous RPC commands.

Definition at line 892 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 523 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 442 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 398 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 36 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 338 of file misc.cpp.

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