Settings
Help

Module selector

Module selector 

Source
Expand description

Logic for selecting relays from a network directory, and reporting the outcome of such a selection.

StructsΒ§

FcDisp πŸ”’
Helper to display filter counts
FilterCounts πŸ”’
A list of [FilterCount], associated with a RelaySelector.
RelaySelector
Description of the requirements that a relay must implement in order to be selected.
Restr πŸ”’
A single restriction, along with a flag about whether it’s strict.
SelectionInfo
Information about how a given selection was generated.

FunctionsΒ§

with_possible_relaxation πŸ”’
Re-run relay selection, relaxing our selector as necessary.