[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #1757 [Tor Client]: Microdescriptors: abstract the notion of "Tor node" in the code
#1757: Microdescriptors: abstract the notion of "Tor node" in the code
------------------------+---------------------------------------------------
Reporter: nickm | Owner: nickm
Type: task | Status: accepted
Priority: normal | Milestone: Deliverable-Sep2010
Component: Tor Client | Version:
Keywords: | Parent: #1748
------------------------+---------------------------------------------------
Changes (by nickm):
* owner: => nickm
* status: new => accepted
Comment:
Revised plan and status (~~strikethrough~~ means "done"):
* ~~Add node_t as a wrapper around routerinfo_t, and routerstatus_t. A
node_t is "A node we could use in a circuit."~~
* ~~Have node_ts exist whenever we have a routerstatus_t in our favored
consensus, or a routerinfo_t.~~
* ~~Move mutable flags and other fields from routerinfo_t into node_t.~~
* DO NOT move document-management flags from routerinfo_t into node_t
* Make is_foo flags in routerstatus_t as immutable as we can.
* ~~identity what changes~~
* Make it not change. (It's just is_running!)
* When making decisions about what nodes to use, base them on node_t.
This should simplify the choose-a-node code a little.
* ~~Change the code to use node_t~~
* Make it all compile (doing now)
* Implement missing node-based functions
* Misc glue
* Families
* Policies
* Add a microdesc_t backend for node_t. If we've designed it right, this
is easy. (Doing as I go along.)
If you want to kibbitz, have a look at branch "nodes" in my public. I
will rebase it a lot, though, so do not get too attached to it. No, it
does not compile atm.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/1757#comment:5>
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