aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/command_parser_executor.h
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2015-11-30 00:16:32 +0200
committerRiccardo Spagni <ric@spagni.net>2015-11-30 00:16:34 +0200
commita2d1e5a82cdc67f3b84ef476a08fb0f4da047ab1 (patch)
treeed35b91ab9e9b6a90e612cfe1ad42d54ce1d5321 /src/daemon/command_parser_executor.h
parentMerge pull request #501 (diff)
parentadd RPC calls and commands to get/set bans (diff)
downloadmonero-a2d1e5a82cdc67f3b84ef476a08fb0f4da047ab1.tar.xz
Merge pull request #502
38ceb73 add RPC calls and commands to get/set bans (moneromooo-monero) 7bc4dce net_node: allow bans for custom amounts of time (moneromooo-monero)
Diffstat (limited to 'src/daemon/command_parser_executor.h')
-rw-r--r--src/daemon/command_parser_executor.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/daemon/command_parser_executor.h b/src/daemon/command_parser_executor.h
index f00fbd77e..0c042cd5d 100644
--- a/src/daemon/command_parser_executor.h
+++ b/src/daemon/command_parser_executor.h
@@ -106,6 +106,12 @@ public:
bool stop_save_graph(const std::vector<std::string>& args);
bool hard_fork_info(const std::vector<std::string>& args);
+
+ bool show_bans(const std::vector<std::string>& args);
+
+ bool ban(const std::vector<std::string>& args);
+
+ bool unban(const std::vector<std::string>& args);
};
} // namespace daemonize