gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnunet] branch master updated: DHT: adjust BF size to actual neighbour


From: gnunet
Subject: [gnunet] branch master updated: DHT: adjust BF size to actual neighbour set size
Date: Mon, 26 Dec 2022 14:03:32 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new cc41a24c5 DHT: adjust BF size to actual neighbour set size
cc41a24c5 is described below

commit cc41a24c52e270d0de9a50a56d84c19f149ce537
Author: Christian Grothoff <grothoff@gnunet.org>
AuthorDate: Mon Dec 26 14:03:27 2022 +0100

    DHT: adjust BF size to actual neighbour set size
---
 src/dht/gnunet-service-dht_neighbours.c | 4 ++--
 src/dht/plugin_block_dht.c              | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/dht/gnunet-service-dht_neighbours.c 
b/src/dht/gnunet-service-dht_neighbours.c
index b55a28929..a08373d30 100644
--- a/src/dht/gnunet-service-dht_neighbours.c
+++ b/src/dht/gnunet-service-dht_neighbours.c
@@ -665,8 +665,8 @@ send_find_peer_message (void *cls)
                                     GNUNET_BLOCK_TYPE_DHT_HELLO,
                                     NULL,
                                     0,
-                                    "filter-size",
-                                    DHT_BLOOM_SIZE,
+                                    "set-seen-size",
+                                    GNUNET_CONTAINER_multipeermap_size 
(all_connected_peers),
                                     NULL);
     GNUNET_CONTAINER_multipeermap_iterate (all_connected_peers,
                                            &add_known_to_bloom,
diff --git a/src/dht/plugin_block_dht.c b/src/dht/plugin_block_dht.c
index 6375fa272..944821e87 100644
--- a/src/dht/plugin_block_dht.c
+++ b/src/dht/plugin_block_dht.c
@@ -55,7 +55,7 @@
 static struct GNUNET_BLOCK_Group *
 block_plugin_dht_create_group (void *cls,
                                enum GNUNET_BLOCK_Type type,
-                               const void *raw_data,
+>                               const void *raw_data,
                                size_t raw_data_size,
                                va_list va)
 {

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]