Kleissner
891e621e8a
DHT: Add Search Client which runs the search in concurrent levels. This means faster results.
...
Add function FilterSearchStatus to get notified on the status of searches for debugging.
FindNode uses the new search client.
2021-07-28 01:28:31 +02:00
Kleissner
e929d6ba2f
Make result channel buffered. Function QueueResult to queue the incoming message non-blocking.
...
This fixes a bug (write on closed channel).
2021-05-06 14:48:34 +02:00
Kleissner
1c03afd63b
Fix: Check if channel is closed.
2021-04-25 00:07:53 +02:00
Kleissner
8a33f19986
Remove unnecessary ListIR. Removes complexity.
2021-04-21 02:49:31 +02:00
Kleissner
96213d4ed9
Minor fixes. dht.Store and Get work now!
2021-04-10 15:43:56 +02:00
Kleissner
c44e57a0a0
Add information request list to DHT structure. It keeps track of requests and matches responses.
...
Break up SendRequest into individual functions SendRequestStore and SendRequestFindNode, which improves readability.
Alpha parameter must be now passed. MarkNodeAsSeen is exported.
Breaking up dht.iterate and embedding into 3 functions Get, FindNode, and FindValue.
2021-04-09 16:07:20 +02:00
Kleissner
323f379ee7
Message encoding of announcement and response messages.
...
More changes coming.
Rename of organization to Peernet s.r.o.
InformationRequest proper termination signal.
2021-03-14 04:30:57 +01:00
Kleissner
f120971944
Initial code of DHT Lite. Requires more testing and iterations (pun intended).
2021-03-08 03:15:52 +01:00