[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #12538 [Tor]: Make all relays automatically be dir caches
#12538: Make all relays automatically be dir caches
-------------------------+-------------------------------------------------
Reporter: | Owner:
cypherpunks | Status: needs_review
Type: task | Milestone: Tor: 0.2.6.x-final
Priority: normal | Version: Tor: unspecified
Component: Tor | Keywords: tor-guard, tor-relay, prop237
Resolution: | 026-triaged-1
Actual Points: | Parent ID:
Points: |
-------------------------+-------------------------------------------------
Comment (by sysrqb):
Replying to [comment:22 nickm]:
> >Alternatively I can...
>
> Making them STATIC seems like a fine idea to me, if the goal is to be
able to call them from the unit tests. That's what STATIC is for, after
all.
Great, done. Pushed bug12538_prop_squash_3 which squashed the changed into
the original commits and rebases on current master. I should also mention
I ifdefs a new function networkstatus_set_current_consensus_from_ns in
networkstatus on TOR_UNIT_TESTS. It's a bit of a hack which allows setting
the global current_consensus without trying to fetch new descriptors at
the end. Let me know if there's a better way to do this.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/12538#comment:23>
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