aboutsummaryrefslogtreecommitdiff
path: root/src/consensus/consensus_protocol.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/consensus/consensus_protocol.h')
-rw-r--r--src/consensus/consensus_protocol.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/consensus/consensus_protocol.h b/src/consensus/consensus_protocol.h
index 43b6a9632..fa445dc2e 100644
--- a/src/consensus/consensus_protocol.h
+++ b/src/consensus/consensus_protocol.h
@@ -90,8 +90,8 @@ struct GNUNET_CONSENSUS_RoundContextMessage
90 90
91 91
92enum { 92enum {
93 CONSENSUS_MARKER_CONTESTED, 93 CONSENSUS_MARKER_CONTESTED = 1,
94 CONSENSUS_MARKER_SIZE, 94 CONSENSUS_MARKER_SIZE = 2,
95}; 95};
96 96
97 97
@@ -115,6 +115,15 @@ struct ConsensusElement
115}; 115};
116 116
117 117
118struct ConsensusSizeElement
119{
120 struct ConsensusElement ce GNUNET_PACKED;
121
122 uint64_t size GNUNET_PACKED;
123 uint8_t sender_index;
124};
125
126
118GNUNET_NETWORK_STRUCT_END 127GNUNET_NETWORK_STRUCT_END
119 128
120#endif 129#endif