Module tor_netdir::params

source ·
Expand description

Implements a usable view of Tor network parameters.

The Tor consensus document contains a number of ‘network parameters’, which are integer-valued items voted on by the directory authorities. They are used to tune the behavior of numerous aspects of the network. A set of Tor network parameters

The Tor consensus document contains a number of ‘network parameters’, which are integer-valued items voted on by the directory authorities. These parameters are used to tune the behavior of numerous aspects of the network.

This type differs from NetParams in that it only exposes a set of parameters recognized by arti. In return for this restriction, it makes sure that the values it gives are in range, and provides default values for any parameters that are missing.

Structs§

  • This structure holds recognized configuration parameters. All values are type-safe, and where applicable clamped to be within range.

Constants§

Traits§