diff options
author | Jonas Schnelli <jonas.schnelli@include7.ch> | 2015-05-19 10:07:46 +0200 |
---|---|---|
committer | Jonas Schnelli <jonas.schnelli@include7.ch> | 2015-06-17 21:40:55 +0200 |
commit | d930b26a264ed7eae6ce239f3bfb4ff023df8195 (patch) | |
tree | cb7fbc9f01aac0da47b4ff2c67f8045c576ee4c6 /src/rpcserver.cpp | |
parent | 2252fb91cd19832c8baa63a10aaf7ce32bb400f8 (diff) |
[RPC] add setban/listbanned/clearbanned RPC commands
Diffstat (limited to 'src/rpcserver.cpp')
-rw-r--r-- | src/rpcserver.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rpcserver.cpp b/src/rpcserver.cpp index c27bba519a..6d089c6738 100644 --- a/src/rpcserver.cpp +++ b/src/rpcserver.cpp @@ -279,6 +279,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 }, |