GNUnet is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published
- by the Free Software Foundation; either version 2, or (at your
+ by the Free Software Foundation; either version 3, or (at your
option) any later version.
GNUnet is distributed in the hope that it will be useful, but
GNUNET_NETWORK_STRUCT_BEGIN
-struct StrataMessage
+/**
+ * Sent as context message for set reconciliation.
+ */
+struct GNUNET_CONSENSUS_RoundContextMessage
{
- struct GNUNET_MessageHeader header;
/**
- * Number of strata in this estimator.
+ * Type: GNUNET_MESSAGE_TYPE_CONSENSUS_P2P_ROUND_CONTEXT
*/
- uint16_t num_strata;
- /* struct GNUNET_HashCode hash_buckets[ibf_size*num_strata] */
- /* struct GNUNET_HashCode id_buckets[ibf_size*num_strata] */
- /* uint8_t count_buckets[ibf_size*num_strata] */
-};
-
-struct DifferenceDigest
-{
struct GNUNET_MessageHeader header;
- uint8_t order;
- uint8_t round;
+ uint32_t round;
+ uint32_t exp_round;
+ uint32_t exp_subround;
};
-struct Element
-{
- struct GNUNET_MessageHeader header;
- struct GNUNET_HashCode hash;
-};
-
-struct ConsensusHello
-{
- struct GNUNET_MessageHeader header;
- struct GNUNET_HashCode global_id;
- uint8_t round;
-};
-
-
GNUNET_NETWORK_STRUCT_END
#endif