/Users/eugenesiegel/btc/bitcoin/src/rpc/register.h
Line | Count | Source |
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 | | #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 | 38.8k | { |
28 | 38.8k | RegisterBlockchainRPCCommands(t); |
29 | 38.8k | RegisterFeeRPCCommands(t); |
30 | 38.8k | RegisterMempoolRPCCommands(t); |
31 | 38.8k | RegisterMiningRPCCommands(t); |
32 | 38.8k | RegisterNodeRPCCommands(t); |
33 | 38.8k | RegisterNetRPCCommands(t); |
34 | 38.8k | RegisterOutputScriptRPCCommands(t); |
35 | 38.8k | RegisterRawTransactionRPCCommands(t); |
36 | 38.8k | RegisterSignMessageRPCCommands(t); |
37 | | #ifdef ENABLE_EXTERNAL_SIGNER |
38 | | RegisterSignerRPCCommands(t); |
39 | | #endif // ENABLE_EXTERNAL_SIGNER |
40 | 38.8k | RegisterTxoutProofRPCCommands(t); |
41 | 38.8k | } setup_common.cpp:_ZL26RegisterAllCoreRPCCommandsR9CRPCTable Line | Count | Source | 27 | 38.8k | { | 28 | 38.8k | RegisterBlockchainRPCCommands(t); | 29 | 38.8k | RegisterFeeRPCCommands(t); | 30 | 38.8k | RegisterMempoolRPCCommands(t); | 31 | 38.8k | RegisterMiningRPCCommands(t); | 32 | 38.8k | RegisterNodeRPCCommands(t); | 33 | 38.8k | RegisterNetRPCCommands(t); | 34 | 38.8k | RegisterOutputScriptRPCCommands(t); | 35 | 38.8k | RegisterRawTransactionRPCCommands(t); | 36 | 38.8k | RegisterSignMessageRPCCommands(t); | 37 | | #ifdef ENABLE_EXTERNAL_SIGNER | 38 | | RegisterSignerRPCCommands(t); | 39 | | #endif // ENABLE_EXTERNAL_SIGNER | 40 | 38.8k | RegisterTxoutProofRPCCommands(t); | 41 | 38.8k | } |
Unexecuted instantiation: init.cpp:_ZL26RegisterAllCoreRPCCommandsR9CRPCTable |
42 | | |
43 | | #endif // BITCOIN_RPC_REGISTER_H |