SuggestMode

Enumerated values for the integer settings that select an algorithm or mode: port of the small enums nested in settings_pack (settings_pack.hpp). These are plain Int constants because the settings store keeps everything as Int; the values match libtorrent's enumerators exactly (note the deliberate gaps, e.g. ChokingAlgorithm.RATE_BASED_CHOKER is 2, not 1).

Properties

Link copied to clipboard
const val NO_PIECE_SUGGESTIONS: Int = 0

suggest_mode_t::no_piece_suggestions: never send suggest messages.

Link copied to clipboard
const val SUGGEST_READ_CACHE: Int = 1

suggest_mode_t::suggest_read_cache: suggest the most recent read-cache pieces.