Commit Graph
13 Commits
Author SHA1 Message Date
Gabriel Cruz de87823523 feat: user-provided XPRs (#62) 2026-06-25 10:10:16 -03:00
Gabriel Cruz 673b8e421b chore: extract mix bindings + bump logos-module-builder (#55) 2026-06-19 11:34:48 -03:00
Gabriel Cruz 0e9d9e2a69 feat(openmetrics): dummy collectMetrics + e2e harness (#49) 2026-06-12 10:20:35 -03:00
Radosław Kamiński f56c995ef5 chore(service-disco): rename startDiscovering to registerInterest (#46) 2026-05-11 13:21:44 -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 43f736b5ef refactor: introduce Libp2pModuleOptions struct and add config tests (#32) 2026-03-06 13:42:04 -03:00
Gabriel Cruz 9860a125bc feat: add gossipsub (#27) 2026-03-02 15:08:33 -03:00
Gabriel Cruz 38b08b94fe feat: add mix functions (#18) 2026-02-23 11:37:43 -03:00
Gabriel Cruz ea3f9ba2a9 feat(sync): result-like return types (#16) 2026-02-18 17:21:48 -03:00
Gabriel Cruz f67d70cc4e feat: stream functions (#15) 2026-02-18 16:38:02 -03:00
Gabriel Cruz 2f54936fe6 feat(kad): add integration tests (#13) 2026-02-18 12:04:18 -03:00