jbenet/go-ipfs — pull request #456 by whyrusleeping (2014-12-16 05:06:29+00:00)
Title: rewrite of provides to better select peers to send RPCs to

The main change in this PR is the implementation of `getClosestPeers` that returns a channel of peers. progressively closer to the target key. This is used to put provider values to the best possible peers.