Available on crate feature
vanguards
only.Expand description
Vanguard sets
Macros§
Structs§
- Time
Bound 🔒Vanguard - An identifier for a time-bound vanguard.
- Vanguard
- A vanguard relay.
- Vanguard
Set 🔒 - A set of vanguards, for use in a particular
Layer
. - Vanguard
Sets 🔒 - The L2 and L3 vanguard sets, stored in the same struct to simplify serialization.
Functions§
- select_
lifetime 🔒 - Randomly select the lifetime of a vanguard from the
max(X,X)
distribution, whereX
is a uniform random value betweenmin_lifetime
andmax_lifetime
.