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

@@ -63,6 +63,7 @@ enum RPCErrorCode
RPC_CLIENT_IN_INITIAL_DOWNLOAD = -10, //! Still downloading initial blocks
RPC_CLIENT_NODE_ALREADY_ADDED = -23, //! Node is already added
RPC_CLIENT_NODE_NOT_ADDED = -24, //! Node has not been added before
RPC_CLIENT_NODE_NOT_CONNECTED = -29, //! Node to disconnect not found in connected nodes
//! Wallet errors
RPC_WALLET_ERROR = -4, //! Unspecified problem with wallet (key not found etc.)