Opened 3 years ago

Closed 3 years ago

#18834 closed defect (wontfix)

non-running relays (running=0) should have a consensus_weight of 0

Reported by: cypherpunks Owned by:
Priority: Medium Milestone:
Component: Metrics/Onionoo Version:
Severity: Normal Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Current state:
there are relays which are not running but have a cw value > 0.

Can we set their cw value to 0?

Was that already the case at some point in the past?

Child Tickets

Change History (1)

comment:1 Changed 3 years ago by karsten

Resolution: wontfix
Status: newclosed

That non-zero consensus weight value is what those relays had when they were last listed in a network status. Setting that value to 0 would remove information that might otherwise still be useful. The same applies to a lot of other fields that we could set to zero when the relay goes offline, but why should we do that? You could always look at both the "running" and the "consensus_weight" field and only consider running relays. Or you could add the parameter running=true to only look at running relays. Closing as won't fix, unless you have another reason for still wanting this change, in which case you should re-open this ticket. Thanks!

Note: See TracTickets for help on using tickets.