Module tor_hsclient::state
source ยท Expand description
Implement a cache for onion descriptors and the facility to remember a bit about onion service history.
Structsยง
- CircuitExpiryTask ๐Represents a task which is waiting to see when the circuit needs to be expired
- Configuration, currently just some retry parameters
- Services ๐Hidden services;, our connections to them, and history of connections, etc.
- TableIndex ๐
Enumsยง
- ServiceState ๐Value in the
Services
data structure
Constantsยง
- MAX_RECHECKS ๐Number of times weโre willing to iterate round the state machine loop
- C Tor
MaxCircuitDirtiness
- How long to retain cached data about a hidden service
Traitsยง
- Configuration for an HS client connector
- Mocking for actual HS connection work, to let us test the
Services
state machine
Functionsยง
- Obtain a circuit from the
Services
table, or return a continuation
Type Aliasesยง
- Continuation ๐โContinuationโ return type from
obtain_circuit_or_continuation_info
- ServiceRecord ๐Entry in the 2nd-level lookup array