aboutsummaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorLinus Nordberg <linus@torproject.org>2013-10-07 09:28:44 +0200
committerLinus Nordberg <linus@torproject.org>2013-10-07 13:33:42 +0200
commitfab8fd2c18491440b37b71e140e23e6091bbbe32 (patch)
tree0f7c12555eb55061ad2dec59d65a742d95c2f67f /src/or/or.h
parenta6b4934037d1308e91e12378b739a2742591a40d (diff)
downloadtor-fab8fd2c18491440b37b71e140e23e6091bbbe32.tar.gz
tor-fab8fd2c18491440b37b71e140e23e6091bbbe32.zip
Add TestingDirAuthVoteGuard option for specifying relays to vote Guard on.
Addresses ticket 9206.
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h
index adb4adf112..2f0f9eb6ef 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -4065,6 +4065,10 @@ typedef struct {
/** Minimum value for the Fast flag threshold on testing networks. */
uint64_t TestingMinFastFlagThreshold;
+ /** Relays in a testing network which should be voted Guard
+ * regardless of uptime and bandwidth. */
+ routerset_t *TestingDirAuthVoteGuard;
+
/** If true, and we have GeoIP data, and we're a bridge, keep a per-country
* count of how many client addresses have contacted us so that we can help
* the bridge authority guess which countries have blocked access to us. */