mirror of
https://github.com/monero-project/monero.git
synced 2025-07-23 13:40:43 -04:00
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.
This commit is contained in:
parent
d609a2c164
commit
32c0f908cd
13 changed files with 205 additions and 40 deletions
|
@ -122,7 +122,9 @@ public:
|
|||
bool set_limit(int64_t limit_down, int64_t limit_up);
|
||||
|
||||
bool out_peers(uint64_t limit);
|
||||
|
||||
|
||||
bool in_peers(uint64_t limit);
|
||||
|
||||
bool start_save_graph();
|
||||
|
||||
bool stop_save_graph();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue