diff options
author | Jon Atack <jon@atack.com> | 2021-04-16 20:06:36 +0200 |
---|---|---|
committer | Jon Atack <jon@atack.com> | 2021-04-16 20:39:27 +0200 |
commit | 2896c6c4cc6d382d8369c037e274c08dd8e32c69 (patch) | |
tree | 95a2bcbc7042444c0441413716b1be6015c3b7ab /src/rpc | |
parent | 585cbe22575306c05b156ea90faa9caa1add4c87 (diff) |
doc: update addnode rpc help
Diffstat (limited to 'src/rpc')
-rw-r--r-- | src/rpc/net.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/rpc/net.cpp b/src/rpc/net.cpp index 337f861903..44bb4a0d60 100644 --- a/src/rpc/net.cpp +++ b/src/rpc/net.cpp @@ -265,7 +265,9 @@ static RPCHelpMan addnode() "\nAttempts to add or remove a node from the addnode list.\n" "Or try a connection to a node once.\n" "Nodes added using addnode (or -connect) are protected from DoS disconnection and are not required to be\n" - "full nodes/support SegWit as other outbound peers are (though such peers will not be synced from).\n", + "full nodes/support SegWit as other outbound peers are (though such peers will not be synced from).\n" + + 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)"}, {"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"}, |