remove encryption, add strategy

This commit is contained in:
yourok
2020-03-07 21:18:27 +03:00
parent 61b4c48b7a
commit c411024ede

View File

@@ -37,12 +37,13 @@ type Settings struct {
DisableUPNP bool
DisableDHT bool
DisableUpload bool
Encryption int // 0 - Enable, 1 - disable, 2 - force
//Encryption int // 0 - Enable, 1 - disable, 2 - force
DownloadRateLimit int // in kb, 0 - inf
UploadRateLimit int // in kb, 0 - inf
ConnectionsLimit int
DhtConnectionLimit int // 0 - inf
PeersListenPort int
PeerStrategy int // 0 - Timeout, 1 - Fastest, 2 - Fuzzing
TorrentDisconnectTimeout int // in seconds
}