Commit Graph
6 Commits
Author SHA1 Message Date
Gabriel Cruz de87823523 feat: user-provided XPRs (#62) 2026-06-25 10:10:16 -03:00
Gabriel Cruz df6bb5c0f6 feat: add peerstore (#43) 2026-05-14 14:11:16 -03:00
Iuri Matias 4ecd506183 update to new api (#44)
update to new api

avoid SyncCtx
2026-05-07 15:34:51 -03:00
Iuri Matias 4e41ffb7a4 Update tests (#42)
* update module builder

* update tests
2026-05-07 09:01:35 -03:00
af85f0ea80 feat: add service discovery (#40)
* feat: add service discovery

- Point nim-libp2p to feat/service-disco/cbind branch
- Update include/libp2p.h with new cbind API (mount_service_discovery,
  all libp2p_service_disco_* functions)
- Add serviceDiscovery option to Libp2pModuleOptions
- Add discoStart/Stop, discoStartDiscovering, discoStopDiscovering,
  discoLookup, discoRandomLookup (async + sync) following the same
  pattern as kad/gossipsub/mix
- Add src/service_discovery.cpp, example, and integration tests

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* Update tests/integration_service_discovery.cpp

Co-authored-by: richΛrd <info@richardramos.me>

* Update include/libp2p.h

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update tests/integration_service_discovery.cpp

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* chore: add mountXXX options for mix, kad, service_disco and gossip

* fix: use header from nix pkg

* chore: bump nim-libp2p

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: richΛrd <info@richardramos.me>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-04-27 09:56:03 -03:00
Radosław Kamiński e02cfbacdc test: kad integration tests (#37)
* add test

* add test

* add test

* add test

* add test

* copilot code review

* Revert "add test"

This reverts commit b87b1ec209.

* add tests

* update flake

* update flake

* simplify test

* remove white space
2026-03-13 10:12:15 +00:00