Bitcoin ABC  0.22.12
P2P Digital Currency
Functions
misc.cpp File Reference
#include <chainparams.h>
#include <config.h>
#include <httpserver.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 UniValue validateaddress (const Config &config, const JSONRPCRequest &request)
 
static UniValue createmultisig (const Config &config, const JSONRPCRequest &request)
 
UniValue getdescriptorinfo (const Config &config, const JSONRPCRequest &request)
 
UniValue deriveaddresses (const Config &config, const JSONRPCRequest &request)
 
static UniValue verifymessage (const Config &config, const JSONRPCRequest &request)
 
static UniValue signmessagewithprivkey (const Config &config, const JSONRPCRequest &request)
 
static UniValue setmocktime (const Config &config, const JSONRPCRequest &request)
 
static UniValue mockscheduler (const Config &config, const JSONRPCRequest &request)
 
static UniValue RPCLockedMemoryInfo ()
 
static UniValue getmemoryinfo (const Config &config, const JSONRPCRequest &request)
 
static void EnableOrDisableLogCategories (UniValue cats, bool enable)
 
static UniValue logging (const Config &config, const JSONRPCRequest &request)
 
static UniValue echo (const Config &config, const JSONRPCRequest &request)
 
void RegisterMiscRPCCommands (CRPCTable &t)
 Register miscellaneous RPC commands. More...
 

Function Documentation

◆ createmultisig()

static UniValue createmultisig ( const Config config,
const JSONRPCRequest request 
)
static

Definition at line 84 of file misc.cpp.

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

◆ deriveaddresses()

UniValue deriveaddresses ( const Config config,
const JSONRPCRequest request 
)

Definition at line 226 of file misc.cpp.

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

◆ echo()

static UniValue echo ( const Config config,
const JSONRPCRequest request 
)
static

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

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

◆ getdescriptorinfo()

UniValue getdescriptorinfo ( const Config config,
const JSONRPCRequest request 
)

Definition at line 173 of file misc.cpp.

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

◆ getmemoryinfo()

static UniValue getmemoryinfo ( const Config config,
const JSONRPCRequest request 
)
static

Definition at line 543 of file misc.cpp.

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

◆ logging()

static UniValue logging ( const Config config,
const JSONRPCRequest request 
)
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 632 of file misc.cpp.

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

◆ mockscheduler()

static UniValue mockscheduler ( const Config config,
const JSONRPCRequest request 
)
static

Definition at line 477 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 746 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 513 of file misc.cpp.

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

◆ setmocktime()

static UniValue setmocktime ( const Config config,
const JSONRPCRequest request 
)
static

Definition at line 432 of file misc.cpp.

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

◆ signmessagewithprivkey()

static UniValue signmessagewithprivkey ( const Config config,
const JSONRPCRequest request 
)
static

Definition at line 389 of file misc.cpp.

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

◆ validateaddress()

static UniValue validateaddress ( const Config config,
const JSONRPCRequest request 
)
static

Definition at line 33 of file misc.cpp.

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

◆ verifymessage()

static UniValue verifymessage ( const Config config,
const JSONRPCRequest request 
)
static

Definition at line 330 of file misc.cpp.

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