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.
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 sameremoteIdto make sure that no weird error occurs if code that expects unique-ness of this.