Module vanguards

Source
Available on crate features hs-common and vanguards only.
Expand description

This module provides the PathBuilder helper for building vanguard TorPaths.

Structs§

PathBuilder 🔒
A vanguard path builder.

Enums§

HopKind 🔒
The type of a PathBuilder hop.

Functions§

exclude_identities 🔒
Build a RelayExclusion that excludes the specified relays.
exclude_neighbors 🔒
Create a RelayExclusion suitable for selecting the next hop to add to hops.
select_middle_for_vanguard_circ 🔒
Select a middle relay that can be appended to a vanguard circuit.
selector_excluding_neighbors 🔒
Extend the selector T to also exclude neighbors, based on hops.