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.
This commit is contained in:
Nick Mathewson
2018-11-25 10:05:13 -05:00
parent 3741f9e524
commit 36f808c936
6 changed files with 15 additions and 2 deletions
+2
View File
@@ -434,6 +434,8 @@ routerstatus_parse_entry_from_string(memarea_t *area,
rs->is_hs_dir = 1;
} else if (!strcmp(tok->args[i], "V2Dir")) {
rs->is_v2_dir = 1;
} else if (!strcmp(tok->args[i], "StaleDesc")) {
rs->is_staledesc = 1;
}
}
/* These are implied true by having been included in a consensus made