diff options
Diffstat (limited to 'src/consensus/consensus_protocol.h')
-rw-r--r-- | src/consensus/consensus_protocol.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/consensus/consensus_protocol.h b/src/consensus/consensus_protocol.h index 161c939cd..43b6a9632 100644 --- a/src/consensus/consensus_protocol.h +++ b/src/consensus/consensus_protocol.h | |||
@@ -89,6 +89,12 @@ struct GNUNET_CONSENSUS_RoundContextMessage | |||
89 | }; | 89 | }; |
90 | 90 | ||
91 | 91 | ||
92 | enum { | ||
93 | CONSENSUS_MARKER_CONTESTED, | ||
94 | CONSENSUS_MARKER_SIZE, | ||
95 | }; | ||
96 | |||
97 | |||
92 | /** | 98 | /** |
93 | * Consensus element, either marker or payload. | 99 | * Consensus element, either marker or payload. |
94 | */ | 100 | */ |
@@ -103,7 +109,7 @@ struct ConsensusElement | |||
103 | /** | 109 | /** |
104 | * Is this a marker element? | 110 | * Is this a marker element? |
105 | */ | 111 | */ |
106 | uint8_t is_contested_marker; | 112 | uint8_t marker; |
107 | 113 | ||
108 | /* rest: element data */ | 114 | /* rest: element data */ |
109 | }; | 115 | }; |