Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Implement handshake protocol #67

Closed
Tracked by #1
matjazv opened this issue Feb 22, 2023 · 0 comments · Fixed by #78
Closed
Tracked by #1

Implement handshake protocol #67

matjazv opened this issue Feb 22, 2023 · 0 comments · Fixed by #78
Assignees
Milestone

Comments

@matjazv
Copy link
Contributor

matjazv commented Feb 22, 2023

Description

When establishing a new connection with a peer, a connection must be accepted only if some conditions are true:

  • chainID
  • networkVersion

A peer should also send info if it's addresses can be advertised to other peers in the network or not.

  • advertiseAddress

Acceptance Criteria

  • Only valid connections from other peers are accepted.
  • If peer sets advertiseAddress to false it's address is not passed to the other peers.
  • All new code is unit tested.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants