Skip to content

p2p: improve separation of concerns between addrbook/pex/switch  #1325

@ebuchman

Description

@ebuchman

There is some confusion as to the relative roles of the addrbook, pex, and switch. We should review the codebase and see if we can improve the separation of concerns. Might also need to consider peer and mconn in the mix.

In particular, there are a bunch of options that complicate certain logic, like toggling the pex or the auth_enc. We want some things to work regardless of these toggles.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C:p2pComponent: P2P pkg

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions