LCOV - code coverage report
Current view: top level - src/rpc - register.h (source / functions) Hit Total Coverage
Test: fuzz_coverage.info Lines: 12 12 100.0 %
Date: 2023-11-10 23:46:46 Functions: 1 1 100.0 %
Branches: 0 0 -

           Branch data     Line data    Source code
       1                 :            : // Copyright (c) 2009-2022 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                 :            : 
       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                 :            : void RegisterBlockchainRPCCommands(CRPCTable &tableRPC);
      13                 :            : void RegisterFeeRPCCommands(CRPCTable&);
      14                 :            : void RegisterMempoolRPCCommands(CRPCTable&);
      15                 :            : void RegisterMiningRPCCommands(CRPCTable &tableRPC);
      16                 :            : void RegisterNodeRPCCommands(CRPCTable&);
      17                 :            : void RegisterNetRPCCommands(CRPCTable&);
      18                 :            : void RegisterOutputScriptRPCCommands(CRPCTable&);
      19                 :            : void RegisterRawTransactionRPCCommands(CRPCTable &tableRPC);
      20                 :            : void RegisterSignMessageRPCCommands(CRPCTable&);
      21                 :            : void RegisterSignerRPCCommands(CRPCTable &tableRPC);
      22                 :            : void RegisterTxoutProofRPCCommands(CRPCTable&);
      23                 :            : 
      24                 :          1 : static inline void RegisterAllCoreRPCCommands(CRPCTable &t)
      25                 :            : {
      26                 :          1 :     RegisterBlockchainRPCCommands(t);
      27                 :          1 :     RegisterFeeRPCCommands(t);
      28                 :          1 :     RegisterMempoolRPCCommands(t);
      29                 :          1 :     RegisterMiningRPCCommands(t);
      30                 :          1 :     RegisterNodeRPCCommands(t);
      31                 :          1 :     RegisterNetRPCCommands(t);
      32                 :          1 :     RegisterOutputScriptRPCCommands(t);
      33                 :          1 :     RegisterRawTransactionRPCCommands(t);
      34                 :          1 :     RegisterSignMessageRPCCommands(t);
      35                 :            : #ifdef ENABLE_EXTERNAL_SIGNER
      36                 :            :     RegisterSignerRPCCommands(t);
      37                 :            : #endif // ENABLE_EXTERNAL_SIGNER
      38                 :          1 :     RegisterTxoutProofRPCCommands(t);
      39                 :          1 : }
      40                 :            : 
      41                 :            : #endif // BITCOIN_RPC_REGISTER_H

Generated by: LCOV version 1.14