aboutsummaryrefslogtreecommitdiff
path: root/src/p2p/network_throttle.hpp (follow)
AgeCommit message (Collapse)AuthorFilesLines
2017-12-16move connection_basic and network_throttle from src/p2p to epeemoneromooo-monero1-176/+0
These even had the epee namespace. This fixes some ugly circular dependencies.
2017-11-28Corrections in rate limiting / trottle code, especially in 'out' directionrbrunner71-2/+2
Deleted 3 out of 4 calls to method connection_basic::sleep_before_packet that were erroneous / superfluous, which enabled the elimination of a "fudge" factor of 2.1 in connection_basic::set_rate_up_limit; also ended the multiplying of limit values and numbers of bytes transferred by 1024 before handing them over to the global throttle objects
2017-08-07Merge pull request #2234Riccardo Spagni1-2/+2
214fd81e some include cleanup (moneromooo-monero)
2017-08-01network_throttle: remove unneeded heap allocationsmoneromooo-monero1-7/+0
This will keep leak traces less noisy, as those were one off allocations that were technically leaking.
2017-07-31some include cleanupmoneromooo-monero1-2/+2
2017-02-21update copyright year, fix occasional lack of newline at line endRiccardo Spagni1-1/+1
2017-01-22Remove boost/foreach.cpp includesMiguel Herranz1-1/+0
2016-03-11Use boost::thread instead of std::threadHoward Chu1-6/+6
and all other associated IPC
2015-12-31updated copyright yearRiccardo Spagni1-1/+1
2015-05-31cleaning up, removing redundant files, renaming, fixing incorrect licensesRiccardo Spagni1-2/+1
2015-05-17s/terget/target/moneromooo-monero1-1/+1
2015-02-202014 network limit 1.1 +utils +toc -doc -drmonerorfree2monero1-5/+3
Update of the PR with network limits works very well for all speeds (but remember that low download speed can stop upload because we then slow down downloading of blockchain requests too) more debug options fixed pedantic warnings in our code should work again on Mac OS X and FreeBSD fixed warning about size_t tested on Debian, Ubuntu, Windows(testing now) TCP options and ToS (QoS) flag FIXED peer number limit FIXED some spikes in ingress/download FIXED problems when other up and down limit
2015-02-202014 network limit 1.0a +utils +toc -doc -drmonerorfree2monero1-0/+187
commands and options for network limiting works very well e.g. for 50 KiB/sec up and down ToS (QoS) flag peer number limit TODO some spikes in ingress/download TODO problems when other up and down limit added "otshell utils" - simple logging (with colors, text files channels)