[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #29053 [Core Tor/Tor]: Use descriptor structs to deterministically create descriptor dumps
#29053: Use descriptor structs to deterministically create descriptor dumps
------------------------------+------------------------------------------
Reporter: teor | Owner: (none)
Type: enhancement | Status: new
Priority: Medium | Milestone: Tor: unspecified
Component: Core Tor/Tor | Version:
Severity: Normal | Keywords: 041-proposed, technical-debt
Actual Points: | Parent ID: #29017
Points: 2 | Reviewer:
Sponsor: SponsorV-can |
------------------------------+------------------------------------------
We should make router_dump_router_to_string() and
extrainfo_dump_to_string() deterministic transforms of routerinfo_t and
extrainfo_t.
At the moment, these functions access options, internal state, and
statistics files. If all those accesses occurred in
router_build_fresh_unsigned_{router,extra}info() then the dump functions
would be a lot easier to test.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/29053>
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