aboutsummaryrefslogtreecommitdiff
path: root/src/set
diff options
context:
space:
mode:
authorChristian Fuchs <christian.fuchs@cfuchs.net>2014-05-07 08:21:49 +0000
committerChristian Fuchs <christian.fuchs@cfuchs.net>2014-05-07 08:21:49 +0000
commit8a2d1e6aedbf1bc95052e63ac67093b89385b0a1 (patch)
tree993d5f09035ce90f8f9a2d50cdcc417631d88227 /src/set
parent3a658d6f0923662f193a49af8aae52a83aafae1c (diff)
downloadgnunet-8a2d1e6aedbf1bc95052e63ac67093b89385b0a1.tar.gz
gnunet-8a2d1e6aedbf1bc95052e63ac67093b89385b0a1.zip
WIP commit of scalar product 2.0. It is unfinished and does not yet pass tests. This commit happens because of the move from mesh->cadet.
- reverted SP API back to the original design from 2012 (using key-value pairs) - SP now uses set intersection to determine common elements from the set provided by the user - values are sorted based on their keys after intersection - removed state tracking, as simple tracking is now insufficient. Just checking for conditions directly is easier readable and less buggy - modified/renamed SP message types to reflect the changed behavior of SP
Diffstat (limited to 'src/set')
-rw-r--r--src/set/gnunet-service-set_intersection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/set/gnunet-service-set_intersection.c b/src/set/gnunet-service-set_intersection.c
index cc0c721af..5c4bc9dd5 100644
--- a/src/set/gnunet-service-set_intersection.c
+++ b/src/set/gnunet-service-set_intersection.c
@@ -766,7 +766,7 @@ handle_p2p_element_info (void *cls, const struct GNUNET_MessageHeader *mh)
766 766
767 767
768/** 768/**
769 * Send our element to the peer, in case our element count is lower than his 769 * Send our element count to the peer, in case our element count is lower than his
770 * 770 *
771 * @param op intersection operation 771 * @param op intersection operation
772 */ 772 */