mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-03-05 14:06:27 -05:00
scripted-diff: Rename rpc/misc.cpp to rpc/node.cpp
-BEGIN VERIFY SCRIPT- git mv src/rpc/misc.cpp src/rpc/node.cpp sed -i 's@rpc/misc.cpp@rpc/node.cpp@g' $(git grep -l misc.cpp) sed -i 's,RegisterMiscRPCCommands,RegisterNodeRPCCommands,g' $(git grep -l RegisterMiscRPCCommands) -END VERIFY SCRIPT-
This commit is contained in:
parent
fa87eb8ce1
commit
fa758f9bc5
3 changed files with 4 additions and 4 deletions
|
@ -382,7 +382,7 @@ libbitcoin_node_a_SOURCES = \
|
|||
rpc/fees.cpp \
|
||||
rpc/mempool.cpp \
|
||||
rpc/mining.cpp \
|
||||
rpc/misc.cpp \
|
||||
rpc/node.cpp \
|
||||
rpc/net.cpp \
|
||||
rpc/output_script.cpp \
|
||||
rpc/rawtransaction.cpp \
|
||||
|
|
|
@ -419,7 +419,7 @@ static RPCHelpMan getindexinfo()
|
|||
};
|
||||
}
|
||||
|
||||
void RegisterMiscRPCCommands(CRPCTable& t)
|
||||
void RegisterNodeRPCCommands(CRPCTable& t)
|
||||
{
|
||||
static const CRPCCommand commands[]{
|
||||
{"control", &getmemoryinfo},
|
|
@ -13,7 +13,7 @@ void RegisterBlockchainRPCCommands(CRPCTable &tableRPC);
|
|||
void RegisterFeeRPCCommands(CRPCTable&);
|
||||
void RegisterMempoolRPCCommands(CRPCTable&);
|
||||
void RegisterMiningRPCCommands(CRPCTable &tableRPC);
|
||||
void RegisterMiscRPCCommands(CRPCTable&);
|
||||
void RegisterNodeRPCCommands(CRPCTable&);
|
||||
void RegisterNetRPCCommands(CRPCTable&);
|
||||
void RegisterOutputScriptRPCCommands(CRPCTable&);
|
||||
void RegisterRawTransactionRPCCommands(CRPCTable &tableRPC);
|
||||
|
@ -27,7 +27,7 @@ static inline void RegisterAllCoreRPCCommands(CRPCTable &t)
|
|||
RegisterFeeRPCCommands(t);
|
||||
RegisterMempoolRPCCommands(t);
|
||||
RegisterMiningRPCCommands(t);
|
||||
RegisterMiscRPCCommands(t);
|
||||
RegisterNodeRPCCommands(t);
|
||||
RegisterNetRPCCommands(t);
|
||||
RegisterOutputScriptRPCCommands(t);
|
||||
RegisterRawTransactionRPCCommands(t);
|
||||
|
|
Loading…
Add table
Reference in a new issue