![]() |
Bitcoin Core 31.0.0
P2P Digital Currency
|
#include <rpc/request.h>#include <rpc/util.h>#include <cstdint>#include <functional>#include <map>#include <string>#include <univalue.h>Go to the source code of this file.
Classes | |
| class | CRPCCommand |
| class | CRPCTable |
| RPC command dispatcher. More... | |
Typedefs | |
| typedef RPCHelpMan(* | RpcMethodFnType) () |
Functions | |
| bool | IsRPCRunning () |
| Query whether RPC is running. | |
| void | RpcInterruptionPoint () |
| Throw JSONRPCError if RPC is not running. | |
| void | SetRPCWarmupStatus (const std::string &newStatus) |
| Set the RPC warmup status. | |
| void | SetRPCWarmupStarting () |
| void | SetRPCWarmupFinished () |
| bool | RPCIsInWarmup (std::string *outStatus) |
| bool | IsDeprecatedRPCEnabled (const std::string &method) |
| void | StartRPC () |
| void | InterruptRPC () |
| void | StopRPC () |
| UniValue | JSONRPCExec (const JSONRPCRequest &jreq, bool catch_errors) |
Variables | |
| CRPCTable | tableRPC |
| typedef RPCHelpMan(* RpcMethodFnType) () |
| void InterruptRPC | ( | ) |
Definition at line 279 of file server.cpp.
| bool IsDeprecatedRPCEnabled | ( | const std::string & | method | ) |
Definition at line 339 of file server.cpp.
| bool IsRPCRunning | ( | ) |
Query whether RPC is running.
Definition at line 302 of file server.cpp.
| UniValue JSONRPCExec | ( | const JSONRPCRequest & | jreq, |
| bool | catch_errors ) |
Definition at line 346 of file server.cpp.
| void RpcInterruptionPoint | ( | ) |
Throw JSONRPCError if RPC is not running.
Definition at line 307 of file server.cpp.
| bool RPCIsInWarmup | ( | std::string * | outStatus | ) |
Definition at line 331 of file server.cpp.
| void SetRPCWarmupFinished | ( | ) |
Definition at line 324 of file server.cpp.
| void SetRPCWarmupStarting | ( | ) |
Definition at line 318 of file server.cpp.
| 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 312 of file server.cpp.
| void StartRPC | ( | ) |
| void StopRPC | ( | ) |
Definition at line 290 of file server.cpp.
|
extern |
Definition at line 544 of file server.cpp.