summaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-07-13 16:55:06 -0400
committerNick Mathewson <nickm@torproject.org>2017-07-13 16:55:06 -0400
commit66a564fad8a99a21bd6cda6a70982858376b78e9 (patch)
tree54d124cdfe5e6e3b92b22e61c3dde02440888361 /src/or/or.h
parentec29cae8d7e97d652a87d753d93e4289e5a0ed26 (diff)
parent66258f8878abe6323c56bcf0b20796e1c43d66fc (diff)
downloadtor-66a564fad8a99a21bd6cda6a70982858376b78e9.tar.gz
tor-66a564fad8a99a21bd6cda6a70982858376b78e9.zip
Merge branch 'maint-0.3.1'
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 996a7700b5..f6c42b7a99 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -4579,6 +4579,11 @@ typedef struct {
/** Bool (default: 0): Tells if a %include was used on torrc */
int IncludeUsed;
+
+ /** The seconds after expiration which we as a relay should keep old
+ * consensuses around so that we can generate diffs from them. If 0,
+ * use the default. */
+ int MaxConsensusAgeForDiffs;
} or_options_t;
/** Persistent state for an onion router, as saved to disk. */