1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-09-09 19:32:24 +08:00

implement dht findprovs and add error output to dht query

This commit is contained in:
Jeromy
2015-01-22 22:18:36 +00:00
parent e65afaf198
commit 56a5e72760
4 changed files with 100 additions and 6 deletions

View File

@ -67,7 +67,6 @@ func (dht *IpfsDHT) GetClosestPeers(ctx context.Context, key u.Key) (<-chan peer
filtered = append(filtered, dht.peerstore.PeerInfo(clp))
}
}
log.Errorf("filtered: %v", filtered)
// For DHT query command
notif.PublishQueryEvent(ctx, &notif.QueryEvent{