LCOV - code coverage report
Current view: top level - src/rpc - register.h (source / functions) Hit Total Coverage
Test: total_coverage.info Lines: 11 11 100.0 %
Date: 2025-04-02 01:23:23 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 PIVX_RPC_REGISTER_H
       6             : #define PIVX_RPC_REGISTER_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 masternode RPC commands */
      23             : void RegisterMasternodeRPCCommands(CRPCTable& tableRPC);
      24             : /** Register budget RPC commands */
      25             : void RegisterBudgetRPCCommands(CRPCTable& tableRPC);
      26             : /** Register Evo RPC commands */
      27             : void RegisterEvoRPCCommands(CRPCTable &tableRPC);
      28             : /** Register Quorums RPC commands */
      29             : void RegisterQuorumsRPCCommands(CRPCTable &tableRPC);
      30             : 
      31         494 : static inline void RegisterAllCoreRPCCommands(CRPCTable& tableRPC)
      32             : {
      33         494 :     RegisterBlockchainRPCCommands(tableRPC);
      34         494 :     RegisterNetRPCCommands(tableRPC);
      35         494 :     RegisterMiscRPCCommands(tableRPC);
      36         494 :     RegisterMiningRPCCommands(tableRPC);
      37         494 :     RegisterRawTransactionRPCCommands(tableRPC);
      38         494 :     RegisterMasternodeRPCCommands(tableRPC);
      39         494 :     RegisterBudgetRPCCommands(tableRPC);
      40         494 :     RegisterEvoRPCCommands(tableRPC);
      41         494 :     RegisterQuorumsRPCCommands(tableRPC);
      42         494 : }
      43             : 
      44             : #endif // PIVX_RPC_REGISTER_H

Generated by: LCOV version 1.14