aboutsummaryrefslogtreecommitdiff
path: root/src/rpcserver.cpp
diff options
context:
space:
mode:
authorAlex van der Peet <alex.van.der.peet@gmail.com>2015-06-11 20:20:54 -0700
committerWladimir J. van der Laan <laanwj@gmail.com>2015-06-16 14:19:41 +0200
commit60dbe730164552128d9b79b5120b4b5e9d456bbb (patch)
tree7f1e33dfa8e8b2c06318a9c110e3342b5f2b4f4b /src/rpcserver.cpp
parenta903ad7e9cafb73f65dc78601dbef1c3c7b4fe0f (diff)
New RPC command disconnectnode
Diffstat (limited to 'src/rpcserver.cpp')
-rw-r--r--src/rpcserver.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rpcserver.cpp b/src/rpcserver.cpp
index 3894dd08bb..c27bba519a 100644
--- a/src/rpcserver.cpp
+++ b/src/rpcserver.cpp
@@ -273,6 +273,7 @@ static const CRPCCommand vRPCCommands[] =
/* P2P networking */
{ "network", "getnetworkinfo", &getnetworkinfo, true },
{ "network", "addnode", &addnode, true },
+ { "network", "disconnectnode", &disconnectnode, true },
{ "network", "getaddednodeinfo", &getaddednodeinfo, true },
{ "network", "getconnectioncount", &getconnectioncount, true },
{ "network", "getnettotals", &getnettotals, true },