diff options
author | Jonas Schnelli <jonas.schnelli@include7.ch> | 2015-06-12 18:31:47 +0200 |
---|---|---|
committer | Jonas Schnelli <jonas.schnelli@include7.ch> | 2015-06-17 21:40:55 +0200 |
commit | 4e36e9bcc7d071bba4c45fd89c0cfd2e2361ffe3 (patch) | |
tree | 2703eacb4f5dd62e6d6bb95193412cbcbf0e8ad5 /src/rpcserver.h | |
parent | 3de24d7647db2b9167cee25549c3c603582e19e6 (diff) |
setban: rewrite to UniValue, allow absolute bantime
Diffstat (limited to 'src/rpcserver.h')
-rw-r--r-- | src/rpcserver.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rpcserver.h b/src/rpcserver.h index 2b3a59a7ba..d08ae72f5c 100644 --- a/src/rpcserver.h +++ b/src/rpcserver.h @@ -154,9 +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 setban(const UniValue& params, bool fHelp); +extern UniValue listbanned(const UniValue& params, bool fHelp); +extern UniValue clearbanned(const UniValue& params, bool fHelp); extern UniValue dumpprivkey(const UniValue& params, bool fHelp); // in rpcdump.cpp extern UniValue importprivkey(const UniValue& params, bool fHelp); |