GNUnet  0.11.x
Data Fields
GNUNET_CONSENSUS_JoinMessage Struct Reference

Sent by the client to the service, when the client wants the service to join a consensus session. More...

#include </home/handbook/gnunet/src/consensus/consensus.h>

Collaboration diagram for GNUNET_CONSENSUS_JoinMessage:
[legend]

Data Fields

struct GNUNET_MessageHeader header
 Type: GNUNET_MESSAGE_TYPE_CONSENSUS_CLIENT_JOIN. More...
 
uint32_t num_peers
 Number of peers (at the end of this message) that want to participate in the consensus. More...
 
struct GNUNET_HashCode session_id
 Session id of the consensus. More...
 
struct GNUNET_TIME_AbsoluteNBO start
 Start time for the consensus. More...
 
struct GNUNET_TIME_AbsoluteNBO deadline
 Deadline for conclude. More...
 

Detailed Description

Sent by the client to the service, when the client wants the service to join a consensus session.

Definition at line 37 of file consensus.h.

Field Documentation

◆ header

struct GNUNET_MessageHeader GNUNET_CONSENSUS_JoinMessage::header

Type: GNUNET_MESSAGE_TYPE_CONSENSUS_CLIENT_JOIN.

Definition at line 42 of file consensus.h.

Referenced by check_client_join().

◆ num_peers

uint32_t GNUNET_CONSENSUS_JoinMessage::num_peers

Number of peers (at the end of this message) that want to participate in the consensus.

Definition at line 48 of file consensus.h.

Referenced by check_client_join(), GNUNET_CONSENSUS_create(), and initialize_session_peer_list().

◆ session_id

struct GNUNET_HashCode GNUNET_CONSENSUS_JoinMessage::session_id

Session id of the consensus.

Definition at line 53 of file consensus.h.

Referenced by GNUNET_CONSENSUS_create(), and handle_client_join().

◆ start

struct GNUNET_TIME_AbsoluteNBO GNUNET_CONSENSUS_JoinMessage::start

Start time for the consensus.

Definition at line 58 of file consensus.h.

Referenced by GNUNET_CONSENSUS_create(), and handle_client_join().

◆ deadline

struct GNUNET_TIME_AbsoluteNBO GNUNET_CONSENSUS_JoinMessage::deadline

Deadline for conclude.

Definition at line 63 of file consensus.h.

Referenced by GNUNET_CONSENSUS_create(), and handle_client_join().


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