[tor-bugs] #6872 [Tor Client]: 'bwweightscale' pram missing from spec
Tor Bug Tracker & Wiki
torproject-admin at torproject.org
Mon Sep 17 01:07:11 UTC 2012
#6872: 'bwweightscale' pram missing from spec
------------------------+---------------------------------------------------
Reporter: atagar | Owner:
Type: defect | Status: new
Priority: trivial | Milestone:
Component: Tor Client | Version:
Keywords: | Parent:
Points: | Actualpoints:
------------------------+---------------------------------------------------
The 'bandwidth-weights' attribute mentions that its values are divided by
the 'bwweightscale' param which defaults to 10000 (I'm not sure what
meaning "BW_WEIGHT_SCALE" has - guess it's the name of the constant in
tor's codebase?)...
https://gitweb.torproject.org/torspec.git/blob/HEAD:/dir-spec.txt#l1482
The network status document's "params" section should include
'bwweightscale' and the default value.
https://gitweb.torproject.org/torspec.git/blob/HEAD:/dir-spec.txt#l1228
On a side note it's pointless for 'bandwidth-weights' to say that the
entries are sorted. The above shows the order that entries must appear in.
I'm assuming that new "Wxx=" values are invalid since the spec explicitly
lists what it contains and makes no allowances for new ones. If this is
incorrect then we should fix that too.
Cheers! -Damian
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/6872>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list