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 
23 
24 static inline void RegisterAllCoreRPCCommands(CRPCTable &t) {
33 }
34 
38 static inline void RegisterAllRPCCommands(const Config &config,
39  RPCServer &rpcServer,
40  CRPCTable &rpcTable) {
41  // TODO Register context-sensitive RPC commands using rpcServer
42 
44 }
45 
46 #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:38
void RegisterRawTransactionRPCCommands(CRPCTable &tableRPC)
void RegisterMiscRPCCommands(CRPCTable &tableRPC)
Definition: misc.cpp:897
void RegisterAvalancheRPCCommands(CRPCTable &tableRPC)
Definition: avalanche.cpp:1331
void RegisterMiningRPCCommands(CRPCTable &tableRPC)
Definition: mining.cpp:1253
void RegisterNetRPCCommands(CRPCTable &tableRPC)
Definition: net.cpp:1170
static void RegisterAllCoreRPCCommands(CRPCTable &t)
Definition: register.h:24
void RegisterBlockchainRPCCommands(CRPCTable &tableRPC)
void RegisterABCRPCCommands(CRPCTable &tableRPC)
Definition: abc.cpp:34
void RegisterTxoutProofRPCCommands(CRPCTable &)
Definition: txoutproof.cpp:216
CRPCTable tableRPC
Definition: server.cpp:607