aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/net.cpp
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2016-12-09 17:06:42 +0000
committerWladimir J. van der Laan <laanwj@gmail.com>2017-01-10 12:04:54 +0100
commit4e7e2e16e4530be31bfc696a08bd3d1265e6f235 (patch)
tree8b0581fd980a79ab4c3351c263f3b19a51b09db8 /src/rpc/net.cpp
parent481f289765fab47ff2e0bd7dfb968f2bd92fd608 (diff)
downloadbitcoin-4e7e2e16e4530be31bfc696a08bd3d1265e6f235.tar.xz
Update RPC argument names
Diffstat (limited to 'src/rpc/net.cpp')
-rw-r--r--src/rpc/net.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/net.cpp b/src/rpc/net.cpp
index 8e64ace9f2..9d89bb2ab6 100644
--- a/src/rpc/net.cpp
+++ b/src/rpc/net.cpp
@@ -471,7 +471,7 @@ UniValue setban(const JSONRPCRequest& request)
"setban \"subnet\" \"add|remove\" (bantime) (absolute)\n"
"\nAttempts add or remove a IP/Subnet from the banned list.\n"
"\nArguments:\n"
- "1. \"subnet\" (string, required) The IP/Subnet (see getpeerinfo for nodes ip) with a optional netmask (default is /32 = single ip)\n"
+ "1. \"subnet\" (string, required) The IP/Subnet (see getpeerinfo for nodes ip) with a optional netmask (default is /32 = single ip)\n"
"2. \"command\" (string, required) 'add' to add a IP/Subnet to the list, 'remove' to remove a IP/Subnet from the list\n"
"3. \"bantime\" (numeric, optional) time in seconds how long (or until when if [absolute] is set) the ip is banned (0 or empty means using the default time of 24h which can also be overwritten by the -bantime startup argument)\n"
"4. \"absolute\" (boolean, optional) If set, the bantime must be a absolute timestamp in seconds since epoch (Jan 1 1970 GMT)\n"