Skip to main content

Module family

Module family 

Source
Expand description

Implements the relay ‘family’ type.

Families are opt-in lists of relays with the same operators, used to avoid building insecure circuits.

Structs§

RelayFamily
Information about a relay family.
RelayFamilyIds
A list of multiple RelayFamilyId entries as found in microdescs.

Enums§

RelayFamilyId
An identifier representing a relay family.

Constants§

ED25519_ID_PREFIX 🔒
Prefix for a RelayFamilyId derived from an ed25519 KP_familyid_ed.

Statics§

FAMILY_CACHE 🔒
Cache of RelayFamily objects, for saving memory. This only holds weak references to the policy objects, so we don’t need to worry about running out of space because of stale entries.