ascii-chat
Binary v0.16.50-198-g78f51665f
Library lib/v0.3.2-2240-g78f51665f
Video chat in your terminal
Loading...
Searching...
No Matches
election_result_t Struct Reference

Election result storage. More...

Data Fields

uint8_t host_id [SESSION_ID_SIZE]
uint8_t backup_id [SESSION_ID_SIZE]
uint64_t timestamp_ns

Detailed Description

Election result storage.

State machine instance

Election result storage

Definition at line 20 of file state.c.

Field Documentation

◆ backup_id

uint8_t election_result_t::backup_id[SESSION_ID_SIZE]

Elected backup participant ID

Definition at line 22 of file state.c.

Referenced by consensus_state_get_elected_backup(), and consensus_state_store_election().

◆ host_id

uint8_t election_result_t::host_id[SESSION_ID_SIZE]

Elected host participant ID

Definition at line 21 of file state.c.

Referenced by consensus_state_get_elected_host(), and consensus_state_store_election().

◆ timestamp_ns

uint64_t election_result_t::timestamp_ns

Unix ns when elected

Definition at line 23 of file state.c.

Referenced by consensus_state_store_election().


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