aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/net.cpp
diff options
context:
space:
mode:
authorMatt Corallo <git@bluematt.me>2017-10-06 17:27:04 -0400
committerMatt Corallo <git@bluematt.me>2017-10-13 13:29:25 -0400
commit5ee88b4bdefecbf03b6883b2a6b56a44ec75167d (patch)
tree093fe0d84f75f41f72fd37352de7cb4903255405 /src/rpc/net.cpp
parent57edc0b0c86549020a39cd65f96496e9771c4769 (diff)
downloadbitcoin-5ee88b4bdefecbf03b6883b2a6b56a44ec75167d.tar.xz
Clarify docs for requirements/handling of addnode/connect nodes
Diffstat (limited to 'src/rpc/net.cpp')
-rw-r--r--src/rpc/net.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rpc/net.cpp b/src/rpc/net.cpp
index 076fe260bc..8fb8328c5e 100644
--- a/src/rpc/net.cpp
+++ b/src/rpc/net.cpp
@@ -201,6 +201,8 @@ UniValue addnode(const JSONRPCRequest& request)
"addnode \"node\" \"add|remove|onetry\"\n"
"\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"
"\nArguments:\n"
"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"