Skip to content

Add client/server mode support to Kademlia DHT #387

@dmitry-markin

Description

@dmitry-markin

Add client/server Kademlia DHT mode separation. Nodes running as clients are not added to the routing tables of the server nodes, and records/providers are not published to them. This improves Kademlia health in networks with nodes running behind NATs/firewalls without an accessible p2p port by not trying to reach such nodes during Kademlia operation.

libp2p spec: https://github.com/libp2p/specs/blob/master/kad-dht/README.md#client-and-server-mode

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions