]> Git Repo - VerusCoin.git/blob - src/rpc/register.h
Incorporate all Zcash updates through 2.0.7-3 in addition to PBaaS, reserves, etc.
[VerusCoin.git] / src / rpc / register.h
1 // Copyright (c) 2009-2016 The Bitcoin Core developers
2 // Distributed under the MIT software license, see the accompanying
3 // file COPYING or https://www.opensource.org/licenses/mit-license.php .
4
5 #ifndef BITCOIN_RPCREGISTER_H
6 #define BITCOIN_RPCREGISTER_H
7
8 /** These are in one header file to avoid creating tons of single-function
9  * headers for everything under src/rpc/ */
10 class CRPCTable;
11
12 /** Register block chain RPC commands */
13 void RegisterBlockchainRPCCommands(CRPCTable &tableRPC);
14 /** Register P2P networking RPC commands */
15 void RegisterNetRPCCommands(CRPCTable &tableRPC);
16 /** Register miscellaneous RPC commands */
17 void RegisterMiscRPCCommands(CRPCTable &tableRPC);
18 /** Register mining RPC commands */
19 void RegisterMiningRPCCommands(CRPCTable &tableRPC);
20 /** Register raw transaction RPC commands */
21 void RegisterRawTransactionRPCCommands(CRPCTable &tableRPC);
22
23 static inline void RegisterAllCoreRPCCommands(CRPCTable &tableRPC)
24 {
25     RegisterBlockchainRPCCommands(tableRPC);
26     RegisterNetRPCCommands(tableRPC);
27     RegisterMiscRPCCommands(tableRPC);
28     RegisterMiningRPCCommands(tableRPC);
29     RegisterRawTransactionRPCCommands(tableRPC);
30     RegisterPBaaSRPCCommands(tableRPC);
31 }
32
33 #endif
This page took 0.025295 seconds and 4 git commands to generate.