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

fix(p2putil): print remote address #2331

Merged
merged 2 commits into from
Oct 30, 2024
Merged

fix(p2putil): print remote address #2331

merged 2 commits into from
Oct 30, 2024

Conversation

kc1116
Copy link
Contributor

@kc1116 kc1116 commented Oct 30, 2024

Print remote address in pex utility.

issue: none

require.NoError(t, err)

t.Logf("Peer %d: %s, %s", i, peer.NodeInfo.Moniker, addr)
t.Logf("Peer %d: %s, %s", i, peer.NodeInfo.Moniker, peer.RemoteIP)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also print peer.NodeInfo.ID() so we can find them in the logs by their ID

@kc1116 kc1116 changed the title fix: Print remote address not listening address in pex test fix(util): Print remote address Oct 30, 2024
@kc1116 kc1116 changed the title fix(util): Print remote address fix: Print remote address Oct 30, 2024
@kc1116 kc1116 changed the title fix: Print remote address fix(p2putil): Print remote address Oct 30, 2024
@kc1116 kc1116 changed the title fix(p2putil): Print remote address fix(p2putil): print remote address Oct 30, 2024
@kc1116 kc1116 enabled auto-merge (squash) October 30, 2024 14:57
@kc1116 kc1116 merged commit a715941 into main Oct 30, 2024
18 checks passed
@kc1116 kc1116 deleted the khalil/update-pextest-log branch October 30, 2024 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants