Bitcoin ABC  0.26.3
P2P Digital Currency
register.h
Go to the documentation of this file.
1 // Copyright (c) 2009-2016 The Bitcoin Core developers
2 // Distributed under the MIT software license, see the accompanying
3 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
4 
5 #ifndef BITCOIN_RPC_REGISTER_H
6 #define BITCOIN_RPC_REGISTER_H
7 
12 class CRPCTable;
13 class RPCServer;
14 
26 
27 static inline void RegisterAllCoreRPCCommands(CRPCTable &t) {
37 }
38 
42 static inline void RegisterAllRPCCommands(const Config &config,
43  RPCServer &rpcServer,
44  CRPCTable &rpcTable) {
45  // TODO Register context-sensitive RPC commands using rpcServer
46 
48 }
49 
50 #endif // BITCOIN_RPC_REGISTER_H
RPC command dispatcher.
Definition: server.h:183
Definition: config.h:17
Class for registering and managing all RPC calls.
Definition: server.h:39
static void RegisterAllRPCCommands(const Config &config, RPCServer &rpcServer, CRPCTable &rpcTable)
Register all context-sensitive RPC commands.
Definition: register.h:42
void RegisterRawTransactionRPCCommands(CRPCTable &tableRPC)
void RegisterMiscRPCCommands(CRPCTable &tableRPC)
Definition: misc.cpp:931
void RegisterAvalancheRPCCommands(CRPCTable &tableRPC)
Definition: avalanche.cpp:1704
void RegisterMiningRPCCommands(CRPCTable &tableRPC)
Definition: mining.cpp:1276
void RegisterNetRPCCommands(CRPCTable &tableRPC)
Register P2P networking RPC commands.
Definition: net.cpp:1185
void RegisterMempoolRPCCommands(CRPCTable &)
Register mempool RPC commands.
Definition: mempool.cpp:488
static void RegisterAllCoreRPCCommands(CRPCTable &t)
Definition: register.h:27
void RegisterBlockchainRPCCommands(CRPCTable &tableRPC)
void RegisterABCRPCCommands(CRPCTable &tableRPC)
Definition: abc.cpp:34
void RegisterTxoutProofRPCCommands(CRPCTable &)
Definition: txoutproof.cpp:216
CRPCTable tableRPC
Definition: server.cpp:610