Skip to content

Add rejection of second peer with same id. #32

Description

@martinheidegger

opts.id - whether generated or passed-in - has the potential to be the same between two given peers. If two peers connect it would be good that the handshake would be rejected for the second peer with the same remoteId to make sure that no weird error occurs if code that expects unique-ness of this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions