diff options
author | Florian Dold <florian.dold@gmail.com> | 2015-10-11 19:16:15 +0000 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2015-10-11 19:16:15 +0000 |
commit | 97413eeadde62d7646b192348512abc4f4c36c2d (patch) | |
tree | 976e75557edd1ef9c2cd110fee45c476be9e7960 /src/include/gnunet_consensus_service.h | |
parent | 15f13cc7f9b59269a8b5ee8c750b5729b2c359ae (diff) | |
download | gnunet-97413eeadde62d7646b192348512abc4f4c36c2d.tar.gz gnunet-97413eeadde62d7646b192348512abc4f4c36c2d.zip |
consensus
Diffstat (limited to 'src/include/gnunet_consensus_service.h')
-rw-r--r-- | src/include/gnunet_consensus_service.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/include/gnunet_consensus_service.h b/src/include/gnunet_consensus_service.h index f50e4376f..77607a6e2 100644 --- a/src/include/gnunet_consensus_service.h +++ b/src/include/gnunet_consensus_service.h | |||
@@ -43,6 +43,14 @@ extern "C" | |||
43 | 43 | ||
44 | 44 | ||
45 | /** | 45 | /** |
46 | * Elements inserted into the consensus set by the client | ||
47 | * may not be larger than this constant, since types in | ||
48 | * the upper range are used by CONSENSUS internally. | ||
49 | */ | ||
50 | #define GNUNET_CONSENSUS_ELEMENT_TYPE_USER_MAX 0xFFF0 | ||
51 | |||
52 | |||
53 | /** | ||
46 | * Called when a new element was received from another peer, or an error occured. | 54 | * Called when a new element was received from another peer, or an error occured. |
47 | * May deliver duplicate values. | 55 | * May deliver duplicate values. |
48 | * Elements given to a consensus operation by the local peer are NOT given | 56 | * Elements given to a consensus operation by the local peer are NOT given |