aboutsummaryrefslogtreecommitdiff
path: root/src/rpc
diff options
context:
space:
mode:
authorGregory Maxwell <greg@xiph.org>2016-12-11 20:26:06 +0000
committerGregory Maxwell <greg@xiph.org>2017-01-05 19:02:15 +0000
commit032ba3f0665432bd15ff76ee01cde245ad29e3e6 (patch)
tree40de7c5b7d216b82f3d6a7dea9cf59528c164d72 /src/rpc
parent90f13e18228fde2e62de1c7d9b4b7e12a703bf03 (diff)
RPC help documentation for addnode peerinfo.
Also adds a comment about the netgroup exclusion behavior.
Diffstat (limited to 'src/rpc')
-rw-r--r--src/rpc/net.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rpc/net.cpp b/src/rpc/net.cpp
index fe59579593..2af00c1de9 100644
--- a/src/rpc/net.cpp
+++ b/src/rpc/net.cpp
@@ -92,6 +92,7 @@ UniValue getpeerinfo(const JSONRPCRequest& request)
" \"version\": v, (numeric) The peer version, such as 7001\n"
" \"subver\": \"/Satoshi:0.8.5/\", (string) The string version\n"
" \"inbound\": true|false, (boolean) Inbound (true) or Outbound (false)\n"
+ " \"addnode\": true|false, (boolean) Whether connection was due to addnode and is using an addnode slot\n"
" \"startingheight\": n, (numeric) The starting height (block) of the peer\n"
" \"banscore\": n, (numeric) The ban score\n"
" \"synced_headers\": n, (numeric) The last header we have in common with this peer\n"