Expand description
Implement a cache for onion descriptors and the facility to remember a bit about onion service history.
Structs§
- Circuit
Expiry 🔒Task - Represents a task which is waiting to see when the circuit needs to be expired
- 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
Services
data 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
Services
state machine
Functions§
- obtain_
circuit_ 🔒or_ continuation_ info - Obtain a circuit from the
Services
table, 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