4c6d359473
This is a naive implementation of the overlay worker. Future improvements / to dos: - Walk through the cache and remove nodes that don't respond - Better look ups for new nodes - Better random ID generation - Kademlia hooks for automatically adding new nodes to the cache * adding refresh cache functionality, added schedule function * update put in db * Tests passing * wip overlay tests for cache refresh * update scheduler code * update refresh function * WIP adding random lookups to refresh worker * remove quit channel * updates fire on schedule and the refresh function finds near nodes * updates to refresh function, getting more buckets and nodes * updates to refresh function and cache operations * add cancellation to context, fix k number of nodes in lookups |
||
---|---|---|
.. | ||
cfgstruct | ||
dht | ||
eestream | ||
kademlia | ||
miniogw | ||
node | ||
overlay | ||
paths | ||
peertls | ||
piecestore | ||
pointerdb | ||
pool | ||
process | ||
provider | ||
ranger | ||
statdb | ||
storage | ||
telemetry | ||
transport | ||
utils |