Skip to content

Use Nethermind Kademlia package in libp2p - #200

Draft
flcl42 wants to merge 5 commits into
mainfrom
use-kad-in-libp2p
Draft

Use Nethermind Kademlia package in libp2p#200
flcl42 wants to merge 5 commits into
mainfrom
use-kad-in-libp2p

Conversation

@flcl42

@flcl42 flcl42 commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Summary

This replaces the copied Kad-DHT Kademlia core in libp2p with the shared Nethermind.Kademlia package built from current Nethermind master.

The libp2p-specific peer, key, storage, transport, and session adapters stay in this repository, while the generic routing table and lookup implementation move behind the package dependency.

Details

  • Adds repo-local package artifacts and NuGet sources so locked restores can resolve the rebuilt Kademlia dependency.
  • Updates Kad-DHT integration code to use the current Nethermind Kademlia API, including the lookup streaming surface.
  • Keeps the Kad-DHT project MIT-licensed and documents the separate LGPL package dependency.
  • Updates the transport-interop lock file for the refreshed dependency graph.
  • Keeps Windows solution builds from targeting MAUI Apple platforms while still allowing those targets on macOS.

Validation completed locally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants