| 525 | } |
| 526 | |
| 527 | UniValue CRPCTable::dumpArgMap(const JSONRPCRequest& args_request) const |
| 528 | { |
| 529 | JSONRPCRequest request = args_request; |
| 530 | request.mode = JSONRPCRequest::GET_ARGS; |
| 531 | |
| 532 | UniValue ret{UniValue::VARR}; |
| 533 | for (const auto& cmd : mapCommands) { |
| 534 | UniValue result; |
| 535 | if (ExecuteCommands(cmd.second, request, result)) { |
| 536 | for (const auto& values : result.getValues()) { |
| 537 | ret.push_back(values); |
| 538 | } |
| 539 | } |
| 540 | } |
| 541 | return ret; |
| 542 | } |
| 543 | |
| 544 | CRPCTable tableRPC; |
no test coverage detected