Merge #15754: rpc: getrpcinfo docs
f4b7a2f205
rpc: getrpcinfo docs (Ben Carman) Pull request description: Fixes #15731 ACKs for commit f4b7a2: laanwj: utACKf4b7a2f205
Tree-SHA512: 45dce83c4bfac2ddf85133a29aee332e9de8f73c15438ce899a2edbcd0d82d4f743753f6699c50cbc62d110fa8c6bc257722447e1090cdd23acbe00f26014ec8
This commit is contained in:
commit
e82f6ad6f2
1 changed files with 14 additions and 2 deletions
|
@ -297,8 +297,20 @@ static UniValue getrpcinfo(const JSONRPCRequest& request)
|
||||||
RPCHelpMan{"getrpcinfo",
|
RPCHelpMan{"getrpcinfo",
|
||||||
"\nReturns details of the RPC server.\n",
|
"\nReturns details of the RPC server.\n",
|
||||||
{},
|
{},
|
||||||
RPCResults{},
|
RPCResult{
|
||||||
RPCExamples{""},
|
"{\n"
|
||||||
|
" \"active_commands\" (array) All active commands\n"
|
||||||
|
" [\n"
|
||||||
|
" { (object) Information about an active command\n"
|
||||||
|
" \"method\" (string) The name of the RPC command \n"
|
||||||
|
" \"duration\" (numeric) The running time in microseconds\n"
|
||||||
|
" },...\n"
|
||||||
|
" ]\n"
|
||||||
|
"}\n"
|
||||||
|
},
|
||||||
|
RPCExamples{
|
||||||
|
HelpExampleCli("getrpcinfo", "")
|
||||||
|
+ HelpExampleRpc("getrpcinfo", "")},
|
||||||
}.ToString()
|
}.ToString()
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue