Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #29715

Closed
Open
Created Mar 10, 2019 by juga @juga

Change documentation about RouterStatusEntryV3 bandwidth to specify that unit is kilobytes

In https://github.com/torproject/stem/blob/master/stem/descriptor/router_status_entry.py#L553 it says that it is unit-less, but i think it is not completely right. Tor code uses kilobytes: https://github.com/torproject/tor/blob/master/src/feature/dirauth/bwauth.c#L191, https://github.com/torproject/torspec/blob/master/dir-spec.txt#L2387, https://github.com/torproject/tor/blob/master/src/feature/dirauth/dirvote.c#L2303. sbws and Torflow also divide by 1000 after scaling (which changes orders of magnitude): https://github.com/torproject/sbws/blob/master/sbws/lib/v3bwfile.py#L175

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking