summaryrefslogtreecommitdiff
path: root/src/or/voting_schedule.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/voting_schedule.h')
-rw-r--r--src/or/voting_schedule.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/voting_schedule.h b/src/or/voting_schedule.h
index 4f9d584031..087701408e 100644
--- a/src/or/voting_schedule.h
+++ b/src/or/voting_schedule.h
@@ -43,6 +43,10 @@ typedef struct {
* timings only for the first vote even though this object was initilized
* prior to voting. */
int created_on_demand;
+
+ /** The valid-after time of the last live consensus that filled this voting
+ * schedule. It's used to detect outdated voting schedules. */
+ time_t live_consensus_valid_after;
} voting_schedule_t;
/* Public API. */