-
Notifications
You must be signed in to change notification settings - Fork 57
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
chore: waku_discv5, peer_manager - add more logs help debug discovery issues #2705
Conversation
You can find the image built from this PR at
Built from 8af6b00 |
You can find the image built from this PR at
Built from 8af6b00 |
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.
LGTM! Thank you!
return | ||
|
||
if pm.peerStore[AddressBook][remotePeerInfo.peerId] == remotePeerInfo.addrs and | ||
pm.peerStore[KeyBook][remotePeerInfo.peerId] == remotePeerInfo.publicKey and | ||
pm.peerStore[ENRBook][remotePeerInfo.peerId].raw.len > 0: | ||
# Peer already managed and ENR info is already saved | ||
trace "peer already managed and ENR info is already saved", |
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.
Not related to this PR...but what if ENR has been updated, in that case do we update the ENR stored and peers capabilities locally?
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.
Not related to this PR...but what if ENR has been updated, in that case do we update the ENR stored and peers capabilities locally?
The local peer store only gets new entries when a new connections is established
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.
Ok, where is the ENR record stored for a peer? Is it part of peerStore or somewhere else?
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.
Thank you!
8a23162
to
ec6a75d
Compare
Description
Add more logs to help debugging
discoveryv5
issues