aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/rpc_command_executor.h
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-10-02 23:15:22 +0400
committerRiccardo Spagni <ric@spagni.net>2017-10-02 23:15:22 +0400
commit3bf20a77f2fd183f89abf595dd43de7c098d6d28 (patch)
tree4c3af706259fb6c1c68242c8b1f7ecb64484a900 /src/daemon/rpc_command_executor.h
parentMerge pull request #2467 (diff)
parentrpc: add new RPCs to get and set limits (diff)
downloadmonero-3bf20a77f2fd183f89abf595dd43de7c098d6d28.tar.xz
Merge pull request #2470
2e59f6ea rpc: add new RPCs to get and set limits (MaxXor)
Diffstat (limited to 'src/daemon/rpc_command_executor.h')
-rw-r--r--src/daemon/rpc_command_executor.h6
1 files changed, 1 insertions, 5 deletions
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);