diff options
author | dold <dold@140774ce-b5e7-0310-ab8b-a85725594a96> | 2012-12-06 10:37:14 +0000 |
---|---|---|
committer | dold <dold@140774ce-b5e7-0310-ab8b-a85725594a96> | 2012-12-06 10:37:14 +0000 |
commit | 286ecca04a8a69eb094d6d8c08d3e2f36e6aa352 (patch) | |
tree | aad31b70c478d8f56c1d57a2e2e726d2e009ee07 | |
parent | 5ad609589d3afcef2129758760300573374ab40f (diff) |
added consensus message types
git-svn-id: https://gnunet.org/svn/gnunet@25287 140774ce-b5e7-0310-ab8b-a85725594a96
-rw-r--r-- | src/include/gnunet_protocols.h | 33 |
1 files changed, 32 insertions, 1 deletions
diff --git a/src/include/gnunet_protocols.h b/src/include/gnunet_protocols.h index 087f86ac5a..db9a85577a 100644 --- a/src/include/gnunet_protocols.h +++ b/src/include/gnunet_protocols.h @@ -1655,7 +1655,38 @@ extern "C" * Sent by service to client in order to signal a completed consensus conclusion. * Last message sent in a consensus session. */ -#define GNUNET_MESSAGE_TYPE_CONSENSUS_CLIENT_CONCLUDE_DONE 524 +#define GNUNET_MESSAGE_TYPE_CONSENSUS_CLIENT_CONCLUDE_DONE 525 + +/** + * Sent by client to service, telling whether a received element should + * be accepted and propagated further or not. + */ +#define GNUNET_MESSAGE_TYPE_CONSENSUS_CLIENT_ACK 527 + +/** + * Update another peer's consensus set with new elements. + */ +#define GNUNET_MESSAGE_TYPE_CONSENSUS_P2P_ELEMENTS 528 + +/** + * Request elements (by their hash) from another peer. + */ +#define GNUNET_MESSAGE_TYPE_CONSENSUS_P2P_REQUEST_ELEMENTS 529 + +/** + * Strata estimator. + */ +#define GNUNET_MESSAGE_TYPE_CONSENSUS_P2P_STRATA 530 + +/** + * IBF containing all elements of a peer. + */ +#define GNUNET_MESSAGE_TYPE_CONSENSUS_P2P_IBF 531 + +/** + * Request reconcilliation with another peer. + */ +#define GNUNET_MESSAGE_TYPE_CONSENSUS_P2P_RECONCILE 532 /** |