aboutsummaryrefslogtreecommitdiff
path: root/src/feature/nodelist/routerstatus_st.h
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/nodelist/routerstatus_st.h
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/nodelist/routerstatus_st.h')
-rw-r--r--src/feature/nodelist/routerstatus_st.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/feature/nodelist/routerstatus_st.h b/src/feature/nodelist/routerstatus_st.h
index 714aa27435..ea06587799 100644
--- a/src/feature/nodelist/routerstatus_st.h
+++ b/src/feature/nodelist/routerstatus_st.h
@@ -47,6 +47,8 @@ struct routerstatus_t {
unsigned int is_v2_dir:1; /** True iff this router publishes an open DirPort
* or it claims to accept tunnelled dir requests.
*/
+ unsigned int is_staledesc:1; /** True iff the authorities think this router
+ * should upload a new descriptor soon. */
unsigned int has_bandwidth:1; /**< The vote/consensus had bw info */
unsigned int has_exitsummary:1; /**< The vote/consensus had exit summaries */