Tor
0.4.7.0-alpha-dev
feature
dircommon
vote_timing_st.h
Go to the documentation of this file.
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 */
6
7
/**
8
* @file vote_timing_st.h
9
* @brief Directory voting schedule structure.
10
**/
11
12
#ifndef VOTE_TIMING_ST_H
13
#define VOTE_TIMING_ST_H
14
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
18
* becoming valid. */
19
int
vote_interval
;
20
/** For how many intervals is a consensus valid? */
21
int
n_intervals_valid
;
22
/** Time in seconds allowed to propagate votes */
23
int
vote_delay
;
24
/** Time in seconds allowed to propagate signatures */
25
int
dist_delay
;
26
};
27
28
#endif
/* !defined(VOTE_TIMING_ST_H) */
vote_timing_t
Definition:
vote_timing_st.h:16
vote_timing_t::n_intervals_valid
int n_intervals_valid
Definition:
vote_timing_st.h:21
vote_timing_t::vote_delay
int vote_delay
Definition:
vote_timing_st.h:23
vote_timing_t::dist_delay
int dist_delay
Definition:
vote_timing_st.h:25
vote_timing_t::vote_interval
int vote_interval
Definition:
vote_timing_st.h:19
Generated by
1.9.1