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