summaryrefslogtreecommitdiff
path: root/src/feature/dirauth/dirvote.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-11-25 10:05:13 -0500
committerNick Mathewson <nickm@torproject.org>2018-11-25 10:05:13 -0500
commit36f808c9364bb2e6781e555697eac977d754e905 (patch)
treee95fc5c5093b1391bd0ca179ffdee492497b385a /src/feature/dirauth/dirvote.c
parent3741f9e524a2d3bd7239ca865d6169fd1e3dddb5 (diff)
downloadtor-36f808c9364bb2e6781e555697eac977d754e905.tar.gz
tor-36f808c9364bb2e6781e555697eac977d754e905.zip
Vote on the StaleDesc flag from prop293
The StaleDesc flag tells relays that they need to upload a new descriptor soon, or they will drop out of the consensus.
Diffstat (limited to 'src/feature/dirauth/dirvote.c')
-rw-r--r--src/feature/dirauth/dirvote.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/feature/dirauth/dirvote.c b/src/feature/dirauth/dirvote.c
index 066a9e6e8a..aa4242f678 100644
--- a/src/feature/dirauth/dirvote.c
+++ b/src/feature/dirauth/dirvote.c
@@ -4620,7 +4620,8 @@ dirserv_generate_networkstatus_vote_obj(crypto_pk_t *private_key,
v3_out->known_flags = smartlist_new();
smartlist_split_string(v3_out->known_flags,
- "Authority Exit Fast Guard Stable V2Dir Valid HSDir",
+ "Authority Exit Fast Guard Stable V2Dir Valid HSDir "
+ "StaleDesc",
0, SPLIT_SKIP_SPACE|SPLIT_IGNORE_BLANK, 0);
if (vote_on_reachability)
smartlist_add_strdup(v3_out->known_flags, "Running");