diff options
author | MaxXor <admin@maxxor.org> | 2017-09-17 21:19:53 +0200 |
---|---|---|
committer | MaxXor <admin@maxxor.org> | 2017-09-19 10:30:55 +0200 |
commit | 2e59f6ea50e50877f1f576266d0f99448d3c22b2 (patch) | |
tree | d9f6114092569035ca17e33cedc651220dc1e3c8 /src/daemon/rpc_command_executor.h | |
parent | Merge pull request #2349 (diff) | |
download | monero-2e59f6ea50e50877f1f576266d0f99448d3c22b2.tar.xz |
rpc: add new RPCs to get and set limits
Diffstat (limited to '')
-rw-r--r-- | src/daemon/rpc_command_executor.h | 6 |
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); |