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

Ring topology for consensus participants. More...

Data Fields

uint8_t participant_ids [64][16]
 Participant UUIDs in sorted order.
 
int num_participants
 Total number of participants.
 
int my_position
 My index in the sorted list.
 

Detailed Description

Ring topology for consensus participants.

Maintains a sorted list of participant IDs for ring-based consensus algorithms and leader election.

Definition at line 17 of file topology.c.

Field Documentation

◆ my_position

int consensus_topology::my_position

◆ num_participants

int consensus_topology::num_participants

◆ participant_ids

uint8_t consensus_topology::participant_ids[64][16]

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