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