Skip to content

P2P Refactor #2067

@xla

Description

@xla

In its current implementation the separation of concerns betweeen different components (AddrBook, Peer, PEX, Switch) is not solid, for reference see #1325, #1356. This comes at no surprise as this is one of the oldest packages in the codebase with almost 4 years of history. Over time different requirements have been tried to fit in and the scope of the package expanded, especially given its center role in the entire codebase. Additionally, a range of potential security issues surfaced (#2046, #2047) through external audits which could be addressed with structural changes and better separation.

In here we track the progress of the P2P improvements and try to gather all relevant issues, designs and docs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C:docsComponent: DocumentationC:p2pComponent: P2P pkgT:designType: Design work is neededT:enhancementType: EnhancementT:observabilityType: Observability

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions