ethereum / ddht

Python implementation of Discovery V5 Protocol
MIT License
18 stars 16 forks source link

Allow enumerating ContentStorageAPI by proximity to a node. #316

Closed pipermerriam closed 3 years ago

pipermerriam commented 3 years ago

What was wrong?

In order to enforce an upper bound on stored content we need to be able to find the content with the key that is furthest from our node id.

How was it fixed?

Added two new APIs to the ContentStorageAPI.

Cute Animal Picture

20-Cute-Pictures-Of-Animals-Smelling-Flowers-15-550x366