-
Notifications
You must be signed in to change notification settings - Fork 1k
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
feat(dcutr): add ConnectionId
to upgrade success/failed events
#4558
feat(dcutr): add ConnectionId
to upgrade success/failed events
#4558
Conversation
ConnectionId
to Event::DirectConnectionUpgrade{Succeeded,Failed}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Can we expend the test to assert that this is definitely the direct connection? We should be able to do that by recording the address from SwarmEvent::ConnetionEstablished
and checking that it is not a relayed address.
Co-authored-by: Thomas Eizinger <thomas@eizinger.io>
…ust-libp2p into refactor/dcutr-connection-id
ConnectionId
to Event::DirectConnectionUpgrade{Succeeded,Failed}
ConnectionId
to upgrade success/failed events
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing test. Otherwise looks good to me. Thanks.
This pull request has merge conflicts. Could you please resolve them @dariusc93? 🙏 |
This pull request has merge conflicts. Could you please resolve them @dariusc93? 🙏 |
This pull request has merge conflicts. Could you please resolve them @dariusc93? 🙏 |
Description
Resolves #4519.
Change checklist