Skip to content

pex: message ergonomics #5899

@tac0turtle

Description

@tac0turtle

Summary

There are two messages in the Peer exchange reactor, PexRequest and PexAddrs. It is not very intuitive that PexAddrs is the response to PexRequest. We should change PexAddrs to PexResponse.

It may be better to change the name of both messages, AddrsRequest and AddrsResponse. This way it is easy to understand what the messages contain.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C:p2pComponent: P2P pkgS:proposalStatus: ProposalT:code-hygieneGeneral cleanup and restructuring of code to provide clarity, flexibility, and modularity.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions