Bitcoin ABC 0.30.5
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 <timedata.h>
#include <util/any.h>
#include <util/check.h>
#include <util/message.h>
#include <util/strencodings.h>
#include <util/time.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 ()
 
static RPCHelpMan gettime ()
 
void RegisterMiscRPCCommands (CRPCTable &t)
 

Function Documentation

◆ createmultisig()

static RPCHelpMan createmultisig ( )
static

Definition at line 92 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 782 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 736 of file misc.cpp.

Here is the caller graph for this function:

◆ echojson()

static RPCHelpMan echojson ( )
static

Definition at line 785 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 624 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 789 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 182 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 836 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 552 of file misc.cpp.

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

◆ gettime()

static RPCHelpMan gettime ( )
static

Definition at line 892 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 643 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)

Definition at line 924 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 522 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 443 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 399 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 822 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 41 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 339 of file misc.cpp.

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