mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-01 17:26:12 +00:00
rpc: getrpcinfo docs
Github-Pull: #15754 Rebased-From: f4b7a2f2055fa52d5e02c37bed7b46599b960e2e
This commit is contained in:
parent
164082c822
commit
60d4621975
@ -296,8 +296,20 @@ static UniValue getrpcinfo(const JSONRPCRequest& request)
|
||||
RPCHelpMan{"getrpcinfo",
|
||||
"\nReturns details of the RPC server.\n",
|
||||
{},
|
||||
RPCResults{},
|
||||
RPCExamples{""},
|
||||
RPCResult{
|
||||
"{\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()
|
||||
);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user