[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #17617 [metrics-lib]: Parse flag thresholds and provide them as double values in BridgeNetworkStatus and RelayNetworkStatusVote
#17617: Parse flag thresholds and provide them as double values in
BridgeNetworkStatus and RelayNetworkStatusVote
-------------------------+-------------------------
Reporter: karsten | Owner: karsten
Type: enhancement | Status: new
Priority: Medium | Milestone:
Component: metrics-lib | Version:
Severity: Normal | Resolution:
Keywords: | Actual Points:
Parent ID: | Points:
Sponsor: |
-------------------------+-------------------------
Comment (by karsten):
Oh, turns we already parse the `"flag-thresholds"` line in votes and
provide its various elements via [https://gitweb.torproject.org/metrics-
lib.git/tree/src/org/torproject/descriptor/RelayNetworkStatusVote.java#n47
separate getters].
We could use the same code for bridge network statuses, ideally by moving
`RelayNetworkStatusVoteImpl.parseFlagThresholdsLine()` to
`NetworkStatusImpl`.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/17617#comment:1>
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