Module fallback

Source
Expand description

List of directories that ships with Tor, for initial directory operations.

When a client doesn’t have directory information yet, it uses a “Fallback Directory” to retrieve its initial information about the network.

§Semver note

The types in this module are re-exported from arti-client and tor-dirmgr: any changes here must be reflected there.

Modules§

set 🔒
Declare the FallbackState type, which is used to store a set of FallbackDir.

Structs§

FallbackDir
A directory whose location ships with Tor (or arti), and which we can use for bootstrapping when we don’t know anything else about the network.
FallbackDirBuilder
Builder for FallbackDir.
FallbackList
A list of fallback directories.
FallbackListBuilder
Wrapper struct to help derive_builder find the right types and methods

Functions§

default_fallbacks 🔒
Return a list of the default fallback directories shipped with arti.