Skip to content

p2p: NetAddress can be invalid after construction #3782

@melekes

Description

@melekes

See #3754 (comment)

I think we should refactor the code so NetAddress is ether valid OR can't be created (i.e. NewNetAddressX returns an error). This should hopefully reduce the possible bugs surface.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C:p2pComponent: P2P pkgS:proposalStatus: Proposal

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions