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.h | |
parent | 2252fb91cd19832c8baa63a10aaf7ce32bb400f8 (diff) |
[RPC] add setban/listbanned/clearbanned RPC commands
Diffstat (limited to 'src/rpcserver.h')
-rw-r--r-- | src/rpcserver.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rpcserver.h b/src/rpcserver.h index fdd871d0b0..2b3a59a7ba 100644 --- a/src/rpcserver.h +++ b/src/rpcserver.h @@ -154,6 +154,9 @@ extern UniValue addnode(const UniValue& params, bool fHelp); extern UniValue disconnectnode(const UniValue& params, bool fHelp); extern UniValue getaddednodeinfo(const UniValue& params, bool fHelp); extern UniValue getnettotals(const UniValue& params, bool fHelp); +extern UniValue setban(const json_spirit::Array& params, bool fHelp); +extern UniValue listbanned(const json_spirit::Array& params, bool fHelp); +extern UniValue clearbanned(const json_spirit::Array& params, bool fHelp); extern UniValue dumpprivkey(const UniValue& params, bool fHelp); // in rpcdump.cpp extern UniValue importprivkey(const UniValue& params, bool fHelp); |