[pytorctl/master] 8273 - Remove Fast Flag requirement for measurements

commit e6c7fd73e75456ea216402ff21faa2cc31e4c603 Author: aagbsn <aagbsn@extc.org> Date: Sat Mar 2 10:18:05 2013 +0100 8273 - Remove Fast Flag requirement for measurements --- PathSupport.py | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/PathSupport.py b/PathSupport.py index 1e17e48..c9c5ee1 100644 --- a/PathSupport.py +++ b/PathSupport.py @@ -1076,8 +1076,8 @@ class SelectionManager(BaseSelectionManager): self.path_rstr = PathRestrictionList( [Subnet16Restriction(), UniqueRestriction()]) - if self.use_guards: entry_flags = ["Guard", "Running", "Fast"] - else: entry_flags = ["Running", "Fast"] + if self.use_guards: entry_flags = ["Guard", "Running"] + else: entry_flags = ["Running"] if self.restrict_guards_only: nonentry_skip = 0 @@ -1105,7 +1105,7 @@ class SelectionManager(BaseSelectionManager): OrNodeRestriction( [FlagsRestriction(["BadExit"]), ConserveExitsRestriction(self.exit_ports)]), - FlagsRestriction(["Running","Fast"], [])] + FlagsRestriction(["Running"], [])] ) @@ -1115,11 +1115,11 @@ class SelectionManager(BaseSelectionManager): self.exit_rstr = NodeRestrictionList([IdHexRestriction(self.exit_id)]) elif self.use_all_exits: self.exit_rstr = NodeRestrictionList( - [FlagsRestriction(["Running","Fast"], ["BadExit"])]) + [FlagsRestriction(["Running"], ["BadExit"])]) else: self.exit_rstr = NodeRestrictionList( [PctRstr(nonentry_skip, nonentry_fast, sorted_r), - FlagsRestriction(["Running","Fast"], ["BadExit"])]) + FlagsRestriction(["Running"], ["BadExit"])]) if self.extra_node_rstr: entry_rstr.add_restriction(self.extra_node_rstr)
participants (1)
-
aagbsn@torproject.org