Module set

Source
Available on crate feature vanguards only.
Expand description

Vanguard sets

Macros§

derive_deftly_driver_VanguardSets 🔒

Structs§

TimeBoundVanguard 🔒
An identifier for a time-bound vanguard.
Vanguard
A vanguard relay.
VanguardSet 🔒
A set of vanguards, for use in a particular Layer.
VanguardSets 🔒
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, where X is a uniform random value between min_lifetime and max_lifetime.