From 8dc6048c02806e8d30740c5a2a0dd11476909ce4 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Mon, 21 Nov 2016 17:02:51 -0500 Subject: Add an (as yet) unused UseDeprecatedGuardAlgorithm_ option. I expect we'll be ripping this out somewhere in 0.3.0, but let's keep it around for a little while in case it turns out to be the only way to avert disaster? --- src/or/or.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/or/or.h') diff --git a/src/or/or.h b/src/or/or.h index eb0025d100..8282731eea 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -4579,6 +4579,14 @@ typedef struct { /** If 1, we skip all OOS checks. */ int DisableOOSCheck; + + /** If 1, we use the old (pre-prop271) guard selection algorithm. + * + * XXXX prop271 This option is only here as a stopgap while we're + * XXXX tuning and debugging the new (post-prop271) algorithm. Eventually + * we should remove it entirely. + */ + int UseDeprecatedGuardAlgorithm; } or_options_t; /** Persistent state for an onion router, as saved to disk. */ -- cgit v1.2.3-54-g00ecf