Function tor_circmgr::hspool::circuit_still_useable
source ยท fn circuit_still_useable<F>(
netdir: &NetDir,
circ: &HsCircStub,
relay_okay: F
) -> bool
Available on crate feature
hs-common
only.Expand description
Return true if we can still use a given pre-build circuit.
We require that the circuit is open, that every hop in the circuit is
listed in netdir
, and that relay_okay
returns true for every hop on the
circuit.