aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/rpc_command_executor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemon/rpc_command_executor.h')
-rw-r--r--src/daemon/rpc_command_executor.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/daemon/rpc_command_executor.h b/src/daemon/rpc_command_executor.h
index 778b73acb..95c5624fa 100644
--- a/src/daemon/rpc_command_executor.h
+++ b/src/daemon/rpc_command_executor.h
@@ -124,6 +124,12 @@ public:
bool stop_save_graph();
bool hard_fork_info(uint8_t version);
+
+ bool print_bans();
+
+ bool ban(const std::string &ip, time_t seconds);
+
+ bool unban(const std::string &ip);
};
} // namespace daemonize