[tor-bugs] #27248 [Core Tor/Tor]: Can we make our node-related structures more efficient?
Tor Bug Tracker & Wiki
blackhole at torproject.org
Wed Aug 22 00:57:07 UTC 2018
#27248: Can we make our node-related structures more efficient?
-------------------------------------------------+-------------------------
Reporter: nickm | Owner: (none)
Type: defect | Status: new
Priority: Medium | Milestone: Tor:
| 0.3.5.x-final
Component: Core Tor/Tor | Version:
Severity: Normal | Resolution:
Keywords: 035-roadmap-master, 035-triaged- | Actual Points:
in-20180711 |
Parent ID: #27243 | Points:
Reviewer: | Sponsor:
-------------------------------------------------+-------------------------
Comment (by teor):
We can:
* use microdesc_t, routerstatus_t, and routerinfo_t to fill in the fields
in the node, and
* remove microdesc_t, routerstatus_t, and routerinfo_t from the node.
If we only have one canonical location for node data, we will:
* save a lot of RAM, and
* fix some of the bugs that come from having inconsistent data in the
node, microdesc, routerstatus, and routerinfo.
But when UseMicrodescriptors changes, we'll have to re-parse the other
consensus flavour and descriptors. That's probably ok.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/27248#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list