ascii-chat 0.8.38
Real-time terminal-based video chat with ASCII art conversion
Loading...
Searching...
No Matches
election_result_t Struct Reference

Election result storage. More...

Data Fields

uint8_t host_id [16]
 
uint8_t backup_id [16]
 
uint64_t timestamp_ns
 

Detailed Description

Election result storage.

Definition at line 15 of file state.c.

Field Documentation

◆ backup_id

uint8_t election_result_t::backup_id[16]

Elected backup participant ID

Definition at line 17 of file state.c.

Referenced by consensus_state_compute_election(), and consensus_state_get_elected_backup().

◆ host_id

uint8_t election_result_t::host_id[16]

Elected host participant ID

Definition at line 16 of file state.c.

Referenced by consensus_state_compute_election(), and consensus_state_get_elected_host().

◆ timestamp_ns

uint64_t election_result_t::timestamp_ns

Unix ns when elected

Definition at line 18 of file state.c.

Referenced by consensus_state_compute_election().


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