Skip to content

kademlia: shrink public API of libp2p-kadΒ #3533

@thomaseizinger

Description

@thomaseizinger

Description

Currently, libp2p-kad has several public modules like handler that don't need to be public. This makes it much more likely that a change is breaking in practice despite likely being irrelevant to users. See #3504 for an example.

Implementation suggestion

We want to ship this as a non-breaking change, thus we should adopt a similar approach as done in #3238 where we first deprecate these modules with a note that they will be made private.

Are you planning to do it yourself in a pull request?

No.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions