New RPC command disconnectnode

This commit is contained in:
Alex van der Peet
2015-06-11 20:20:54 -07:00
committed by Jack Grigg
parent 6699b42518
commit 94ee48c42a
4 changed files with 25 additions and 0 deletions

View File

@@ -280,6 +280,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 },