From 32c0f908cd753f9319909e2f43d2b4657ebaf664 Mon Sep 17 00:00:00 2001 From: Erik de Castro Lopo Date: Sun, 21 Jan 2018 08:44:23 +1100 Subject: Allow the number of incoming connections to be limited It was already possible to limit outgoing connections. One might want to do this on home network connections with high bandwidth but low usage caps. --- src/daemon/command_parser_executor.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/daemon/command_parser_executor.h') diff --git a/src/daemon/command_parser_executor.h b/src/daemon/command_parser_executor.h index 37e900b8f..2c09a4748 100644 --- a/src/daemon/command_parser_executor.h +++ b/src/daemon/command_parser_executor.h @@ -108,7 +108,9 @@ public: bool set_limit_down(const std::vector& args); bool out_peers(const std::vector& args); - + + bool in_peers(const std::vector& args); + bool start_save_graph(const std::vector& args); bool stop_save_graph(const std::vector& args); -- cgit v1.2.3