We have GETINFO ns/all but that only dumps the routerstatus documents from the consensus and not the entire consensus. There is lots of good information in the consensus headers/footers that people are interested in and it should be exposed to the control port.
(This will also need a spec patch)
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items 0
Show closed items
No child items are currently assigned. Use child items to break down this issue into smaller parts.
Linked items 0
Link issues together to show that they're related.
Learn more.
This ticket creates a small reduction in code quality, because it turns a 300-line function into a 320-line function. If you would like to improve code quality, please add a commit that splits the two dir/status-vote/* GETINFOs into their own static function. Otherwise, our reviewer can do that for you, before they approve your pull request.
We also need to update the control-spec, I'll open a child ticket.
(We could do #28982 (moved) instead of this ticket, but that's a much more complex refactor.)
This ticket creates a small reduction in code quality, because it turns a 300-line function into a 320-line function. If you would like to improve code quality, please add a commit that splits the two dir/status-vote/* GETINFOs into their own static function. Otherwise, our reviewer can do that for you, before they approve your pull request.
I will create the static function. I feel the entire function could use some help as I see the if-else blocks having some degree of similarity (my commit creates almost identical blocks, which differ only by a string argument).
Also, I was unaware of the spec. I'll fix that too.