kubo/test/cli/testutils
Hector Sanjuan 73ab037d1d
Some checks are pending
CodeQL / codeql (push) Waiting to run
Docker Check / lint (push) Waiting to run
Docker Check / build (push) Waiting to run
Gateway Conformance / gateway-conformance (push) Waiting to run
Gateway Conformance / gateway-conformance-libp2p-experiment (push) Waiting to run
Go Build / go-build (push) Waiting to run
Go Check / go-check (push) Waiting to run
Go Lint / go-lint (push) Waiting to run
Go Test / go-test (push) Waiting to run
Interop / interop-prep (push) Waiting to run
Interop / helia-interop (push) Blocked by required conditions
Interop / ipfs-webui (push) Blocked by required conditions
Sharness / sharness-test (push) Waiting to run
Spell Check / spellcheck (push) Waiting to run
feat: support GetClosesPeers (IPIP-476) and ExposeRoutingAPI by default (#10954)
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 WAN-DHT to get the closest peers. 

Additionally, Routing V1 HTTP API is exposed by default which enables light clients in browsers to use Kubo Gateway as delegated routing backend

Co-authored-by: Marcin Rataj <lidel@lidel.org>
2025-11-19 10:51:56 +00:00
..
httprouting feat: support GetClosesPeers (IPIP-476) and ExposeRoutingAPI by default (#10954) 2025-11-19 10:51:56 +00:00
pinningservice test: port remote pinning tests to Go (#9720) 2023-03-30 07:46:35 -04:00
asserts.go test: fix flaky rcmgr test 2023-03-15 22:45:56 -04:00
cids.go feat: add basic CLI tests using Go Test 2022-12-12 09:43:09 -05:00
files.go feat: port pins CLI test 2022-12-16 07:39:52 -05:00
floats.go feat: add deduplication ratio to 'ipfs dag stat' (#9787) 2023-06-06 15:17:45 +02:00
json.go feat: port pins CLI test 2022-12-16 07:39:52 -05:00
random_deterministic.go feat(config): ipfs add and Import options for controling UnixFS DAG Width (#10774) 2025-04-15 22:56:38 +02:00
requires.go refactor: remove goprocess (#10872) 2025-08-06 00:33:45 +02:00
strings.go chore: replace random test utils with equivalents in go-test/random (#10915) 2025-08-14 10:37:55 -07:00