aboutsummaryrefslogtreecommitdiff
path: root/src/cadet/gnunet-service-cadet_dht.c
diff options
context:
space:
mode:
authorChristian Grothoff <grothoff@gnunet.org>2022-12-24 18:38:14 +0100
committerChristian Grothoff <grothoff@gnunet.org>2022-12-24 18:38:14 +0100
commita448889bdabd46de4e0308ae791c343639da8dff (patch)
treee2d2dcf9e00a27174fe0efd62d7805230be0a3a2 /src/cadet/gnunet-service-cadet_dht.c
parent1557a73295e29a74d4b2bb66775a4b367184a69b (diff)
downloadgnunet-a448889bdabd46de4e0308ae791c343639da8dff.tar.gz
gnunet-a448889bdabd46de4e0308ae791c343639da8dff.zip
-rename to deconfuse Martin about which block type is actually used these days, hopefully
Diffstat (limited to 'src/cadet/gnunet-service-cadet_dht.c')
-rw-r--r--src/cadet/gnunet-service-cadet_dht.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cadet/gnunet-service-cadet_dht.c b/src/cadet/gnunet-service-cadet_dht.c
index 82ba326b4..576753a38 100644
--- a/src/cadet/gnunet-service-cadet_dht.c
+++ b/src/cadet/gnunet-service-cadet_dht.c
@@ -203,7 +203,7 @@ announce_id (void *cls)
203 dht_replication_level, /* Replication level */ 203 dht_replication_level, /* Replication level */
204 GNUNET_DHT_RO_RECORD_ROUTE 204 GNUNET_DHT_RO_RECORD_ROUTE
205 | GNUNET_DHT_RO_DEMULTIPLEX_EVERYWHERE, /* DHT options */ 205 | GNUNET_DHT_RO_DEMULTIPLEX_EVERYWHERE, /* DHT options */
206 GNUNET_BLOCK_TYPE_DHT_HELLO, /* Block type */ 206 GNUNET_BLOCK_TYPE_LEGACY_HELLO, /* Block type */
207 size, /* Size of the data */ 207 size, /* Size of the data */
208 (const char *) hello, /* Data itself */ 208 (const char *) hello, /* Data itself */
209 expiration, /* Data expiration */ 209 expiration, /* Data expiration */
@@ -300,7 +300,7 @@ GCD_search (const struct GNUNET_PeerIdentity *peer_id)
300 300
301 h = GNUNET_new (struct GCD_search_handle); 301 h = GNUNET_new (struct GCD_search_handle);
302 h->dhtget = GNUNET_DHT_get_start (dht_handle, /* handle */ 302 h->dhtget = GNUNET_DHT_get_start (dht_handle, /* handle */
303 GNUNET_BLOCK_TYPE_DHT_HELLO, /* type */ 303 GNUNET_BLOCK_TYPE_LEGACY_HELLO, /* type */
304 &phash, /* key to search */ 304 &phash, /* key to search */
305 dht_replication_level, /* replication level */ 305 dht_replication_level, /* replication level */
306 GNUNET_DHT_RO_RECORD_ROUTE 306 GNUNET_DHT_RO_RECORD_ROUTE