summaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-06-15 12:50:07 -0400
committerNick Mathewson <nickm@torproject.org>2018-06-15 12:50:07 -0400
commitf8794b0b36ad400a228fa3cfd96d7a250632dd29 (patch)
tree1990af25a442c8d368cbcbb9258b313ec3300e27 /src/or/or.h
parent5cdc2343302f8fec9d71a6f1e7ec28befb7379cf (diff)
downloadtor-f8794b0b36ad400a228fa3cfd96d7a250632dd29.tar.gz
tor-f8794b0b36ad400a228fa3cfd96d7a250632dd29.zip
Move vote_schedule into its own header.
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/or/or.h b/src/or/or.h
index d390c47bf0..dd46bfd052 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -3913,18 +3913,7 @@ typedef struct measured_bw_line_t {
/********************************* dirvote.c ************************/
-/** Describes the schedule by which votes should be generated. */
-typedef struct vote_timing_t {
- /** Length in seconds between one consensus becoming valid and the next
- * becoming valid. */
- int vote_interval;
- /** For how many intervals is a consensus valid? */
- int n_intervals_valid;
- /** Time in seconds allowed to propagate votes */
- int vote_delay;
- /** Time in seconds allowed to propagate signatures */
- int dist_delay;
-} vote_timing_t;
+typedef struct vote_timing_t vote_timing_t;
/********************************* geoip.c **************************/