Kleissner
c9d9be2972
Refactor message encoding into protocol package. User Agent must be now provided in the Init function.
2021-10-18 04:37:02 +02:00
Kleissner
0c7b1e0e03
Start refactoring protocol code into sub package. Move Packet Encoding and list of Commands. Change SetSelfReportedPorts parameters.
...
More related commits to follow!
2021-10-17 16:28:19 +02:00
Kleissner
3da1acde60
Key/value database rename functions.
2021-08-11 22:16:39 +02:00
Kleissner
d87e43cd32
Simplify Store interface. Remove unused replication placeholder and untangle expiration option.
...
MemoryStore is refactored into separate file.
2021-08-11 20:15:22 +02:00
Kleissner
fc1f0407f3
-> Alpha 3.
...
DHT: Store and Get functions use search client.
Multiple improvements in search client. Alpha parameter is now provided by init caller.
StoreDataDHT add closestCount parameter.
2021-07-29 03:17:14 +02:00
Kleissner
e5d09e7086
New filter DHTSearchStatus for debug purposes.
...
Various minor improvements and fixes.
New high-level FindNode and AsyncSearch functions.
2021-07-28 01:33:33 +02:00
Kleissner
66ebf7c91e
New DHT function IsNodeContact to check if node is in local routing table
2021-07-07 02:50:12 +02:00
Kleissner
f13695709f
Kademlia: Initial bucket refresh implementation. This might be improved down the road.
2021-04-25 04:22:10 +02:00
Kleissner
63e736486a
Implement auto refresh of buckets. Close #11
2021-04-24 23:06:08 +02:00
Kleissner
146bb6991e
Proper ShouldEvict implementation
2021-04-22 06:11:39 +02:00
Kleissner
ec809029d8
Sequences add pointer to high-level data. Proper mapping of sequences to information requests.
2021-04-21 03:27:03 +02:00
Kleissner
ff9804bf6d
Start with the store code. Properly handle announcement requests.
...
Add core data functions: Data2Hash, GetData, GetDataLocal, GetDataDHT, StoreDataLocal, StoreDataDHT
2021-04-10 16:00:43 +02:00
Kleissner
e69589c5c8
Kademlia: Use information requests from updated DHT library. More testing & fixes upcoming.
2021-04-09 16:36:35 +02: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