summaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2018-04-25 15:10:24 +0300
committerNick Mathewson <nickm@torproject.org>2018-04-27 12:44:54 -0400
commitd00ed406e08942d6539281eb28e875939ee214e5 (patch)
treed9691bdb12dec7f01b9c410f7c7615a9f6058632 /src/or/or.h
parent3bf9974b6c4ee9f2a8204c058e1b7c206b99d620 (diff)
downloadtor-d00ed406e08942d6539281eb28e875939ee214e5.tar.gz
tor-d00ed406e08942d6539281eb28e875939ee214e5.zip
Introduce torrc option NumPrimaryGuards
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h
index c5a039e939..4752743408 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -4148,6 +4148,8 @@ typedef struct {
int NumDirectoryGuards; /**< How many dir guards do we try to establish?
* If 0, use value from NumEntryGuards. */
+ int NumPrimaryGuards; /**< How many primary guards do we want? */
+
int RephistTrackTime; /**< How many seconds do we keep rephist info? */
/** Should we always fetch our dir info on the mirror schedule (which
* means directly from the authorities) no matter our other config? */