Skip to content

Show progress towards flags on consensus health

Relay operators often ask us why they don't have a particular flag. For example: https://lists.torproject.org/pipermail/tor-relays/2020-March/018253.html

When a relay doesn't have a flag, we could show relay operators how close their relay is to getting that flag. Showing progress would also help us diagnose hard-to-find bugs in tor.

This could be a project that we do in stages.

Here's a sketch of the flag-thresholds and per-relay vote data we'd need:

Fast:

  • bandwidth
    • w Measured
      • (what happens for relays that aren't measured?)
    • fast-speed

Stable:

  • uptime
    • add an uptime line to votes in tor
    • stable-uptime
  • mtbf
    • add a mtbf line to votes in tor
    • stable-mtbf
  • show both uptime and mtbf fractions

Guard:

  • needs Fast
  • needs Stable
  • wfu - same as uptime?
    • add a wfu line to votes in tor
    • guard-wfu
  • tk - what is this?
    • add a tk line to votes in tor
    • guard-tk
  • is there a bandwidth or mtbf requirement for guards?
  • show wfu and tk fractions
  • show if it needs Fast and Stable - are these flags implied by wfu and tk?