| 494 | } |
| 495 | |
| 496 | UniValue CRPCTable::dumpArgMap(const JSONRPCRequest& args_request) const |
| 497 | { |
| 498 | JSONRPCRequest request = args_request; |
| 499 | request.mode = JSONRPCRequest::GET_ARGS; |
| 500 | |
| 501 | UniValue ret{UniValue::VARR}; |
| 502 | for (const auto& cmd : mapCommands) { |
| 503 | UniValue result; |
| 504 | if (ExecuteCommands(cmd.second, request, result)) { |
| 505 | for (const auto& values : result.getValues()) { |
| 506 | ret.push_back(values); |
| 507 | } |
| 508 | } |
| 509 | } |
| 510 | return ret; |
| 511 | } |
| 512 | |
| 513 | void RPCSetTimerInterfaceIfUnset(RPCTimerInterface *iface) |
| 514 | { |
no test coverage detected