aboutsummaryrefslogtreecommitdiff
path: root/src/rpcserver.h
diff options
context:
space:
mode:
authorJonas Schnelli <[email protected]>2015-06-12 18:31:47 +0200
committerJonas Schnelli <[email protected]>2015-06-17 21:40:55 +0200
commit4e36e9bcc7d071bba4c45fd89c0cfd2e2361ffe3 (patch)
tree2703eacb4f5dd62e6d6bb95193412cbcbf0e8ad5 /src/rpcserver.h
parentrename json field "bannedtill" to "banned_until" (diff)
downloaddiscoin-4e36e9bcc7d071bba4c45fd89c0cfd2e2361ffe3.tar.xz
discoin-4e36e9bcc7d071bba4c45fd89c0cfd2e2361ffe3.zip
setban: rewrite to UniValue, allow absolute bantime
Diffstat (limited to 'src/rpcserver.h')
-rw-r--r--src/rpcserver.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rpcserver.h b/src/rpcserver.h
index 2b3a59a7b..d08ae72f5 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);