mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-10 01:22:31 -06:00
Add choking_algorithm & seed_choking_algorithm knob
This commit is contained in:
committed by
sledgehammer999
parent
d3b4c7bec4
commit
6f54c170ab
@@ -317,6 +317,10 @@ namespace BitTorrent
|
||||
void setForceProxyEnabled(bool enabled);
|
||||
bool isProxyPeerConnectionsEnabled() const;
|
||||
void setProxyPeerConnectionsEnabled(bool enabled);
|
||||
int chokingAlgorithm() const;
|
||||
void setChokingAlgorithm(int mode);
|
||||
int seedChokingAlgorithm() const;
|
||||
void setSeedChokingAlgorithm(int mode);
|
||||
bool isAddTrackersEnabled() const;
|
||||
void setAddTrackersEnabled(bool enabled);
|
||||
QString additionalTrackers() const;
|
||||
@@ -631,6 +635,8 @@ namespace BitTorrent
|
||||
CachedSettingValue<int> m_encryption;
|
||||
CachedSettingValue<bool> m_isForceProxyEnabled;
|
||||
CachedSettingValue<bool> m_isProxyPeerConnectionsEnabled;
|
||||
CachedSettingValue<int> m_chokingAlgorithm;
|
||||
CachedSettingValue<int> m_seedChokingAlgorithm;
|
||||
CachedSettingValue<QVariantMap> m_storedCategories;
|
||||
CachedSettingValue<QStringList> m_storedTags;
|
||||
CachedSettingValue<int> m_maxRatioAction;
|
||||
|
||||
Reference in New Issue
Block a user