diff options
author | brunoerg <brunoely.gc@gmail.com> | 2022-10-21 15:56:18 -0300 |
---|---|---|
committer | brunoerg <brunoely.gc@gmail.com> | 2023-08-02 10:28:28 -0300 |
commit | f52cb02f700b58bca921a7aa24bfeee04760262b (patch) | |
tree | 245128956455ac7b9c2889970d191da86d4cd932 /src/rpc | |
parent | effd1efefb53c58f0e43fec4f019a19f97795553 (diff) |
doc: make it clear that `node` in `addnode` refers to the node's address
Diffstat (limited to 'src/rpc')
-rw-r--r-- | src/rpc/net.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/net.cpp b/src/rpc/net.cpp index da511d1ed9..4a24e772e3 100644 --- a/src/rpc/net.cpp +++ b/src/rpc/net.cpp @@ -287,7 +287,7 @@ static RPCHelpMan addnode() strprintf("Addnode connections are limited to %u at a time", MAX_ADDNODE_CONNECTIONS) + " and are counted separately from the -maxconnections limit.\n", { - {"node", RPCArg::Type::STR, RPCArg::Optional::NO, "The node (see getpeerinfo for nodes)"}, + {"node", RPCArg::Type::STR, RPCArg::Optional::NO, "The address of the peer to connect to"}, {"command", RPCArg::Type::STR, RPCArg::Optional::NO, "'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"}, }, RPCResult{RPCResult::Type::NONE, "", ""}, |