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
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