aboutsummaryrefslogtreecommitdiff
path: root/contrib/otshell_utils/lib_common1.hpp (follow)
AgeCommit message (Collapse)AuthorFilesLines
2016-03-11Use boost::thread instead of std::threadHoward Chu1-4/+5
and all other associated IPC
2015-02-202014 network limit 1.2 +utils +toc -doc -drmonerorfree2monero1-0/+1
new update of the pr with network limits more debug options: discarding downloaded blocks all or after given height. trying to trigger the locking errors. debug levels polished/tuned to sane values. debug/logging improved. warning: this pr should be correct code, but it could make an existing (in master version) locking error appear more often. it's a race on the list (map) of peers, e.g. between closing/deleting them versus working on them in net-limit sleep in sending chunk. the bug is not in this code/this pr, but in the master version. the locking problem of master will be fixed in other pr. problem is ub, and in practice is seems to usually cause program abort (tested on debian stable with updated gcc). see --help for option to add sleep to trigger the error faster.
2015-02-202014 network limit 1.0a +utils +toc -doc -drmonerorfree2monero1-0/+51
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)