rpc: getrpcinfo docs
Github-Pull: #15754 Rebased-From: f4b7a2f2055fa52d5e02c37bed7b46599b960e2e
This commit is contained in:
+14
-2
@@ -296,8 +296,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()
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user