1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-09-10 05:52:20 +08:00

add readme for bitswap

This commit is contained in:
Jeromy
2014-12-03 19:46:01 +00:00
parent 432eee651f
commit 6552163740
2 changed files with 25 additions and 1 deletions

View File

@ -126,7 +126,7 @@ func (dht *IpfsDHT) Provide(ctx context.Context, key u.Key) error {
}
func (dht *IpfsDHT) FindProvidersAsync(ctx context.Context, key u.Key, count int) <-chan peer.Peer {
log.Debugf("Find Providers: %s", key)
log.Event(ctx, "findProviders", key)
peerOut := make(chan peer.Peer, count)
go func() {
ps := newPeerSet()