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
27ec231e14
Moving store code to nested module
2021-04-09 22:41:08 +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
d83123bf46
dht.GetClosestContacts introduce custom filter function
2021-04-05 14:45:33 +02:00
Kleissner
8b329f7258
Enable go module for sub packages
2021-03-16 22:19:15 +01:00
Kleissner
3080119fc1
Initial working Kademlia network - peer list exchange is working!
...
Using the announcement and response messages to exchange peer lists. Fixes in encoding.
Add arbitrary Info structure to DHT Lite/Node.
2021-03-15 22:25:05 +01: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
Kleissner
b5395d9186
DHT: Add in-memory store.
2021-03-06 12:45:20 +01:00
Kleissner
5ff6b5ccc1
DHT: Starting with the fork, initially only the hash table.
...
The distributed part follows.
2021-03-06 11:55:37 +01:00