Data Fields
voting_schedule_t Struct Reference

#include <voting_schedule.h>

Data Fields

time_t voting_starts
time_t fetch_missing_votes
time_t voting_ends
time_t fetch_missing_signatures
time_t interval_starts
int have_voted
int have_fetched_missing_votes
int have_built_consensus
int have_fetched_missing_signatures
int have_published_consensus
int created_on_demand
time_t live_consensus_valid_after

Detailed Description

Scheduling information for a voting interval.

Definition at line 15 of file voting_schedule.h.

Field Documentation

◆ fetch_missing_signatures

time_t voting_schedule_t::fetch_missing_signatures

When do we send an HTTP request for any signatures we're expecting to see on the consensus?

Definition at line 25 of file voting_schedule.h.

◆ fetch_missing_votes

time_t voting_schedule_t::fetch_missing_votes

When do we send an HTTP request for any votes that we haven't been posted yet?

Definition at line 20 of file voting_schedule.h.

◆ interval_starts

time_t voting_schedule_t::interval_starts

When do we publish the consensus?

Definition at line 27 of file voting_schedule.h.

◆ live_consensus_valid_after

time_t voting_schedule_t::live_consensus_valid_after

The valid-after time of the last live consensus that filled this voting schedule. It's used to detect outdated voting schedules.

Definition at line 49 of file voting_schedule.h.

◆ voting_ends

time_t voting_schedule_t::voting_ends

When do we give up on getting more votes and generate a consensus?

Definition at line 22 of file voting_schedule.h.

◆ voting_starts

time_t voting_schedule_t::voting_starts

When do we generate and distribute our vote for this interval?

Definition at line 17 of file voting_schedule.h.

The documentation for this struct was generated from the following file: