Expand description
IPT Manager
Maintains introduction points and publishes descriptors. Provides a stream of rendezvous requests.
See IptManager::run_once for discussion of the implementation approach.
Re-exportsยง
pub use crate::ipt_establish::IptError;
Modulesยง
- persist ๐
- Persistent state for the IPT manager
Structsยง
- Immutable ๐
- Immutable contents of an IPT Manager
- Ipt ๐
- One introduction point, representation in memory
- IptExpect
Existing ๐Keys - Token telling
Ipt::start_establisherto expect existing keys in the keystore - IptManager ๐
- IPT Manager (for one hidden service)
- IptRelay ๐
- One selected relay, at which we are establishing (or relavantly advertised) IPTs
- IsCurrent ๐
- Token indicating that this introduction point is current (not Retiring)
- Promise
Last ๐Descriptor Expiry None IsGood - Token, representing promise by caller of
start_establisher - Real ๐
- Mockable state in an IPT Manager - real version
- State ๐
- State of an IPT Manager
Enumsยง
- Choose
IptError ๐ - An error that happened while trying to select a relay
- Create
IptError ๐ - An error that happened while trying to crate an IPT (at a selected relay)
- Tracked
Status ๐ - Last information from establisher about an IPT, with timing info added by us
Constantsยง
- IPT_
PUBLISH_ ๐CERTAIN - Expiry time to put on a final descriptor (IPT publication set Certain
- IPT_
PUBLISH_ ๐UNCERTAIN - Expiry time to put on an interim descriptor (IPT publication set Uncertain)
Traitsยง
- Mockable ๐
- Mockable state for the IPT Manager
Type Aliasesยง
- Erased
IptEstablisher ๐ - Type-erased version of
Box<IptEstablisher>