New RPC command disconnectnode

This commit is contained in:
Alex van der Peet
2015-06-11 20:20:54 -07:00
committed by Wladimir J. van der Laan
parent a903ad7e9c
commit 60dbe73016
4 changed files with 25 additions and 0 deletions

View File

@@ -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 },