Expand description
Manage a pool of circuits for usage with onion services.
Modulesยง
- config ๐
- Configuration logic for
HsCircPool. - pool ๐
- An internal pool object that we use to implement HsCircPool.
Structsยง
- HsCirc
Pool - An object to provide circuits for implementing onion services.
- HsCirc
Pool ๐Inner - An object to provide circuits for implementing onion services.
- HsCirc
Stem ๐ - A hidden service circuit stem.
- Inner ๐
- The mutable state of an
HsCircPool
Enumsยง
- HsCirc
Kind - The (onion-service-related) purpose for which a given circuit is going to be used.
- HsCirc
Stem ๐Kind - A kind of hidden service circuit stem.
- NoRelay
ForPath ๐Ent - A possible error condition when trying to look up a PathEntry
Traitsยง
- HsCirc
Pool Config - Configuration for an
HsCircPool.
Functionsยง
- circuit_
compatible_ ๐with_ target - Return true if we can extend a pre-built circuit
circtotarget. - circuit_
still_ ๐useable - Return true if we can still use a given pre-build circuit.
- launch_
hs_ ๐circuits_ as_ needed - Background task to launch onion circuits as needed.
- relay_
for_ ๐path_ ent - Look up a relay in a netdir corresponding to
ent - remove_
unusable_ ๐circuits - Background task to remove unusable circuits whenever the directory changes.
- vanguards_
circuit_ ๐compatible_ with_ target - Return true if we can extend a pre-built vanguards circuit
circtotarget.