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

p2p/discover: validate bond against lastpong, not db presence #16109

Merged
merged 2 commits into from
Feb 17, 2018

Conversation

karalabe
Copy link
Member

@karalabe karalabe commented Feb 16, 2018

Fix an issue where the discovery didn't reply to findnodes until the peer was 10 minutes old.

@karalabe karalabe added this to the 1.8.1 milestone Feb 16, 2018
@karalabe karalabe requested review from fjl and holiman February 16, 2018 15:06
I forgot to change the check in udp.go when I changed Table.bond to be
based on lastPong instead of node presence in db. Rename lastPong to
bondTime and add hasBond so it's clearer what this DB key is used for
now.
@karalabe karalabe merged commit 9fd76e3 into ethereum:master Feb 17, 2018
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.

2 participants