Sent as context message for set reconciliation. More...
Data Fields | |
struct GNUNET_MessageHeader | header |
Type: GNUNET_MESSAGE_TYPE_CONSENSUS_P2P_ROUND_CONTEXT. More... | |
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... | |
uint16_t | is_contested |
Non-zero if this set reconciliation had elements removed because they were contested. More... | |
Sent as context message for set reconciliation.
Essentially contains all the fields from 'struct TaskKey', but in NBO.
Definition at line 45 of file consensus_protocol.h.
struct GNUNET_MessageHeader GNUNET_CONSENSUS_RoundContextMessage::header |
Type: GNUNET_MESSAGE_TYPE_CONSENSUS_P2P_ROUND_CONTEXT.
Definition at line 50 of file consensus_protocol.h.
Referenced by task_start_reconcile().
uint16_t GNUNET_CONSENSUS_RoundContextMessage::kind |
A value from 'enum PhaseKind'.
Definition at line 55 of file consensus_protocol.h.
Referenced by set_listen_cb(), and task_start_reconcile().
int16_t GNUNET_CONSENSUS_RoundContextMessage::peer1 |
Number of the first peer in canonical order.
Definition at line 61 of file consensus_protocol.h.
Referenced by set_listen_cb(), and task_start_reconcile().
int16_t GNUNET_CONSENSUS_RoundContextMessage::peer2 |
Number of the second peer in canonical order.
Definition at line 66 of file consensus_protocol.h.
Referenced by set_listen_cb(), and task_start_reconcile().
int16_t GNUNET_CONSENSUS_RoundContextMessage::repetition |
Repetition of the gradecast phase.
Definition at line 71 of file consensus_protocol.h.
Referenced by set_listen_cb(), and task_start_reconcile().
int16_t GNUNET_CONSENSUS_RoundContextMessage::leader |
Leader in the gradecast phase.
Can be different from both peer1 and peer2.
Definition at line 78 of file consensus_protocol.h.
Referenced by set_listen_cb(), and task_start_reconcile().
uint16_t GNUNET_CONSENSUS_RoundContextMessage::is_contested |
Non-zero if this set reconciliation had elements removed because they were contested.
Will be considered when grading broadcasts.
Ignored for set operations that are not within gradecasts.
Definition at line 88 of file consensus_protocol.h.
Referenced by task_start_reconcile().