#include <bitcoin-build-config.h>
#include <rpc/server.h>
#include <common/args.h>
#include <common/system.h>
#include <logging.h>
#include <node/context.h>
#include <rpc/protocol.h>
#include <rpc/server_util.h>
#include <rpc/util.h>
#include <sync.h>
#include <tinyformat.h>
#include <util/check.h>
#include <util/fs.h>
#include <util/overloaded.h>
#include <util/strencodings.h>
#include <util/string.h>
#include <util/time.h>
#include <algorithm>
#include <atomic>
#include <cstddef>
#include <exception>
#include <list>
#include <mutex>
#include <optional>
#include <set>
#include <span>
#include <string_view>
#include <unordered_map>
#include <unordered_set>
#include <variant>
#include <vector>
Go to the source code of this file.
◆ ExecuteCommand()
◆ ExecuteCommands()
◆ getopenrpcinfo()
◆ getrpcinfo()
◆ GUARDED_BY()
◆ help()
◆ InterruptRPC()
◆ IsDeprecatedRPCEnabled()
| bool IsDeprecatedRPCEnabled |
( |
const std::string & |
method | ) |
|
◆ IsRPCRunning()
Query whether RPC is running.
Definition at line 678 of file server.cpp.
◆ JSONRPCExec()
◆ OpenRPCDocResult()
◆ rpc_discover()
◆ RpcInterruptionPoint()
| void RpcInterruptionPoint |
( |
| ) |
|
Throw JSONRPCError if RPC is not running.
Definition at line 683 of file server.cpp.
◆ RPCIsInWarmup()
| bool RPCIsInWarmup |
( |
std::string * |
outStatus | ) |
|
◆ SetRPCWarmupFinished()
| void SetRPCWarmupFinished |
( |
| ) |
|
◆ SetRPCWarmupStarting()
| void SetRPCWarmupStarting |
( |
| ) |
|
◆ SetRPCWarmupStatus()
| void SetRPCWarmupStatus |
( |
const std::string & |
newStatus | ) |
|
Set the RPC warmup status.
When this is done, all RPC calls will error out immediately with RPC_IN_WARMUP.
Definition at line 688 of file server.cpp.
◆ StartRPC()
◆ stop()
◆ StopRPC()
◆ transformNamedArguments()
Process named arguments into a vector of positional arguments, based on the passed-in specification for the RPC call's arguments.
Definition at line 744 of file server.cpp.
◆ uptime()
◆ g_rpc_running
◆ g_rpc_server_info
◆ g_rpc_warmup_mutex
◆ tableRPC
◆ vRPCCommands
Initial value:{
}
static RPCMethod getrpcinfo()
static RPCMethod getopenrpcinfo()
static RPCMethod uptime()
static RPCMethod rpc_discover()
Definition at line 611 of file server.cpp.