This repository was archived by the owner on Aug 2, 2021. It is now read-only.

Description
The kademlia.EachBin function is utterly complex and very difficult to reason about, and lacking documentation to understand it.
It is currently exclusively used to evaluate which bins the streamer syncing protocol needs to subscribe to for pull syncing.
It should be refactored and documented