LCOV - code coverage report
Current view: top level - src/rpc - register.h (source / functions) Hit Total Coverage
Test: bitcoincash_test.info Lines: 8 8 100.0 %
Date: 2018-04-13 15:12:50 Functions: 1 1 100.0 %

          Line data    Source code
       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_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             : /** Register ABC RPC commands */
      23             : void RegisterABCRPCCommands(CRPCTable &tableRPC);
      24             : 
      25          38 : static inline void RegisterAllRPCCommands(CRPCTable &t) {
      26          38 :     RegisterBlockchainRPCCommands(t);
      27          38 :     RegisterNetRPCCommands(t);
      28          38 :     RegisterMiscRPCCommands(t);
      29          38 :     RegisterMiningRPCCommands(t);
      30          38 :     RegisterRawTransactionRPCCommands(t);
      31          38 :     RegisterABCRPCCommands(t);
      32          38 : }
      33             : 
      34             : #endif

Generated by: LCOV version 1.12