We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8c022e8 + f4b7a2f commit e82f6adCopy full SHA for e82f6ad
src/rpc/server.cpp
@@ -297,8 +297,20 @@ static UniValue getrpcinfo(const JSONRPCRequest& request)
297
RPCHelpMan{"getrpcinfo",
298
"\nReturns details of the RPC server.\n",
299
{},
300
- RPCResults{},
301
- RPCExamples{""},
+ RPCResult{
+ "{\n"
302
+ " \"active_commands\" (array) All active commands\n"
303
+ " [\n"
304
+ " { (object) Information about an active command\n"
305
+ " \"method\" (string) The name of the RPC command \n"
306
+ " \"duration\" (numeric) The running time in microseconds\n"
307
+ " },...\n"
308
+ " ]\n"
309
+ "}\n"
310
+ },
311
+ RPCExamples{
312
+ HelpExampleCli("getrpcinfo", "")
313
+ + HelpExampleRpc("getrpcinfo", "")},
314
}.ToString()
315
);
316
}
0 commit comments