diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-11-23 15:48:10 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-12-16 11:06:16 -0500 |
commit | e56bc1e5de05d9bc6876d91d364d33f0771eb322 (patch) | |
tree | 4e1ee7d05110c44e8d8a4b6ccdfb436d0745b5c3 /src/or/entrynodes.h | |
parent | bce0f79252e12a791c50e9b11ceb5867eeb07559 (diff) | |
download | tor-e56bc1e5de05d9bc6876d91d364d33f0771eb322.tar.gz tor-e56bc1e5de05d9bc6876d91d364d33f0771eb322.zip |
Move the 'dirty' flag for the guards to a global again
It makes more sense to have a single dirty flag, since we always
regenerate the whole state file when we save it.
Diffstat (limited to 'src/or/entrynodes.h')
-rw-r--r-- | src/or/entrynodes.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/or/entrynodes.h b/src/or/entrynodes.h index 285664da18..ec24011377 100644 --- a/src/or/entrynodes.h +++ b/src/or/entrynodes.h @@ -213,16 +213,6 @@ struct guard_selection_s { char *name; /** - * A value of 1 means that guard_selection_t structures have changed - * and those changes need to be flushed to disk. - * - * XXX prop271 we don't know how to flush multiple guard contexts to - * disk yet; fix that as soon as any way to change the default exists, - * or at least make sure this gets set on change. - */ - int dirty; - - /** * A value of 1 means that primary_entry_guards is up-to-date; 0 * means we need to recalculate it before using primary_entry_guards * or the is_primary flag on any guard. |