Expand description
Implement a cache for onion descriptors and the facility to remember a bit about onion service history.
Structsยง
- Config
- Configuration, currently just some retry parameters
- Services ๐
- Hidden services;, our connections to them, and history of connections, etc.
- Table
Index ๐
Enumsยง
- Service
State ๐ - Value in the
Servicesdata structure
Constantsยง
- MAX_
RECHECKS ๐ - Number of times weโre willing to iterate round the state machine loop
- RETAIN_
CIRCUIT_ ๐AFTER_ LAST_ USE - C Tor
MaxCircuitDirtiness - RETAIN_
DATA_ ๐AFTER_ LAST_ USE - How long to retain cached data about a hidden service
Traitsยง
- HsClient
Connector Config - Configuration for an HS client connector
- Mockable
Connector Data - Mocking for actual HS connection work, to let us test the
Servicesstate machine
Functionsยง
- obtain_
circuit_ ๐or_ continuation_ info - Obtain a circuit from the
Servicestable, or return a continuation
Type Aliasesยง
- Continuation ๐
- โContinuationโ return type from
obtain_circuit_or_continuation_info - Service
Record ๐ - Entry in the 2nd-level lookup array