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 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 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.

◆ have_built_consensus

int have_built_consensus

True iff we have built a consensus and sent the signatures around.

Definition at line 34 of file voting_schedule.h.

◆ have_fetched_missing_signatures

int have_fetched_missing_signatures

True iff we've fetched missing signatures.

Definition at line 36 of file voting_schedule.h.

◆ have_fetched_missing_votes

int have_fetched_missing_votes

True iff we've requested missing votes.

Definition at line 32 of file voting_schedule.h.

◆ have_published_consensus

int have_published_consensus

True iff we have published our consensus.

Definition at line 38 of file voting_schedule.h.

◆ have_voted

int have_voted

True iff we have generated and distributed our vote.

Definition at line 30 of file voting_schedule.h.

◆ interval_starts

time_t interval_starts

When do we publish the consensus?

Definition at line 27 of file voting_schedule.h.

◆ live_consensus_valid_after

time_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_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_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: