Skip to content

tor-hsservice: Report the IptManager status

gabi-250 requested to merge gabi-250/arti:ipt-mgr-status into main

The IptManager now reports its status as Recovering (with the latest_error set to IptError::FaultyIpt) if it doesn't have enough good IPTs to publish. Its status is Degraded if it has published some IPTs, but needs to establish more.

Note: unconditionally setting latest_error to IptError::FaultyIpt is not entirely correct. We will need to get the actual errors, if any, from the IptEstablisher.

It also sets the status to Bootstrapping on startup

Closes #1083 (closed)

Merge request reports

Loading