diff options
author | Florian Dold <florian.dold@gmail.com> | 2017-02-26 23:05:29 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2017-02-26 23:06:05 +0100 |
commit | e2b2ab728217a64027232c7b8fbbb68ba13edd4a (patch) | |
tree | 69caa7c21703f2eabe9a1ec12ef7d07ac58b0728 /src/include | |
parent | 8d7c29c4684f807d5e9a3004bbbab132b158c5aa (diff) | |
download | gnunet-e2b2ab728217a64027232c7b8fbbb68ba13edd4a.tar.gz gnunet-e2b2ab728217a64027232c7b8fbbb68ba13edd4a.zip |
wrap consensus elements in block type
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/gnunet_block_lib.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/include/gnunet_block_lib.h b/src/include/gnunet_block_lib.h index a40f33699..3e36f11f0 100644 --- a/src/include/gnunet_block_lib.h +++ b/src/include/gnunet_block_lib.h | |||
@@ -119,7 +119,19 @@ enum GNUNET_BLOCK_Type | |||
119 | /** | 119 | /** |
120 | * Block to store a cadet regex accepting state | 120 | * Block to store a cadet regex accepting state |
121 | */ | 121 | */ |
122 | GNUNET_BLOCK_TYPE_REGEX_ACCEPT = 23 | 122 | GNUNET_BLOCK_TYPE_REGEX_ACCEPT = 23, |
123 | |||
124 | /** | ||
125 | * Block for testing set/consensus. If first byte of the block | ||
126 | * is non-zero, the block is considered invalid. | ||
127 | */ | ||
128 | GNUNET_BLOCK_TYPE_SET_TEST = 24, | ||
129 | |||
130 | /** | ||
131 | * Block type for consensus elements. | ||
132 | * Contains either special marker elements or a nested block. | ||
133 | */ | ||
134 | GNUNET_BLOCK_TYPE_CONSENSUS_ELEMENT = 25, | ||
123 | }; | 135 | }; |
124 | 136 | ||
125 | 137 | ||