Browse Source

Update rpcnet.cpp

pull/4/head
J-Stuhlman 8 years ago
committed by GitHub
parent
commit
582e35b3c9
  1. 6
      src/rpcnet.cpp

6
src/rpcnet.cpp

@ -180,8 +180,8 @@ Value addnode(const Array& params, bool fHelp)
"1. \"node\" (string, required) The node (see getpeerinfo for nodes)\n"
"2. \"command\" (string, required) 'add' to add a node to the list, 'remove' to remove a node from the list, 'onetry' to try a connection to the node once\n"
"\nExamples:\n"
+ HelpExampleCli("addnode", "\"192.168.0.6:8233\" \"onetry\"")
+ HelpExampleRpc("addnode", "\"192.168.0.6:8233\", \"onetry\"")
+ HelpExampleCli("addnode", "\"192.168.0.6:8888\" \"onetry\"")
+ HelpExampleRpc("addnode", "\"192.168.0.6:8888\", \"onetry\"")
);
string strNode = params[0].get_str();
@ -234,7 +234,7 @@ Value getaddednodeinfo(const Array& params, bool fHelp)
" \"connected\" : true|false, (boolean) If connected\n"
" \"addresses\" : [\n"
" {\n"
" \"address\" : \"192.168.0.201:8233\", (string) The bitcoin server host and port\n"
" \"address\" : \"192.168.0.201:8888\", (string) The bitcoin server host and port\n"
" \"connected\" : \"outbound\" (string) connection, inbound or outbound\n"
" }\n"
" ,...\n"

Loading…
Cancel
Save