MCPcopy Create free account
hub / github.com/ElementsProject/elements / dumpArgMap

Method dumpArgMap

src/rpc/server.cpp:496–511  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

494}
495
496UniValue 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
513void RPCSetTimerInterfaceIfUnset(RPCTimerInterface *iface)
514{

Callers 1

helpFunction · 0.80

Calls 2

ExecuteCommandsFunction · 0.85
push_backMethod · 0.45

Tested by

no test coverage detected