GNUnet 0.21.1
TaskKey Struct Reference

Tuple of integers that together identify a task uniquely. More...

Data Fields

uint16_t kind
 A value from 'enum PhaseKind'. More...
 
int16_t peer1
 Number of the first peer in canonical order. More...
 
int16_t peer2
 Number of the second peer in canonical order. More...
 
int16_t repetition
 Repetition of the gradecast phase. More...
 
int16_t leader
 Leader in the gradecast phase. More...
 

Detailed Description

Tuple of integers that together identify a task uniquely.

Definition at line 115 of file gnunet-service-consensus.c.

Field Documentation

◆ kind

uint16_t TaskKey::kind

A value from 'enum PhaseKind'.

Definition at line 120 of file gnunet-service-consensus.c.

Referenced by commit_set(), set_result_cb(), and task_start_reconcile().

◆ peer1

int16_t TaskKey::peer1

Number of the first peer in canonical order.

Definition at line 126 of file gnunet-service-consensus.c.

Referenced by set_listen_cb(), task_other_peer(), and task_start_reconcile().

◆ peer2

int16_t TaskKey::peer2

Number of the second peer in canonical order.

Definition at line 131 of file gnunet-service-consensus.c.

Referenced by set_listen_cb(), task_other_peer(), and task_start_reconcile().

◆ repetition

int16_t TaskKey::repetition

Repetition of the gradecast phase.

Definition at line 136 of file gnunet-service-consensus.c.

Referenced by task_start_apply_round(), task_start_eval_echo(), task_start_grade(), and task_start_reconcile().

◆ leader

int16_t TaskKey::leader

Leader in the gradecast phase.

Can be different from both peer1 and peer2.

Definition at line 143 of file gnunet-service-consensus.c.

Referenced by task_start_eval_echo(), task_start_grade(), and task_start_reconcile().


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