Skip to content

Commit fa758f9

Browse files
author
MacroFake
committed
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-
1 parent fa87eb8 commit fa758f9

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ libbitcoin_node_a_SOURCES = \
382382
rpc/fees.cpp \
383383
rpc/mempool.cpp \
384384
rpc/mining.cpp \
385-
rpc/misc.cpp \
385+
rpc/node.cpp \
386386
rpc/net.cpp \
387387
rpc/output_script.cpp \
388388
rpc/rawtransaction.cpp \

src/rpc/misc.cpp renamed to src/rpc/node.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ static RPCHelpMan getindexinfo()
419419
};
420420
}
421421

422-
void RegisterMiscRPCCommands(CRPCTable& t)
422+
void RegisterNodeRPCCommands(CRPCTable& t)
423423
{
424424
static const CRPCCommand commands[]{
425425
{"control", &getmemoryinfo},

src/rpc/register.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ void RegisterBlockchainRPCCommands(CRPCTable &tableRPC);
1313
void RegisterFeeRPCCommands(CRPCTable&);
1414
void RegisterMempoolRPCCommands(CRPCTable&);
1515
void RegisterMiningRPCCommands(CRPCTable &tableRPC);
16-
void RegisterMiscRPCCommands(CRPCTable&);
16+
void RegisterNodeRPCCommands(CRPCTable&);
1717
void RegisterNetRPCCommands(CRPCTable&);
1818
void RegisterOutputScriptRPCCommands(CRPCTable&);
1919
void RegisterRawTransactionRPCCommands(CRPCTable &tableRPC);
@@ -27,7 +27,7 @@ static inline void RegisterAllCoreRPCCommands(CRPCTable &t)
2727
RegisterFeeRPCCommands(t);
2828
RegisterMempoolRPCCommands(t);
2929
RegisterMiningRPCCommands(t);
30-
RegisterMiscRPCCommands(t);
30+
RegisterNodeRPCCommands(t);
3131
RegisterNetRPCCommands(t);
3232
RegisterOutputScriptRPCCommands(t);
3333
RegisterRawTransactionRPCCommands(t);

0 commit comments

Comments
 (0)