mirror of
https://github.com/monero-project/monero.git
synced 2025-05-03 14:34:52 -04:00
print limits when running limit commands with no arguments
It's more user friendly that an error message saying the command does not exist.
This commit is contained in:
parent
2dc1cd9ae6
commit
d8ee0a95c7
5 changed files with 60 additions and 3 deletions
|
@ -119,6 +119,8 @@ class connection_basic { // not-templated base class for rapid developmet of som
|
|||
|
||||
static void set_rate_up_limit(uint64_t limit);
|
||||
static void set_rate_down_limit(uint64_t limit);
|
||||
static uint64_t get_rate_up_limit();
|
||||
static uint64_t get_rate_down_limit();
|
||||
|
||||
// config misc
|
||||
static void set_tos_flag(int tos); // ToS / QoS flag
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue