MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / dumpArgMap

Method dumpArgMap

src/rpc/server.cpp:527–542  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

525}
526
527UniValue 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
544CRPCTable tableRPC;

Callers 1

helpFunction · 0.80

Calls 2

ExecuteCommandsFunction · 0.85
push_backMethod · 0.45

Tested by

no test coverage detected