aboutsummaryrefslogtreecommitdiff
path: root/src/app/config/or_options_st.h
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2021-07-12 11:45:31 +0300
committerGeorge Kadianakis <desnacked@riseup.net>2021-07-12 12:22:58 +0300
commit7f701794e7d8ce5cb4feb0b6fb1d4b00b68e5c5b (patch)
tree5560f9a1325cf33e5007cddca9857391e6955b2e /src/app/config/or_options_st.h
parent7ec9a68477d3c5b6937fa39445dc6b95415abb39 (diff)
downloadtor-7f701794e7d8ce5cb4feb0b6fb1d4b00b68e5c5b.tar.gz
tor-7f701794e7d8ce5cb4feb0b6fb1d4b00b68e5c5b.zip
Add a switch to toggle the feature on/off
Diffstat (limited to 'src/app/config/or_options_st.h')
-rw-r--r--src/app/config/or_options_st.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/app/config/or_options_st.h b/src/app/config/or_options_st.h
index b289865983..812fa92cae 100644
--- a/src/app/config/or_options_st.h
+++ b/src/app/config/or_options_st.h
@@ -594,6 +594,9 @@ struct or_options_t {
* If 0, use value from NumEntryGuards. */
int NumPrimaryGuards; /**< How many primary guards do we want? */
+ /** Boolean: Switch to toggle the vanguards-lite subsystem */
+ int VanguardsLiteEnabled;
+
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? */