-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Refactor DiscoveryBehaviour events in p2p #1065
Labels
Comments
We want to keep the |
xgreenx
pushed a commit
that referenced
this issue
Sep 25, 2023
Closes #1065 The idea being that we had the `DiscoveryEvent` that didn't serve any special purpose and wasn't being consumed anywhere. This simplifies `DiscoveryBehavior`. The issue also suggested: > Upon removing the Discovery test should be updated too. I'm not really sure what this test is for. The actual code uses `mdns` to identify new peer addresses, whereas the test bypasses this and does it manually on `UnroutablePeer` events. I don't understand the point of this.
crypto523
pushed a commit
to crypto523/fuel-core
that referenced
this issue
Oct 7, 2024
Closes FuelLabs/fuel-core#1065 The idea being that we had the `DiscoveryEvent` that didn't serve any special purpose and wasn't being consumed anywhere. This simplifies `DiscoveryBehavior`. The issue also suggested: > Upon removing the Discovery test should be updated too. I'm not really sure what this test is for. The actual code uses `mdns` to identify new peer addresses, whereas the test bypasses this and does it manually on `UnroutablePeer` events. I don't understand the point of this.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
At this moment there is no need for other Behaviours / Swarm to listen to internal Discovery events so they should be removed.
Upon removing the Discovery test should be updated too.
The text was updated successfully, but these errors were encountered: