/tmp/bitcoin/src/rpc/register.h
Line | Count | Source |
1 | | // Copyright (c) 2009-present 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 | | #include <bitcoin-build-config.h> // IWYU pragma: keep |
9 | | |
10 | | /** These are in one header file to avoid creating tons of single-function |
11 | | * headers for everything under src/rpc/ */ |
12 | | class CRPCTable; |
13 | | |
14 | | void RegisterBlockchainRPCCommands(CRPCTable &tableRPC); |
15 | | void RegisterFeeRPCCommands(CRPCTable&); |
16 | | void RegisterMempoolRPCCommands(CRPCTable&); |
17 | | void RegisterMiningRPCCommands(CRPCTable &tableRPC); |
18 | | void RegisterNodeRPCCommands(CRPCTable&); |
19 | | void RegisterNetRPCCommands(CRPCTable&); |
20 | | void RegisterOutputScriptRPCCommands(CRPCTable&); |
21 | | void RegisterRawTransactionRPCCommands(CRPCTable &tableRPC); |
22 | | void RegisterSignMessageRPCCommands(CRPCTable&); |
23 | | void RegisterSignerRPCCommands(CRPCTable &tableRPC); |
24 | | void RegisterTxoutProofRPCCommands(CRPCTable&); |
25 | | |
26 | | static inline void RegisterAllCoreRPCCommands(CRPCTable &t) |
27 | 1.36k | { |
28 | 1.36k | RegisterBlockchainRPCCommands(t); |
29 | 1.36k | RegisterFeeRPCCommands(t); |
30 | 1.36k | RegisterMempoolRPCCommands(t); |
31 | 1.36k | RegisterMiningRPCCommands(t); |
32 | 1.36k | RegisterNodeRPCCommands(t); |
33 | 1.36k | RegisterNetRPCCommands(t); |
34 | 1.36k | RegisterOutputScriptRPCCommands(t); |
35 | 1.36k | RegisterRawTransactionRPCCommands(t); |
36 | 1.36k | RegisterSignMessageRPCCommands(t); |
37 | 1.36k | #ifdef ENABLE_EXTERNAL_SIGNER |
38 | 1.36k | RegisterSignerRPCCommands(t); |
39 | 1.36k | #endif // ENABLE_EXTERNAL_SIGNER |
40 | 1.36k | RegisterTxoutProofRPCCommands(t); |
41 | 1.36k | } setup_common.cpp:RegisterAllCoreRPCCommands(CRPCTable&) Line | Count | Source | 27 | 176 | { | 28 | 176 | RegisterBlockchainRPCCommands(t); | 29 | 176 | RegisterFeeRPCCommands(t); | 30 | 176 | RegisterMempoolRPCCommands(t); | 31 | 176 | RegisterMiningRPCCommands(t); | 32 | 176 | RegisterNodeRPCCommands(t); | 33 | 176 | RegisterNetRPCCommands(t); | 34 | 176 | RegisterOutputScriptRPCCommands(t); | 35 | 176 | RegisterRawTransactionRPCCommands(t); | 36 | 176 | RegisterSignMessageRPCCommands(t); | 37 | 176 | #ifdef ENABLE_EXTERNAL_SIGNER | 38 | 176 | RegisterSignerRPCCommands(t); | 39 | 176 | #endif // ENABLE_EXTERNAL_SIGNER | 40 | 176 | RegisterTxoutProofRPCCommands(t); | 41 | 176 | } |
init.cpp:RegisterAllCoreRPCCommands(CRPCTable&) Line | Count | Source | 27 | 1.18k | { | 28 | 1.18k | RegisterBlockchainRPCCommands(t); | 29 | 1.18k | RegisterFeeRPCCommands(t); | 30 | 1.18k | RegisterMempoolRPCCommands(t); | 31 | 1.18k | RegisterMiningRPCCommands(t); | 32 | 1.18k | RegisterNodeRPCCommands(t); | 33 | 1.18k | RegisterNetRPCCommands(t); | 34 | 1.18k | RegisterOutputScriptRPCCommands(t); | 35 | 1.18k | RegisterRawTransactionRPCCommands(t); | 36 | 1.18k | RegisterSignMessageRPCCommands(t); | 37 | 1.18k | #ifdef ENABLE_EXTERNAL_SIGNER | 38 | 1.18k | RegisterSignerRPCCommands(t); | 39 | 1.18k | #endif // ENABLE_EXTERNAL_SIGNER | 40 | 1.18k | RegisterTxoutProofRPCCommands(t); | 41 | 1.18k | } |
Unexecuted instantiation: blockchain.cpp:RegisterAllCoreRPCCommands(CRPCTable&) Unexecuted instantiation: external_signer.cpp:RegisterAllCoreRPCCommands(CRPCTable&) Unexecuted instantiation: fees.cpp:RegisterAllCoreRPCCommands(CRPCTable&) Unexecuted instantiation: mempool.cpp:RegisterAllCoreRPCCommands(CRPCTable&) Unexecuted instantiation: mining.cpp:RegisterAllCoreRPCCommands(CRPCTable&) Unexecuted instantiation: net.cpp:RegisterAllCoreRPCCommands(CRPCTable&) Unexecuted instantiation: node.cpp:RegisterAllCoreRPCCommands(CRPCTable&) Unexecuted instantiation: output_script.cpp:RegisterAllCoreRPCCommands(CRPCTable&) Unexecuted instantiation: rawtransaction.cpp:RegisterAllCoreRPCCommands(CRPCTable&) Unexecuted instantiation: signmessage.cpp:RegisterAllCoreRPCCommands(CRPCTable&) Unexecuted instantiation: txoutproof.cpp:RegisterAllCoreRPCCommands(CRPCTable&) |
42 | | |
43 | | #endif // BITCOIN_RPC_REGISTER_H |