0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-03-06 14:19:59 -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:
MacroFake 2022-05-03 09:05:07 +02:00
parent fa87eb8ce1
commit fa758f9bc5
No known key found for this signature in database
GPG key ID: CE2B75697E69A548
3 changed files with 4 additions and 4 deletions

View file

@ -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 \

View file

@ -419,7 +419,7 @@ static RPCHelpMan getindexinfo()
};
}
void RegisterMiscRPCCommands(CRPCTable& t)
void RegisterNodeRPCCommands(CRPCTable& t)
{
static const CRPCCommand commands[]{
{"control", &getmemoryinfo},

View file

@ -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);