moved bandwidth limits to the pgp level

This commit is contained in:
csoler 2016-06-09 20:41:27 -04:00
parent 6b78275677
commit a07805be1d
5 changed files with 223 additions and 33 deletions

View file

@ -118,6 +118,15 @@ class Condition
std::string name;
};
class PeerBandwidthLimits
{
public:
PeerBandwidthLimits() : max_up_rate_kbs(0), max_dl_rate_kbs(0) {}
uint32_t max_up_rate_kbs ;
uint32_t max_dl_rate_kbs ;
};
//class SearchRequest // unused stuff.
//{
// public: