View Issue Details

IDProjectCategoryView StatusLast Update
0007142GNUnetDHT servicepublic2026-01-25 14:13
Reporterschanzen Assigned ToChristian Grothoff Due Date
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product VersionGit master 
Target Version0.16.0Fixed in Version0.16.0 
Summary0007142: DHT find peer route option required?
DescriptionIt seems like setting the route option FIND_PEER implicitly sets to block type to HELLO.
Why is not the hello block itself the FIND_PEER mechanism?
Is there really a use case for GET/PUTs of HELLOs directly?
It seems like the handling of the flag makes processing needlessly complicated and is also a source of confusion for a user of the API (or the flag).
TagsNo tags attached.

Activities

schanzen

2022-01-05 11:25

administrator   ~0018626

We should rename the flag to FIND_APPROXIMATE and modify the code to allow other block types and not implicitly assume HELLO.
This allows specific use cases where the key is not a hash, but an identifier that is comparable (using a xor distance).

schanzen

2022-01-05 11:30

administrator   ~0018627

Limits on distances may be specified using the xquery

Christian Grothoff

2022-02-23 22:34

manager   ~0018716

Fix committed to master branch.

Christian Grothoff

2022-02-23 22:34

manager   ~0018717

c18963a..d79fc21 adds text to LSD0004 clarifying the use case of xquery to filter on approximate queries.

Christian Grothoff

2022-02-23 22:36

manager   ~0018718

d79fc21..2b38786 makes _distance_ filter more explicit.

schanzen

2022-02-26 22:10

administrator   ~0018721

0.16.0 released

Issue History

Date ModifiedUsernameFieldChange
2022-01-03 20:13schanzenNew Issue
2022-01-03 20:13schanzenStatusnew => assigned
2022-01-03 20:13schanzenAssigned To => Christian Grothoff
2022-01-03 20:13schanzenTag Attached: lsd0004
2022-01-05 11:25schanzenNote Added: 0018626
2022-01-05 11:30schanzenNote Added: 0018627
2022-02-23 22:34Christian Grothoff
2022-02-23 22:34Christian GrothoffNote Added: 0018716
2022-02-23 22:34Christian GrothoffStatusassigned => resolved
2022-02-23 22:34Christian GrothoffResolutionopen => fixed
2022-02-23 22:34Christian GrothoffNote Added: 0018717
2022-02-23 22:36Christian GrothoffNote Added: 0018718
2022-02-23 22:36Christian GrothoffProduct Version => Git master
2022-02-23 22:36Christian GrothoffFixed in Version => 0.16.0
2022-02-23 22:36Christian GrothoffTarget Version => 0.16.0
2022-02-26 22:10schanzenNote Added: 0018721
2022-02-26 22:10schanzenStatusresolved => closed
2026-01-25 14:13Christian GrothoffTag Detached: lsd0004