Bitcoin ABC 0.26.3
P2P Digital Currency
Loading...
Searching...
No Matches
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
12class CRPCTable;
13class RPCServer;
14
26
38
42static inline void RegisterAllRPCCommands(const Config &config,
43 RPCServer &rpcServer,
45 // TODO Register context-sensitive RPC commands using rpcServer
46
48}
49
50#endif // BITCOIN_RPC_REGISTER_H
RPC command dispatcher.
Definition server.h:194
Class for registering and managing all RPC calls.
Definition server.h:40
T GetRand(T nMax=std::numeric_limits< T >::max()) noexcept
Generate a uniform random integer of type T in the range [0..nMax) nMax defaults to std::numeric_limi...
Definition random.h:85
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:943
void RegisterAvalancheRPCCommands(CRPCTable &tableRPC)
void RegisterMiningRPCCommands(CRPCTable &tableRPC)
Definition mining.cpp:1379
void RegisterNetRPCCommands(CRPCTable &tableRPC)
Register P2P networking RPC commands.
Definition net.cpp:1244
void RegisterMempoolRPCCommands(CRPCTable &)
Register mempool RPC commands.
Definition mempool.cpp:1002
static void RegisterAllCoreRPCCommands(CRPCTable &t)
Definition register.h:27
void RegisterBlockchainRPCCommands(CRPCTable &tableRPC)
void RegisterABCRPCCommands(CRPCTable &tableRPC)
Definition abc.cpp:34
void RegisterTxoutProofRPCCommands(CRPCTable &)
CRPCTable tableRPC
Definition server.cpp:683