[tor-bugs] #17617 [metrics-lib]: Parse flag thresholds and provide them as double values in BridgeNetworkStatus and RelayNetworkStatusVote
Tor Bug Tracker & Wiki
blackhole at torproject.org
Sat Nov 21 07:56:43 UTC 2015
#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
More information about the tor-bugs
mailing list