Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Answer with PEERS for GET_PEERS incoming message #28

Open
Arkweid opened this issue Aug 23, 2019 · 0 comments
Open

Answer with PEERS for GET_PEERS incoming message #28

Arkweid opened this issue Aug 23, 2019 · 0 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@Arkweid
Copy link

Arkweid commented Aug 23, 2019

If we receive GET_PEERS message we should answer with PEERS message.
It happens here: https://github.com/astroband/astrocore/blob/master/src/actors/overlay_manager.rs#L93
We store known peers in this struct:
https://github.com/astroband/astrocore/blob/master/src/overlay/overlay_manager.rs#L41-L46

@Arkweid Arkweid added help wanted Extra attention is needed good first issue Good for newcomers labels Aug 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant