Data Fields | |
struct RfnKey | key |
struct GNUNET_CONTAINER_MultiHashMap * | rfn_elements |
unsigned int | num_peers |
int * | peer_commited |
Stores, for every peer in the session, whether the peer finished the whole referendum. More... | |
int * | peer_contested |
Contestation state of the peer. More... | |
Definition at line 339 of file gnunet-service-consensus.c.
struct RfnKey ReferendumEntry::key |
Definition at line 341 of file gnunet-service-consensus.c.
Referenced by gnunet-chk.Chk::__init__(), gnunet-chk.AESKey::__init__(), put_rfn(), rfn_majority(), task_start_grade(), task_start_reconcile(), and gnunet-chk.Chk::uri().
struct GNUNET_CONTAINER_MultiHashMap* ReferendumEntry::rfn_elements |
Definition at line 349 of file gnunet-service-consensus.c.
Referenced by rfn_create(), rfn_vote(), task_start_apply_round(), task_start_eval_echo(), and task_start_grade().
unsigned int ReferendumEntry::num_peers |
Definition at line 351 of file gnunet-service-consensus.c.
Referenced by rfn_create(), rfn_majority(), rfn_noncontested(), and rfn_vote().
int* ReferendumEntry::peer_commited |
Stores, for every peer in the session, whether the peer finished the whole referendum.
Votes from peers are only counted if they're marked as committed (GNUNET_YES) in the referendum.
Otherwise (GNUNET_NO), the requested changes are not counted for majority votes or thresholds.
Definition at line 363 of file gnunet-service-consensus.c.
Referenced by rfn_commit(), rfn_create(), rfn_majority(), and rfn_noncontested().
int* ReferendumEntry::peer_contested |
Contestation state of the peer.
If a peer is contested, the values it contributed are still counted for applying changes, but the grading is affected.
Definition at line 371 of file gnunet-service-consensus.c.
Referenced by rfn_contest(), rfn_create(), and rfn_noncontested().