rpc: getrpcinfo docs
This commit is contained in:
parent
c83442e174
commit
f4b7a2f205
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