File tree Expand file tree Collapse file tree 6 files changed +12
-12
lines changed
Expand file tree Collapse file tree 6 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -2347,6 +2347,8 @@ UniValue dumptxoutset(const JSONRPCRequest& request)
23472347 return result;
23482348}
23492349
2350+ void RegisterBlockchainRPCCommands (CRPCTable &t)
2351+ {
23502352// clang-format off
23512353static const CRPCCommand commands[] =
23522354{ // category name actor (function) argNames
@@ -2387,8 +2389,6 @@ static const CRPCCommand commands[] =
23872389};
23882390// clang-format on
23892391
2390- void RegisterBlockchainRPCCommands (CRPCTable &t)
2391- {
23922392 for (unsigned int vcidx = 0 ; vcidx < ARRAYLEN (commands); vcidx++)
23932393 t.appendCommand (commands[vcidx].name , &commands[vcidx]);
23942394}
Original file line number Diff line number Diff line change @@ -1022,6 +1022,8 @@ static UniValue estimaterawfee(const JSONRPCRequest& request)
10221022 return result;
10231023}
10241024
1025+ void RegisterMiningRPCCommands (CRPCTable &t)
1026+ {
10251027// clang-format off
10261028static const CRPCCommand commands[] =
10271029{ // category name actor (function) argNames
@@ -1043,8 +1045,6 @@ static const CRPCCommand commands[] =
10431045};
10441046// clang-format on
10451047
1046- void RegisterMiningRPCCommands (CRPCTable &t)
1047- {
10481048 for (unsigned int vcidx = 0 ; vcidx < ARRAYLEN (commands); vcidx++)
10491049 t.appendCommand (commands[vcidx].name , &commands[vcidx]);
10501050}
Original file line number Diff line number Diff line change @@ -589,6 +589,8 @@ static UniValue echo(const JSONRPCRequest& request)
589589 return request.params ;
590590}
591591
592+ void RegisterMiscRPCCommands (CRPCTable &t)
593+ {
592594// clang-format off
593595static const CRPCCommand commands[] =
594596{ // category name actor (function) argNames
@@ -610,8 +612,6 @@ static const CRPCCommand commands[] =
610612};
611613// clang-format on
612614
613- void RegisterMiscRPCCommands (CRPCTable &t)
614- {
615615 for (unsigned int vcidx = 0 ; vcidx < ARRAYLEN (commands); vcidx++)
616616 t.appendCommand (commands[vcidx].name , &commands[vcidx]);
617617}
Original file line number Diff line number Diff line change @@ -760,6 +760,8 @@ static UniValue getnodeaddresses(const JSONRPCRequest& request)
760760 return ret;
761761}
762762
763+ void RegisterNetRPCCommands (CRPCTable &t)
764+ {
763765// clang-format off
764766static const CRPCCommand commands[] =
765767{ // category name actor (function) argNames
@@ -780,8 +782,6 @@ static const CRPCCommand commands[] =
780782};
781783// clang-format on
782784
783- void RegisterNetRPCCommands (CRPCTable &t)
784- {
785785 for (unsigned int vcidx = 0 ; vcidx < ARRAYLEN (commands); vcidx++)
786786 t.appendCommand (commands[vcidx].name , &commands[vcidx]);
787787}
Original file line number Diff line number Diff line change @@ -1813,6 +1813,8 @@ UniValue analyzepsbt(const JSONRPCRequest& request)
18131813 return result;
18141814}
18151815
1816+ void RegisterRawTransactionRPCCommands (CRPCTable &t)
1817+ {
18161818// clang-format off
18171819static const CRPCCommand commands[] =
18181820{ // category name actor (function) argNames
@@ -1839,8 +1841,6 @@ static const CRPCCommand commands[] =
18391841};
18401842// clang-format on
18411843
1842- void RegisterRawTransactionRPCCommands (CRPCTable &t)
1843- {
18441844 for (unsigned int vcidx = 0 ; vcidx < ARRAYLEN (commands); vcidx++)
18451845 t.appendCommand (commands[vcidx].name , &commands[vcidx]);
18461846}
Original file line number Diff line number Diff line change @@ -4256,6 +4256,8 @@ UniValue importprunedfunds(const JSONRPCRequest& request);
42564256UniValue removeprunedfunds (const JSONRPCRequest& request);
42574257UniValue importmulti (const JSONRPCRequest& request);
42584258
4259+ void RegisterWalletRPCCommands (interfaces::Chain& chain, std::vector<std::unique_ptr<interfaces::Handler>>& handlers)
4260+ {
42594261// clang-format off
42604262static const CRPCCommand commands[] =
42614263{ // category name actor (function) argNames
@@ -4319,8 +4321,6 @@ static const CRPCCommand commands[] =
43194321};
43204322// clang-format on
43214323
4322- void RegisterWalletRPCCommands (interfaces::Chain& chain, std::vector<std::unique_ptr<interfaces::Handler>>& handlers)
4323- {
43244324 for (unsigned int vcidx = 0 ; vcidx < ARRAYLEN (commands); vcidx++)
43254325 handlers.emplace_back (chain.handleRpc (commands[vcidx]));
43264326}
You can’t perform that action at this time.
0 commit comments