[RPC] add setban/listbanned/clearbanned RPC commands

This commit is contained in:
Jonas Schnelli
2015-05-19 10:07:46 +02:00
committed by Jack Grigg
parent 997829713c
commit ed3f13a057
4 changed files with 96 additions and 0 deletions

View File

@@ -286,6 +286,9 @@ static const CRPCCommand vRPCCommands[] =
{ "network", "getnettotals", &getnettotals, true },
{ "network", "getpeerinfo", &getpeerinfo, true },
{ "network", "ping", &ping, true },
{ "network", "setban", &setban, true },
{ "network", "listbanned", &listbanned, true },
{ "network", "clearbanned", &clearbanned, true },
/* Block chain and UTXO */
{ "blockchain", "getblockchaininfo", &getblockchaininfo, true },