GNUnet  0.11.x
Data Fields
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 71 of file gnunet-service-consensus.c.

Field Documentation

◆ kind

uint16_t TaskKey::kind

A value from 'enum PhaseKind'.

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

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

◆ peer1

int16_t TaskKey::peer1

Number of the first peer in canonical order.

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

Referenced by diffname(), 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 87 of file gnunet-service-consensus.c.

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

◆ repetition

int16_t TaskKey::repetition

Repetition of the gradecast phase.

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

Referenced by diffname(), 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 99 of file gnunet-service-consensus.c.

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


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