Skip to main content

Module ipt_mgr

Module ipt_mgr 

Source
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
IptExpectExistingKeys ๐Ÿ”’
Token telling Ipt::start_establisher to 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)
PromiseLastDescriptorExpiryNoneIsGood ๐Ÿ”’
Token, representing promise by caller of start_establisher
Real ๐Ÿ”’
Mockable state in an IPT Manager - real version
State ๐Ÿ”’
State of an IPT Manager

Enumsยง

ChooseIptError ๐Ÿ”’
An error that happened while trying to select a relay
CreateIptError ๐Ÿ”’
An error that happened while trying to crate an IPT (at a selected relay)
TrackedStatus ๐Ÿ”’
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ยง

ErasedIptEstablisher ๐Ÿ”’
Type-erased version of Box<IptEstablisher>