1 /* Copyright (c) 2001 Matej Pfajfar.
2 * Copyright (c) 2001-2004, Roger Dingledine.
3 * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
4 * Copyright (c) 2007-2021, The Tor Project, Inc. */
5 /* See LICENSE for licensing information */
8 * @file vote_timing_st.h
9 * @brief Directory voting schedule structure.
12 #ifndef VOTE_TIMING_ST_H
13 #define VOTE_TIMING_ST_H
15 /** Describes the schedule by which votes should be generated. */
16 struct vote_timing_t
{
17 /** Length in seconds between one consensus becoming valid and the next
20 /** For how many intervals is a consensus valid? */
21 int n_intervals_valid
;
22 /** Time in seconds allowed to propagate votes */
24 /** Time in seconds allowed to propagate signatures */
28 #endif /* !defined(VOTE_TIMING_ST_H) */