aboutsummaryrefslogtreecommitdiff
path: root/src/set/gnunet-service-set_protocol.h
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2017-02-24 18:07:42 +0100
committerFlorian Dold <florian.dold@gmail.com>2017-02-24 18:10:11 +0100
commitebabb581efd0516a80b4d649e0dea852f46329f5 (patch)
tree0855e6436e2a1ffb3548fc798b602cafea55044e /src/set/gnunet-service-set_protocol.h
parent592b43fdf3f3572892f4095808daf22010469d0b (diff)
downloadgnunet-ebabb581efd0516a80b4d649e0dea852f46329f5.tar.gz
gnunet-ebabb581efd0516a80b4d649e0dea852f46329f5.zip
always send bigger set on full send
Diffstat (limited to 'src/set/gnunet-service-set_protocol.h')
-rw-r--r--src/set/gnunet-service-set_protocol.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/set/gnunet-service-set_protocol.h b/src/set/gnunet-service-set_protocol.h
index 748da15fc..0138b21c7 100644
--- a/src/set/gnunet-service-set_protocol.h
+++ b/src/set/gnunet-service-set_protocol.h
@@ -208,6 +208,20 @@ struct IntersectionDoneMessage
208 struct GNUNET_HashCode element_xor_hash; 208 struct GNUNET_HashCode element_xor_hash;
209}; 209};
210 210
211
212/**
213 * Strata estimator together with the peer's overall set size.
214 */
215struct StrataEstimatorMessage
216{
217 /**
218 * Type: #GNUNET_MESSAGE_TYPE_SET_UNION_P2P_SE(C)
219 */
220 struct GNUNET_MessageHeader header;
221
222 uint64_t set_size;
223};
224
211GNUNET_NETWORK_STRUCT_END 225GNUNET_NETWORK_STRUCT_END
212 226
213#endif 227#endif