kubo/test/dependencies
Hector Sanjuan 23f1b59177 corehttp/routing: wire GetClosestPeers()
This allows Kubo to respond to the GetClosestPeers() http routing v1 endpoint
as spec'ed here: https://github.com/ipfs/specs/pull/476

It is based on work from https://github.com/ipfs/boxo/pull/1021

We let IpfsNode implmement the contentRouter.Client interface with the new
method.  We use our DHTs to get the closest peers. We try to respect the
count/closerThan options here.  We then trigger FindPeers lookups to fill-in
information about the peers (addresses) and return the result.

Tests are missing and will come up once discussions around the spec and the
boxo pr have settled.
2025-10-16 10:59:42 +02:00
..
go-sleep vendor binary deps in test/dependencies 2015-09-10 18:09:12 -07:00
go-timeout fix govet warnings 2018-03-22 17:31:22 +01:00
iptb style: gofumpt and godot [skip changelog] (#10081) 2023-08-17 14:02:08 +02:00
ma-pipe-unidir style: gofumpt and godot [skip changelog] (#10081) 2023-08-17 14:02:08 +02:00
pollEndpoint chore: update test dependencies (#10555) 2024-10-21 17:07:53 -07:00
dependencies.go refactor(ci): optimize build workflows (#10973) 2025-09-19 14:44:38 +02:00
GNUmakefile fix: require gmake 2019-08-01 12:18:56 -07:00
go.mod corehttp/routing: wire GetClosestPeers() 2025-10-16 10:59:42 +02:00
go.sum corehttp/routing: wire GetClosestPeers() 2025-10-16 10:59:42 +02:00