|
|
@ -29,7 +29,7 @@ UniValue getconnectioncount(const UniValue& params, bool fHelp) |
|
|
|
throw runtime_error( |
|
|
|
throw runtime_error( |
|
|
|
"getconnectioncount\n" |
|
|
|
"getconnectioncount\n" |
|
|
|
"\nReturns the number of connections to other nodes.\n" |
|
|
|
"\nReturns the number of connections to other nodes.\n" |
|
|
|
"\nbResult:\n" |
|
|
|
"\nResult:\n" |
|
|
|
"n (numeric) The connection count\n" |
|
|
|
"n (numeric) The connection count\n" |
|
|
|
"\nExamples:\n" |
|
|
|
"\nExamples:\n" |
|
|
|
+ HelpExampleCli("getconnectioncount", "") |
|
|
|
+ HelpExampleCli("getconnectioncount", "") |
|
|
@ -83,7 +83,7 @@ UniValue getpeerinfo(const UniValue& params, bool fHelp) |
|
|
|
throw runtime_error( |
|
|
|
throw runtime_error( |
|
|
|
"getpeerinfo\n" |
|
|
|
"getpeerinfo\n" |
|
|
|
"\nReturns data about each connected network node as a json array of objects.\n" |
|
|
|
"\nReturns data about each connected network node as a json array of objects.\n" |
|
|
|
"\nbResult:\n" |
|
|
|
"\nResult:\n" |
|
|
|
"[\n" |
|
|
|
"[\n" |
|
|
|
" {\n" |
|
|
|
" {\n" |
|
|
|
" \"id\": n, (numeric) Peer index\n" |
|
|
|
" \"id\": n, (numeric) Peer index\n" |
|
|
|