From 2e59f6ea50e50877f1f576266d0f99448d3c22b2 Mon Sep 17 00:00:00 2001 From: MaxXor Date: Sun, 17 Sep 2017 21:19:53 +0200 Subject: rpc: add new RPCs to get and set limits --- src/daemon/rpc_command_executor.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/daemon/rpc_command_executor.h') diff --git a/src/daemon/rpc_command_executor.h b/src/daemon/rpc_command_executor.h index fc0b39654..d79707a6f 100644 --- a/src/daemon/rpc_command_executor.h +++ b/src/daemon/rpc_command_executor.h @@ -119,11 +119,7 @@ public: bool get_limit_down(); - bool set_limit(int limit); - - bool set_limit_up(int limit); - - bool set_limit_down(int limit); + bool set_limit(int64_t limit_down, int64_t limit_up); bool out_peers(uint64_t limit); -- cgit v1.2.3