diff options
-rw-r--r-- | src/dht/dht_api.c | 2 | ||||
-rw-r--r-- | src/dht/gnunet-dht-get.c | 2 | ||||
-rw-r--r-- | src/dht/test_dht_api.c | 2 | ||||
-rw-r--r-- | src/dht/test_dht_monitor.c | 2 | ||||
-rw-r--r-- | src/dht/test_dht_multipeer.c | 2 | ||||
-rw-r--r-- | src/dht/test_dht_topo.c | 6 | ||||
-rw-r--r-- | src/dht/test_dht_twopeer.c | 4 | ||||
-rw-r--r-- | src/dht/test_dht_twopeer_get_put.c | 2 | ||||
-rw-r--r-- | src/dht/test_dht_twopeer_path_tracking.c | 2 | ||||
-rw-r--r-- | src/dht/test_dht_twopeer_put_get.c | 2 | ||||
-rw-r--r-- | src/fs/gnunet-service-fs_pr.c | 2 | ||||
-rw-r--r-- | src/gns/gnunet-service-gns_resolver.c | 3 | ||||
-rw-r--r-- | src/include/gnunet_dht_service.h | 3 | ||||
-rw-r--r-- | src/mesh/gnunet-service-mesh.c | 3 |
14 files changed, 12 insertions, 25 deletions
diff --git a/src/dht/dht_api.c b/src/dht/dht_api.c index 131070302..420eacbff 100644 --- a/src/dht/dht_api.c +++ b/src/dht/dht_api.c | |||
@@ -1135,7 +1135,6 @@ GNUNET_DHT_put_cancel (struct GNUNET_DHT_PutHandle *ph) | |||
1135 | * also "GNUNET_BLOCK_evaluate". | 1135 | * also "GNUNET_BLOCK_evaluate". |
1136 | * | 1136 | * |
1137 | * @param handle handle to the DHT service | 1137 | * @param handle handle to the DHT service |
1138 | * @param timeout how long to wait for transmission of this request to the service | ||
1139 | * @param type expected type of the response object | 1138 | * @param type expected type of the response object |
1140 | * @param key the key to look up | 1139 | * @param key the key to look up |
1141 | * @param desired_replication_level estimate of how many | 1140 | * @param desired_replication_level estimate of how many |
@@ -1149,7 +1148,6 @@ GNUNET_DHT_put_cancel (struct GNUNET_DHT_PutHandle *ph) | |||
1149 | */ | 1148 | */ |
1150 | struct GNUNET_DHT_GetHandle * | 1149 | struct GNUNET_DHT_GetHandle * |
1151 | GNUNET_DHT_get_start (struct GNUNET_DHT_Handle *handle, | 1150 | GNUNET_DHT_get_start (struct GNUNET_DHT_Handle *handle, |
1152 | struct GNUNET_TIME_Relative timeout, | ||
1153 | enum GNUNET_BLOCK_Type type, const GNUNET_HashCode * key, | 1151 | enum GNUNET_BLOCK_Type type, const GNUNET_HashCode * key, |
1154 | uint32_t desired_replication_level, | 1152 | uint32_t desired_replication_level, |
1155 | enum GNUNET_DHT_RouteOption options, const void *xquery, | 1153 | enum GNUNET_DHT_RouteOption options, const void *xquery, |
diff --git a/src/dht/gnunet-dht-get.c b/src/dht/gnunet-dht-get.c index 6ad4b30f8..fb185c489 100644 --- a/src/dht/gnunet-dht-get.c +++ b/src/dht/gnunet-dht-get.c | |||
@@ -186,7 +186,7 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
186 | GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_absolute_get_remaining | 186 | GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_absolute_get_remaining |
187 | (absolute_timeout), &cleanup_task, NULL); | 187 | (absolute_timeout), &cleanup_task, NULL); |
188 | get_handle = | 188 | get_handle = |
189 | GNUNET_DHT_get_start (dht_handle, timeout, query_type, &key, replication, | 189 | GNUNET_DHT_get_start (dht_handle, query_type, &key, replication, |
190 | GNUNET_DHT_RO_NONE, NULL, 0, &get_result_iterator, | 190 | GNUNET_DHT_RO_NONE, NULL, 0, &get_result_iterator, |
191 | NULL); | 191 | NULL); |
192 | 192 | ||
diff --git a/src/dht/test_dht_api.c b/src/dht/test_dht_api.c index 9c6231561..000ad3344 100644 --- a/src/dht/test_dht_api.c +++ b/src/dht/test_dht_api.c | |||
@@ -212,7 +212,7 @@ test_get (void *cls, int success) | |||
212 | retry_context.next_timeout = BASE_TIMEOUT; | 212 | retry_context.next_timeout = BASE_TIMEOUT; |
213 | 213 | ||
214 | peer->get_handle = | 214 | peer->get_handle = |
215 | GNUNET_DHT_get_start (peer->dht_handle, TOTAL_TIMEOUT, | 215 | GNUNET_DHT_get_start (peer->dht_handle, |
216 | GNUNET_BLOCK_TYPE_TEST, &hash, 1, | 216 | GNUNET_BLOCK_TYPE_TEST, &hash, 1, |
217 | GNUNET_DHT_RO_NONE, NULL, 0, &test_get_iterator, | 217 | GNUNET_DHT_RO_NONE, NULL, 0, &test_get_iterator, |
218 | NULL); | 218 | NULL); |
diff --git a/src/dht/test_dht_monitor.c b/src/dht/test_dht_monitor.c index 62210e85c..ca6704a09 100644 --- a/src/dht/test_dht_monitor.c +++ b/src/dht/test_dht_monitor.c | |||
@@ -250,7 +250,7 @@ do_test (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
250 | GNUNET_h2s_full (&d_far->id.hashPubKey)); | 250 | GNUNET_h2s_full (&d_far->id.hashPubKey)); |
251 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "test: from %s\n", | 251 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "test: from %s\n", |
252 | GNUNET_h2s_full (&o->id.hashPubKey)); | 252 | GNUNET_h2s_full (&o->id.hashPubKey)); |
253 | get_h_far = GNUNET_DHT_get_start (hs[0], GNUNET_TIME_UNIT_FOREVER_REL, /* timeout */ | 253 | get_h_far = GNUNET_DHT_get_start (hs[0], |
254 | GNUNET_BLOCK_TYPE_TEST, /* type */ | 254 | GNUNET_BLOCK_TYPE_TEST, /* type */ |
255 | &d_far->id.hashPubKey, /*key to search */ | 255 | &d_far->id.hashPubKey, /*key to search */ |
256 | 4U, /* replication level */ | 256 | 4U, /* replication level */ |
diff --git a/src/dht/test_dht_multipeer.c b/src/dht/test_dht_multipeer.c index 2be938c96..ab7d90e24 100644 --- a/src/dht/test_dht_multipeer.c +++ b/src/dht/test_dht_multipeer.c | |||
@@ -621,7 +621,7 @@ do_get (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
621 | GNUNET_assert (test_get->dht_handle != NULL); | 621 | GNUNET_assert (test_get->dht_handle != NULL); |
622 | outstanding_gets++; | 622 | outstanding_gets++; |
623 | test_get->get_handle = | 623 | test_get->get_handle = |
624 | GNUNET_DHT_get_start (test_get->dht_handle, GNUNET_TIME_UNIT_FOREVER_REL, | 624 | GNUNET_DHT_get_start (test_get->dht_handle, |
625 | GNUNET_BLOCK_TYPE_TEST, &key, 1, route_option, NULL, | 625 | GNUNET_BLOCK_TYPE_TEST, &key, 1, route_option, NULL, |
626 | 0, &get_result_iterator, test_get); | 626 | 0, &get_result_iterator, test_get); |
627 | test_get->task = | 627 | test_get->task = |
diff --git a/src/dht/test_dht_topo.c b/src/dht/test_dht_topo.c index ed746a583..f69f5dca9 100644 --- a/src/dht/test_dht_topo.c +++ b/src/dht/test_dht_topo.c | |||
@@ -308,7 +308,7 @@ do_test (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
308 | GNUNET_h2s_full (&o->id.hashPubKey)); | 308 | GNUNET_h2s_full (&o->id.hashPubKey)); |
309 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, " looking for %s\n", | 309 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, " looking for %s\n", |
310 | GNUNET_h2s_full (&d->id.hashPubKey)); | 310 | GNUNET_h2s_full (&d->id.hashPubKey)); |
311 | get_h = GNUNET_DHT_get_start (hs[0], GNUNET_TIME_UNIT_FOREVER_REL, /* timeout */ | 311 | get_h = GNUNET_DHT_get_start (hs[0], |
312 | GNUNET_BLOCK_TYPE_TEST, /* type */ | 312 | GNUNET_BLOCK_TYPE_TEST, /* type */ |
313 | &d->id.hashPubKey, /*key to search */ | 313 | &d->id.hashPubKey, /*key to search */ |
314 | 4U, /* replication level */ | 314 | 4U, /* replication level */ |
@@ -319,7 +319,7 @@ do_test (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
319 | { | 319 | { |
320 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, " looking for %s\n", | 320 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, " looking for %s\n", |
321 | GNUNET_h2s_full (&d2->id.hashPubKey)); | 321 | GNUNET_h2s_full (&d2->id.hashPubKey)); |
322 | get_h_2 = GNUNET_DHT_get_start (hs[0], GNUNET_TIME_UNIT_FOREVER_REL, /* timeout */ | 322 | get_h_2 = GNUNET_DHT_get_start (hs[0], |
323 | GNUNET_BLOCK_TYPE_TEST, /* type */ | 323 | GNUNET_BLOCK_TYPE_TEST, /* type */ |
324 | &d2->id.hashPubKey, /*key to search */ | 324 | &d2->id.hashPubKey, /*key to search */ |
325 | 4U, /* replication level */ | 325 | 4U, /* replication level */ |
@@ -328,7 +328,7 @@ do_test (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
328 | &dht_get_id_handler, (void *)2); | 328 | &dht_get_id_handler, (void *)2); |
329 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, " looking for %s\n", | 329 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, " looking for %s\n", |
330 | GNUNET_h2s_full (&d_far->id.hashPubKey)); | 330 | GNUNET_h2s_full (&d_far->id.hashPubKey)); |
331 | get_h_far = GNUNET_DHT_get_start (hs[0], GNUNET_TIME_UNIT_FOREVER_REL, /* timeout */ | 331 | get_h_far = GNUNET_DHT_get_start (hs[0], |
332 | GNUNET_BLOCK_TYPE_TEST, /* type */ | 332 | GNUNET_BLOCK_TYPE_TEST, /* type */ |
333 | &d_far->id.hashPubKey, /*key to search */ | 333 | &d_far->id.hashPubKey, /*key to search */ |
334 | 4U, /* replication level */ | 334 | 4U, /* replication level */ |
diff --git a/src/dht/test_dht_twopeer.c b/src/dht/test_dht_twopeer.c index 6f2b0de18..a5e2ece4e 100644 --- a/src/dht/test_dht_twopeer.c +++ b/src/dht/test_dht_twopeer.c | |||
@@ -250,8 +250,6 @@ get_stop_finished (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
250 | &stop_retry_get, get_context); | 250 | &stop_retry_get, get_context); |
251 | get_context->get_handle = | 251 | get_context->get_handle = |
252 | GNUNET_DHT_get_start (get_context->dht_handle, | 252 | GNUNET_DHT_get_start (get_context->dht_handle, |
253 | GNUNET_TIME_relative_multiply | ||
254 | (GNUNET_TIME_UNIT_SECONDS, 5), | ||
255 | GNUNET_BLOCK_TYPE_DHT_HELLO, | 253 | GNUNET_BLOCK_TYPE_DHT_HELLO, |
256 | &get_context->peer->hashPubKey, 1, | 254 | &get_context->peer->hashPubKey, 1, |
257 | GNUNET_DHT_RO_NONE, NULL, 0, &get_result_iterator, | 255 | GNUNET_DHT_RO_NONE, NULL, 0, &get_result_iterator, |
@@ -285,8 +283,6 @@ do_get (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
285 | &stop_retry_get, get_context); | 283 | &stop_retry_get, get_context); |
286 | get_context->get_handle = | 284 | get_context->get_handle = |
287 | GNUNET_DHT_get_start (get_context->dht_handle, | 285 | GNUNET_DHT_get_start (get_context->dht_handle, |
288 | GNUNET_TIME_relative_multiply | ||
289 | (GNUNET_TIME_UNIT_SECONDS, 5), | ||
290 | GNUNET_BLOCK_TYPE_DHT_HELLO, | 286 | GNUNET_BLOCK_TYPE_DHT_HELLO, |
291 | &get_context->peer->hashPubKey, 1, | 287 | &get_context->peer->hashPubKey, 1, |
292 | GNUNET_DHT_RO_FIND_PEER, NULL, 0, | 288 | GNUNET_DHT_RO_FIND_PEER, NULL, 0, |
diff --git a/src/dht/test_dht_twopeer_get_put.c b/src/dht/test_dht_twopeer_get_put.c index b32428bb4..3271d046d 100644 --- a/src/dht/test_dht_twopeer_get_put.c +++ b/src/dht/test_dht_twopeer_get_put.c | |||
@@ -272,7 +272,7 @@ do_get (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
272 | memset (&key, 42, sizeof (GNUNET_HashCode)); /* Set the key to the same thing as when data was inserted */ | 272 | memset (&key, 42, sizeof (GNUNET_HashCode)); /* Set the key to the same thing as when data was inserted */ |
273 | #endif | 273 | #endif |
274 | global_get_handle = | 274 | global_get_handle = |
275 | GNUNET_DHT_get_start (peer2dht, GNUNET_TIME_relative_get_forever (), | 275 | GNUNET_DHT_get_start (peer2dht, |
276 | #if DNS | 276 | #if DNS |
277 | GNUNET_BLOCK_TYPE_DNS, | 277 | GNUNET_BLOCK_TYPE_DNS, |
278 | #else | 278 | #else |
diff --git a/src/dht/test_dht_twopeer_path_tracking.c b/src/dht/test_dht_twopeer_path_tracking.c index 31d4f92ae..6ecf6a381 100644 --- a/src/dht/test_dht_twopeer_path_tracking.c +++ b/src/dht/test_dht_twopeer_path_tracking.c | |||
@@ -259,7 +259,7 @@ put_finished (void *cls, int success) | |||
259 | "waiting for get response (data not found)"); | 259 | "waiting for get response (data not found)"); |
260 | memset (&key, 42, sizeof (GNUNET_HashCode)); /* Set the key to the same thing as when data was inserted */ | 260 | memset (&key, 42, sizeof (GNUNET_HashCode)); /* Set the key to the same thing as when data was inserted */ |
261 | global_get_handle = | 261 | global_get_handle = |
262 | GNUNET_DHT_get_start (peer2dht, GNUNET_TIME_relative_get_forever (), | 262 | GNUNET_DHT_get_start (peer2dht, |
263 | GNUNET_BLOCK_TYPE_TEST, &key, 1, | 263 | GNUNET_BLOCK_TYPE_TEST, &key, 1, |
264 | GNUNET_DHT_RO_RECORD_ROUTE, NULL, 0, | 264 | GNUNET_DHT_RO_RECORD_ROUTE, NULL, 0, |
265 | &get_result_iterator, NULL); | 265 | &get_result_iterator, NULL); |
diff --git a/src/dht/test_dht_twopeer_put_get.c b/src/dht/test_dht_twopeer_put_get.c index e40848291..44150e3e0 100644 --- a/src/dht/test_dht_twopeer_put_get.c +++ b/src/dht/test_dht_twopeer_put_get.c | |||
@@ -266,7 +266,7 @@ put_finished (void *cls, int success) | |||
266 | 266 | ||
267 | memset (&key, 42, sizeof (GNUNET_HashCode)); /* Set the key to the same thing as when data was inserted */ | 267 | memset (&key, 42, sizeof (GNUNET_HashCode)); /* Set the key to the same thing as when data was inserted */ |
268 | global_get_handle = | 268 | global_get_handle = |
269 | GNUNET_DHT_get_start (peer2dht, GNUNET_TIME_UNIT_FOREVER_REL, | 269 | GNUNET_DHT_get_start (peer2dht, |
270 | GNUNET_BLOCK_TYPE_TEST, &key, 1, GNUNET_DHT_RO_NONE, | 270 | GNUNET_BLOCK_TYPE_TEST, &key, 1, GNUNET_DHT_RO_NONE, |
271 | NULL, 0, &get_result_iterator, NULL); | 271 | NULL, 0, &get_result_iterator, NULL); |
272 | } | 272 | } |
diff --git a/src/fs/gnunet-service-fs_pr.c b/src/fs/gnunet-service-fs_pr.c index 5ae011c46..8ca4121a5 100644 --- a/src/fs/gnunet-service-fs_pr.c +++ b/src/fs/gnunet-service-fs_pr.c | |||
@@ -1082,7 +1082,7 @@ GSF_dht_lookup_ (struct GSF_PendingRequest *pr) | |||
1082 | xquery_size += sizeof (struct GNUNET_PeerIdentity); | 1082 | xquery_size += sizeof (struct GNUNET_PeerIdentity); |
1083 | } | 1083 | } |
1084 | pr->gh = | 1084 | pr->gh = |
1085 | GNUNET_DHT_get_start (GSF_dht, GNUNET_TIME_UNIT_FOREVER_REL, | 1085 | GNUNET_DHT_get_start (GSF_dht, |
1086 | pr->public_data.type, &pr->public_data.query, | 1086 | pr->public_data.type, &pr->public_data.query, |
1087 | 5 /* DEFAULT_GET_REPLICATION */ , | 1087 | 5 /* DEFAULT_GET_REPLICATION */ , |
1088 | GNUNET_DHT_RO_DEMULTIPLEX_EVERYWHERE, | 1088 | GNUNET_DHT_RO_DEMULTIPLEX_EVERYWHERE, |
diff --git a/src/gns/gnunet-service-gns_resolver.c b/src/gns/gnunet-service-gns_resolver.c index 56456ef99..0f65390ee 100644 --- a/src/gns/gnunet-service-gns_resolver.c +++ b/src/gns/gnunet-service-gns_resolver.c | |||
@@ -332,7 +332,6 @@ process_auth_discovery_ns_result(void* cls, | |||
332 | 332 | ||
333 | GNUNET_assert(gph->get_handle == NULL); | 333 | GNUNET_assert(gph->get_handle == NULL); |
334 | gph->get_handle = GNUNET_DHT_get_start(dht_handle, | 334 | gph->get_handle = GNUNET_DHT_get_start(dht_handle, |
335 | GNUNET_TIME_UNIT_FOREVER_REL, | ||
336 | GNUNET_BLOCK_TYPE_GNS_NAMERECORD, | 335 | GNUNET_BLOCK_TYPE_GNS_NAMERECORD, |
337 | &lookup_key, | 336 | &lookup_key, |
338 | DHT_GNS_REPLICATION_LEVEL, | 337 | DHT_GNS_REPLICATION_LEVEL, |
@@ -863,7 +862,6 @@ resolve_record_dht(struct ResolverHandle *rh) | |||
863 | 862 | ||
864 | GNUNET_assert(rh->get_handle == NULL); | 863 | GNUNET_assert(rh->get_handle == NULL); |
865 | rh->get_handle = GNUNET_DHT_get_start(dht_handle, | 864 | rh->get_handle = GNUNET_DHT_get_start(dht_handle, |
866 | GNUNET_TIME_UNIT_FOREVER_REL, | ||
867 | GNUNET_BLOCK_TYPE_GNS_NAMERECORD, | 865 | GNUNET_BLOCK_TYPE_GNS_NAMERECORD, |
868 | &lookup_key, | 866 | &lookup_key, |
869 | DHT_GNS_REPLICATION_LEVEL, | 867 | DHT_GNS_REPLICATION_LEVEL, |
@@ -1739,7 +1737,6 @@ resolve_delegation_dht(struct ResolverHandle *rh) | |||
1739 | 1737 | ||
1740 | GNUNET_assert(rh->get_handle == NULL); | 1738 | GNUNET_assert(rh->get_handle == NULL); |
1741 | rh->get_handle = GNUNET_DHT_get_start(dht_handle, | 1739 | rh->get_handle = GNUNET_DHT_get_start(dht_handle, |
1742 | GNUNET_TIME_UNIT_FOREVER_REL, | ||
1743 | GNUNET_BLOCK_TYPE_GNS_NAMERECORD, | 1740 | GNUNET_BLOCK_TYPE_GNS_NAMERECORD, |
1744 | &lookup_key, | 1741 | &lookup_key, |
1745 | DHT_GNS_REPLICATION_LEVEL, | 1742 | DHT_GNS_REPLICATION_LEVEL, |
diff --git a/src/include/gnunet_dht_service.h b/src/include/gnunet_dht_service.h index 8bfa9c59a..6606acb7d 100644 --- a/src/include/gnunet_dht_service.h +++ b/src/include/gnunet_dht_service.h | |||
@@ -220,8 +220,6 @@ typedef void (*GNUNET_DHT_GetIterator) (void *cls, | |||
220 | * also "GNUNET_BLOCK_evaluate". | 220 | * also "GNUNET_BLOCK_evaluate". |
221 | * | 221 | * |
222 | * @param handle handle to the DHT service | 222 | * @param handle handle to the DHT service |
223 | * @param timeout how long to wait for transmission of this request to the service | ||
224 | * FIXME: this argument should probably be removed in the medium term... | ||
225 | * @param type expected type of the response object | 223 | * @param type expected type of the response object |
226 | * @param key the key to look up | 224 | * @param key the key to look up |
227 | * @param desired_replication_level estimate of how many | 225 | * @param desired_replication_level estimate of how many |
@@ -236,7 +234,6 @@ typedef void (*GNUNET_DHT_GetIterator) (void *cls, | |||
236 | */ | 234 | */ |
237 | struct GNUNET_DHT_GetHandle * | 235 | struct GNUNET_DHT_GetHandle * |
238 | GNUNET_DHT_get_start (struct GNUNET_DHT_Handle *handle, | 236 | GNUNET_DHT_get_start (struct GNUNET_DHT_Handle *handle, |
239 | struct GNUNET_TIME_Relative timeout, | ||
240 | enum GNUNET_BLOCK_Type type, const GNUNET_HashCode * key, | 237 | enum GNUNET_BLOCK_Type type, const GNUNET_HashCode * key, |
241 | uint32_t desired_replication_level, | 238 | uint32_t desired_replication_level, |
242 | enum GNUNET_DHT_RouteOption options, const void *xquery, | 239 | enum GNUNET_DHT_RouteOption options, const void *xquery, |
diff --git a/src/mesh/gnunet-service-mesh.c b/src/mesh/gnunet-service-mesh.c index 7b52a7d4f..d278c2039 100644 --- a/src/mesh/gnunet-service-mesh.c +++ b/src/mesh/gnunet-service-mesh.c | |||
@@ -1604,7 +1604,6 @@ peer_info_connect (struct MeshPeerInfo *peer, struct MeshTunnel *t) | |||
1604 | " Starting DHT GET for peer %s\n", GNUNET_i2s (&id)); | 1604 | " Starting DHT GET for peer %s\n", GNUNET_i2s (&id)); |
1605 | peer->dhtgetcls = path_info; | 1605 | peer->dhtgetcls = path_info; |
1606 | peer->dhtget = GNUNET_DHT_get_start (dht_handle, /* handle */ | 1606 | peer->dhtget = GNUNET_DHT_get_start (dht_handle, /* handle */ |
1607 | GNUNET_TIME_UNIT_FOREVER_REL, /* timeout */ | ||
1608 | GNUNET_BLOCK_TYPE_TEST, /* type */ | 1607 | GNUNET_BLOCK_TYPE_TEST, /* type */ |
1609 | &id.hashPubKey, /* key to search */ | 1608 | &id.hashPubKey, /* key to search */ |
1610 | 10, /* replication level */ | 1609 | 10, /* replication level */ |
@@ -4284,7 +4283,7 @@ handle_local_connect_by_type (void *cls, struct GNUNET_SERVER_Client *client, | |||
4284 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, " looking in DHT for %s\n", | 4283 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, " looking in DHT for %s\n", |
4285 | GNUNET_h2s (&hash)); | 4284 | GNUNET_h2s (&hash)); |
4286 | t->dht_get_type = | 4285 | t->dht_get_type = |
4287 | GNUNET_DHT_get_start (dht_handle, GNUNET_TIME_UNIT_FOREVER_REL, | 4286 | GNUNET_DHT_get_start (dht_handle, |
4288 | GNUNET_BLOCK_TYPE_TEST, &hash, 10, | 4287 | GNUNET_BLOCK_TYPE_TEST, &hash, 10, |
4289 | GNUNET_DHT_RO_RECORD_ROUTE | | 4288 | GNUNET_DHT_RO_RECORD_ROUTE | |
4290 | GNUNET_DHT_RO_DEMULTIPLEX_EVERYWHERE, NULL, 0, | 4289 | GNUNET_DHT_RO_DEMULTIPLEX_EVERYWHERE, NULL, 0, |