[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #33831 [Core Tor/sbws]: Relays without descriptors are not scaled, but still added to the bwlines without vote=0
#33831: Relays without descriptors are not scaled, but still added to the bwlines
without vote=0
---------------------------------+-----------------------------------
Reporter: juga | Owner: (none)
Type: defect | Status: new
Priority: Medium | Milestone: sbws: 1.1.x-final
Component: Core Tor/sbws | Version: sbws: 1.1.0
Severity: Normal | Resolution:
Keywords: sbws-roadmap, intro | Actual Points:
Parent ID: #33121 | Points: 1
Reviewer: | Sponsor:
---------------------------------+-----------------------------------
Comment (by juga):
What i'd do is to check whether there're descriptor bandwidth values in
https://gitlab.torproject.org/torproject/network-
health/sbws/-/blob/maint-1.1/sbws/lib/v3bwfile.py#L775 and if not, add
something like:
{{{
kwargs['vote'] = 0
kwargs['unmeasured'] = 1
return (cls(node_id, 1, **kwargs), "no descriptors")
}}
without adding a new KeyValue to the header.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/33831#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs